Package org.apache.lucene.demo.facet
Class SandboxFacetsExample
- java.lang.Object
-
- org.apache.lucene.demo.facet.SandboxFacetsExample
-
public class SandboxFacetsExample extends Object
Demo for sandbox faceting.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Runs the search and drill-down examples and prints the results.FacetResult
runDrillDown()
Runs the drill-down example.List<FacetResult>
runDrillSideways()
Runs the drill-sideways example.List<FacetResult>
runFacetOnly()
Runs the search example.List<FacetResult>
runNonOverlappingRangesAggregationFacets()
Runs the example of collecting long aggregations for non overlapping range facets.List<FacetResult>
runNonOverlappingRangesCountFacetsOnly()
Runs the example of non overlapping range facetsList<FacetResult>
runOverlappingRangesCountFacetsOnly()
Runs the example of overlapping range facetsList<FacetResult>
runSearch()
Runs the search example.
-
-
-
Method Detail
-
runFacetOnly
public List<FacetResult> runFacetOnly() throws IOException
Runs the search example.- Throws:
IOException
-
runSearch
public List<FacetResult> runSearch() throws IOException
Runs the search example.- Throws:
IOException
-
runDrillDown
public FacetResult runDrillDown() throws IOException
Runs the drill-down example.- Throws:
IOException
-
runDrillSideways
public List<FacetResult> runDrillSideways() throws IOException
Runs the drill-sideways example.- Throws:
IOException
-
runNonOverlappingRangesCountFacetsOnly
public List<FacetResult> runNonOverlappingRangesCountFacetsOnly() throws IOException
Runs the example of non overlapping range facets- Throws:
IOException
-
runOverlappingRangesCountFacetsOnly
public List<FacetResult> runOverlappingRangesCountFacetsOnly() throws IOException
Runs the example of overlapping range facets- Throws:
IOException
-
runNonOverlappingRangesAggregationFacets
public List<FacetResult> runNonOverlappingRangesAggregationFacets() throws IOException
Runs the example of collecting long aggregations for non overlapping range facets.- Throws:
IOException
-
-