|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.demo.facet.SimpleSortedSetFacetsExample
public class SimpleSortedSetFacetsExample
Shows simple usage of faceted indexing and search,
using SortedSetDocValuesFacetField
and SortedSetDocValuesFacetCounts
.
Constructor Summary | |
---|---|
SimpleSortedSetFacetsExample()
Empty constructor |
Method Summary | |
---|---|
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> |
runSearch()
Runs the search example. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSortedSetFacetsExample()
Method Detail |
---|
public List<FacetResult> runSearch() throws IOException
IOException
public FacetResult runDrillDown() throws IOException
IOException
public static void main(String[] args) throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |