org.apache.lucene.demo.facet
Class SimpleFacetsExample

java.lang.Object
  extended by org.apache.lucene.demo.facet.SimpleFacetsExample

public class SimpleFacetsExample
extends Object

Shows simple usage of faceted indexing and search.


Constructor Summary
SimpleFacetsExample()
          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> runDrillSideways()
          Runs the drill-sideways 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

SimpleFacetsExample

public SimpleFacetsExample()
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

runDrillSideways

public List<FacetResult> runDrillSideways()
                                   throws IOException
Runs the drill-sideways example.

Throws:
IOException

main

public static void main(String[] args)
                 throws Exception
Runs the search and drill-down examples and prints the results.

Throws:
Exception


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.