Package org.apache.solr.search.facet
Class UniqueAgg
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.solr.search.facet.AggValueSource
-
- org.apache.solr.search.facet.StrAggValueSource
-
- org.apache.solr.search.facet.UniqueAgg
-
- Direct Known Subclasses:
UniqueBlockAgg
public class UniqueAgg extends StrAggValueSource
-
-
Field Summary
Fields Modifier and Type Field Description static String
UNIQUE
-
Fields inherited from class org.apache.solr.search.facet.StrAggValueSource
arg
-
Fields inherited from class org.apache.solr.search.facet.AggValueSource
name
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacetMerger
createFacetMerger(Object prototype)
SlotAcc
createSlotAcc(FacetContext fcontext, long numDocs, int numSlots)
-
Methods inherited from class org.apache.solr.search.facet.StrAggValueSource
description, equals, getArg, hashCode
-
Methods inherited from class org.apache.solr.search.facet.AggValueSource
getChildren, getValues, name
-
-
-
-
Field Detail
-
UNIQUE
public static final String UNIQUE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UniqueAgg
public UniqueAgg(String field)
-
-
Method Detail
-
createSlotAcc
public SlotAcc createSlotAcc(FacetContext fcontext, long numDocs, int numSlots) throws IOException
- Overrides:
createSlotAcc
in classAggValueSource
- Throws:
IOException
-
createFacetMerger
public FacetMerger createFacetMerger(Object prototype)
- Specified by:
createFacetMerger
in classAggValueSource
-
-