public class RangeFacetsExample extends Object implements 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(String[] args)
Runs the search and drill-down examples and prints the results.
|
FacetResult |
search()
User runs a query and counts facets.
|
public RangeFacetsExample()
public void index() throws IOException
IOException
public FacetResult search() throws IOException
IOException
public TopDocs drillDown(LongRange range) throws IOException
IOException
public DrillSideways.DrillSidewaysResult drillSideways(LongRange range) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.