org.apache.lucene.facet.associations
Class SumFloatAssociationFacetRequest
java.lang.Object
org.apache.lucene.facet.search.FacetRequest
org.apache.lucene.facet.associations.SumFloatAssociationFacetRequest
public class SumFloatAssociationFacetRequest
- extends FacetRequest
A FacetRequest for weighting facets according to their float
association by summing the association values.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
| Methods inherited from class org.apache.lucene.facet.search.FacetRequest |
equals, getDepth, getNumLabel, getResultMode, getSortOrder, hashCode, setDepth, setNumLabel, setResultMode, setSortOrder, toString |
SumFloatAssociationFacetRequest
public SumFloatAssociationFacetRequest(CategoryPath path,
int num)
- Create a float association facet request for a given node in the
taxonomy.
createFacetsAggregator
public FacetsAggregator createFacetsAggregator(FacetIndexingParams fip)
- Description copied from class:
FacetRequest
- Returns the
FacetsAggregator which can aggregate the categories of
this facet request. The aggregator is expected to aggregate category values
into FacetArrays. If the facet request does not support that, e.g.
RangeFacetRequest, it can return null. Note though that
such requests require a dedicated FacetsAccumulator.
- Specified by:
createFacetsAggregator in class FacetRequest
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.