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
ScoredDocIDs
iterator
in interface ScoredDocIDs
IOException
public DocIdSet getDocIDs()
ScoredDocIDs
getDocIDs
in interface ScoredDocIDs
public int size()
ScoredDocIDs
size
in interface ScoredDocIDs
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.