Package org.apache.lucene.demo.facet
Class CustomFacetSetExample.TemperatureOnlyFacetSetMatcher
java.lang.Object
org.apache.lucene.facet.facetset.FacetSetMatcher
org.apache.lucene.demo.facet.CustomFacetSetExample.TemperatureOnlyFacetSetMatcher
- Enclosing class:
- CustomFacetSetExample
public static class CustomFacetSetExample.TemperatureOnlyFacetSetMatcher
extends org.apache.lucene.facet.facetset.FacetSetMatcher
A
FacetSetMatcher which matches facet sets only by their temperature dimension,
ignoring the date.-
Field Summary
Fields inherited from class org.apache.lucene.facet.facetset.FacetSetMatcher
dims, label -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTemperatureOnlyFacetSetMatcher(String label, org.apache.lucene.facet.facetset.DimRange temperatureRange) Constructor -
Method Summary
-
Constructor Details
-
TemperatureOnlyFacetSetMatcher
protected TemperatureOnlyFacetSetMatcher(String label, org.apache.lucene.facet.facetset.DimRange temperatureRange) Constructor
-
-
Method Details
-
matches
- Specified by:
matchesin classorg.apache.lucene.facet.facetset.FacetSetMatcher
-