Class CountFacetRecorder.CountLeafFacetRecorder

java.lang.Object
org.apache.lucene.sandbox.facet.recorders.CountFacetRecorder.CountLeafFacetRecorder
All Implemented Interfaces:
LeafFacetRecorder
Enclosing class:
CountFacetRecorder

private static class CountFacetRecorder.CountLeafFacetRecorder extends Object implements LeafFacetRecorder
  • Field Details

  • Constructor Details

    • CountLeafFacetRecorder

      public CountLeafFacetRecorder(IntIntHashMap values)
  • Method Details

    • record

      public void record(int docId, int facetOrd)
      Description copied from interface: LeafFacetRecorder
      TODO: Rename: collect? accumulate?
      Specified by:
      record in interface LeafFacetRecorder
      Parameters:
      docId - document ID
      facetOrd - facet ordinal