org.apache.lucene.facet.taxonomy
Class TaxonomyFacetSumValueSource.ScoreValueSource
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.lucene.facet.taxonomy.TaxonomyFacetSumValueSource.ScoreValueSource
- Enclosing class:
- TaxonomyFacetSumValueSource
public static class TaxonomyFacetSumValueSource.ScoreValueSource
- extends ValueSource
ValueSource
that returns the score for each
hit; use this to aggregate the sum of all hit scores
for each facet label.
TaxonomyFacetSumValueSource.ScoreValueSource
public TaxonomyFacetSumValueSource.ScoreValueSource()
- Sole constructor.
getValues
public FunctionValues getValues(Map context,
AtomicReaderContext readerContext)
throws IOException
- Specified by:
getValues
in class ValueSource
- Throws:
IOException
equals
public boolean equals(Object o)
- Specified by:
equals
in class ValueSource
hashCode
public int hashCode()
- Specified by:
hashCode
in class ValueSource
description
public String description()
- Specified by:
description
in class ValueSource
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.