Package org.apache.lucene.sandbox.facet.iterators
package org.apache.lucene.sandbox.facet.iterators
Sandbox faceting: facet ordinals.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
ClassDescription
OrdinalIteratorthat filters out ordinals from delegate if they are not in the candidate set.ComparableSupplier<T extends Comparable<T>>GeneratesComparablefor provided ordinal.OrdinalIteratorpasses through all ordinals as is and counts them.Iterate over ordinals.Facets results selector to get children for selected parent.TopnOrdinalIterator<T extends Comparable<T>>Class that consumes incoming ordinals, sorts them by provided Comparable, and returns first top N ordinals only.