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.IOException
public FacetResult search() throws java.io.IOException
java.io.IOException
public TopDocs drillDown(LongRange range) throws java.io.IOException
java.io.IOException
public DrillSideways.DrillSidewaysResult drillSideways(LongRange range) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.