Package org.apache.lucene.demo.facet
Class SimpleSortedSetFacetsExample
- java.lang.Object
-
- org.apache.lucene.demo.facet.SimpleSortedSetFacetsExample
-
public class SimpleSortedSetFacetsExample extends Object
Shows simple usage of faceted indexing and search, usingSortedSetDocValuesFacetFieldandSortedSetDocValuesFacetCounts.
-
-
Constructor Summary
Constructors Constructor Description SimpleSortedSetFacetsExample()Empty constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Runs the search and drill-down examples and prints the results.FacetResultrunDrillDown()Runs the drill-down example.List<FacetResult>runSearch()Runs the search example.
-
-
-
Constructor Detail
-
SimpleSortedSetFacetsExample
public SimpleSortedSetFacetsExample()
Empty constructor
-
-
Method Detail
-
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
-
-