Package org.apache.lucene.facet.search
Interface ScoredDocIDs
-
public interface ScoredDocIDsDocument IDs with scores for each, driving facets accumulation. Document scores are optionally used in the process of facets scoring.- See Also:
FacetsAccumulator.accumulate(ScoredDocIDs)- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocIdSetgetDocIDs()Returns the set of doc IDs.ScoredDocIDsIteratoriterator()Returns an iterator over the document IDs and their scores.intsize()Returns the number of scored documents.
-
-
-
Method Detail
-
iterator
ScoredDocIDsIterator iterator() throws IOException
Returns an iterator over the document IDs and their scores.- Throws:
IOException
-
getDocIDs
DocIdSet getDocIDs()
Returns the set of doc IDs.
-
size
int size()
Returns the number of scored documents.
-
-