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

Type Parameters:
C - The type of collector.
T - The type of the results produced after merging multiple collectors via CollectorManager.reduce(Collection)
All Known Subinterfaces:
TopDocsDataCollector.Factory<T>

public interface CollectorKey<C extends org.apache.lucene.search.Collector,T>
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, T>
    CollectorKey<C,T>
     
  • Method Details

    • create

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