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.
|
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 void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.