org.apache.lucene.demo.facet

## Class AssociationsFacetsExample

- java.lang.Object
- - org.apache.lucene.demo.facet.AssociationsFacetsExample

-     public class AssociationsFacetsExample
      extends Object

  Shows example usage of category associations.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AssociationsFacetsExample()` Empty constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)` Runs the sum int/float associations examples and prints the results.
    `FacetResult` | `runDrillDown()` Runs the drill-down example.
    `List<FacetResult>` | `runSumAssociations()` Runs summing association example.

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### AssociationsFacetsExample

          public AssociationsFacetsExample()

      Empty constructor

  - ### Method Detail

    - #### runSumAssociations

          public List<FacetResult> runSumAssociations()
                                               throws IOException

      Runs summing association example.
      Throws:
        `IOException`

    - #### runDrillDown

          public FacetResult runDrillDown()
                                   throws IOException

      Runs the drill-down example.
      Throws:
        `IOException`

    - #### main

          public static void main(String[] args)
                           throws Exception

      Runs the sum int/float associations examples and prints the results.
      Throws:
        `Exception`

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