| Package | Description |
|---|---|
| org.apache.lucene.demo.facet |
Facets example code.
|
| org.apache.lucene.facet.range |
Provides range faceting capabilities.
|
| Modifier and Type | Method and Description |
|---|---|
TopDocs |
RangeFacetsExample.drillDown(LongRange range)
User drills down on the specified range.
|
DrillSideways.DrillSidewaysResult |
RangeFacetsExample.drillSideways(LongRange range)
User drills down on the specified range, and also computes drill sideways counts.
|
| Constructor and Description |
|---|
LongRangeFacetCounts(java.lang.String field,
FacetsCollector hits,
LongRange... ranges)
Create
LongRangeFacetCounts, using LongValuesSource from the specified field. |
LongRangeFacetCounts(java.lang.String field,
LongValuesSource valueSource,
FacetsCollector hits,
LongRange... ranges)
Create
LongRangeFacetCounts, using the provided
LongValuesSource. |
LongRangeFacetCounts(java.lang.String field,
LongValuesSource valueSource,
FacetsCollector hits,
Query fastMatchQuery,
LongRange... ranges)
Create
LongRangeFacetCounts, using the provided
LongValuesSource, and using the provided Filter as
a fastmatch: only documents passing the filter are
checked for the matching ranges, which is helpful when
the provided LongValuesSource is costly per-document,
such as a geo distance. |
Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.