public class RangeFacetsExample
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
RangeFacetsExample()
Empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
TopDocs |
drillDown(LongRange range)
User drills down on the specified range.
|
DrillSideways.DrillSidewaysResult |
drillSideways(LongRange range)
User drills down on the specified range, and also computes drill sideways counts.
|
void |
index()
Build the example index.
|
static void |
main(java.lang.String[] args)
Runs the search and drill-down examples and prints the results.
|
FacetResult |
search()
User runs a query and counts facets.
|
public void index()
throws java.io.IOException
java.io.IOExceptionpublic FacetResult search() throws java.io.IOException
java.io.IOExceptionpublic TopDocs drillDown(LongRange range) throws java.io.IOException
java.io.IOExceptionpublic DrillSideways.DrillSidewaysResult drillSideways(LongRange range) throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.