Package org.apache.lucene.demo.facet
Class MultiCategoryListsFacetsExample
- java.lang.Object
-
- org.apache.lucene.demo.facet.MultiCategoryListsFacetsExample
-
public class MultiCategoryListsFacetsExample extends Object
Demonstrates indexing categories into different indexed fields.
-
-
Constructor Summary
Constructors Constructor Description MultiCategoryListsFacetsExample()
Creates a new instance and populates the category list params mapping.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Runs the search example and prints the results.List<FacetResult>
runSearch()
Runs the search example.
-
-
-
Constructor Detail
-
MultiCategoryListsFacetsExample
public MultiCategoryListsFacetsExample()
Creates a new instance and populates the category list params mapping.
-
-
Method Detail
-
runSearch
public List<FacetResult> runSearch() throws IOException
Runs the search example.- Throws:
IOException
-
-