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.
|
List<FacetResult> |
search()
User runs a query and counts facets.
|
public RangeFacetsExample()
public void index() throws IOException
IOException
public List<FacetResult> search() throws IOException
IOException
public TopDocs drillDown(LongRange range) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.