org.apache.lucene.facet.old
public class MatchingDocsAsScoredDocIDs extends Object implements ScoredDocIDs
FacetsCollector.MatchingDocs as ScoredDocIDs.| Constructor and Description |
|---|
MatchingDocsAsScoredDocIDs(List<FacetsCollector.MatchingDocs> matchingDocs) |
| Modifier and Type | Method and Description |
|---|---|
DocIdSet |
getDocIDs()
Returns the set of doc IDs.
|
ScoredDocIDsIterator |
iterator()
Returns an iterator over the document IDs and their scores.
|
int |
size()
Returns the number of scored documents.
|
public MatchingDocsAsScoredDocIDs(List<FacetsCollector.MatchingDocs> matchingDocs)
public ScoredDocIDsIterator iterator() throws IOException
ScoredDocIDsiterator in interface ScoredDocIDsIOExceptionpublic DocIdSet getDocIDs()
ScoredDocIDsgetDocIDs in interface ScoredDocIDspublic int size()
ScoredDocIDssize in interface ScoredDocIDsCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.