Package org.hibernate.search.query.collector
package org.hibernate.search.query.collector
This package contains custom Lucene Collector implementations.
-
ClassesClassDescriptionA custom
Collectorused for handling facet requests.Because Lucene's Collector is not an interface, we have to create extensions of it.Every search needs a fresh instance of a Collector, still for each field the same name and type are going to be used.Wraps a FieldCacheCollector in such a way thatTwoWayTransformingFieldCacheCollector.getValue(int)returns objects as transformed by aTwoWayStringBridgeto transform from String form to the object.