Interface CollectorKey<C extends org.apache.lucene.search.Collector>

  • Type Parameters:
    C - The type of collector.
    All Known Subinterfaces:
    TopDocsDataCollector.Factory<T>

    public interface CollectorKey<C extends org.apache.lucene.search.Collector>
    Tagging interface for collector keys.

    This is used for de-duplication of collectors, to avoid collecting the same data twice during the same search.

    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static <C extends org.apache.lucene.search.Collector>
      CollectorKey<C>
      create()  
    • Method Detail

      • create

        static <C extends org.apache.lucene.search.Collector> CollectorKey<C> create()