Class FieldCacheCollector
java.lang.Object
org.apache.lucene.search.Collector
org.hibernate.search.query.collector.FieldCacheCollector
- Direct Known Subclasses:
TwoWayTransformingFieldCacheCollector
Because Lucene's Collector is not an interface, we have to create extensions of it.
All our implementations need a
getValue(int), so we need an
abstract superclass defining it.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanabstract voidcollect(int doc) abstract ObjectgetValue(int docId) abstract voidsetNextReader(IndexReader reader, int docBase) final void
-
Field Details
-
delegate
-
-
Constructor Details
-
FieldCacheCollector
-
-
Method Details
-
setScorer
- Specified by:
setScorerin classCollector- Throws:
IOException
-
acceptsDocsOutOfOrder
public final boolean acceptsDocsOutOfOrder()- Specified by:
acceptsDocsOutOfOrderin classCollector
-
collect
- Specified by:
collectin classCollector- Throws:
IOException
-
setNextReader
- Specified by:
setNextReaderin classCollector- Throws:
IOException
-
getValue
-