Class RangeFacetsExample

java.lang.Object
org.apache.lucene.demo.facet.RangeFacetsExample
All Implemented Interfaces:
Closeable, AutoCloseable

public class RangeFacetsExample extends Object implements Closeable
Shows simple usage of dynamic range faceting.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.apache.lucene.search.TopDocs
    drillDown(org.apache.lucene.facet.range.LongRange range)
    User drills down on the specified range.
    org.apache.lucene.facet.DrillSideways.DrillSidewaysResult
    drillSideways(org.apache.lucene.facet.range.LongRange range)
    User drills down on the specified range, and also computes drill sideways counts.
    void
    Build the example index.
    static void
    main(String[] args)
    Runs the search and drill-down examples and prints the results.
    org.apache.lucene.facet.FacetResult
    User runs a query and counts facets.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait