Interface SearchResultDocumentList
-
- All Superinterfaces:
Iterable<SearchResultDocument>
- All Known Implementing Classes:
SolrSearchResultDocumentList
public interface SearchResultDocumentList extends Iterable<SearchResultDocument>
A collection of results that are returned from a query.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResultDocumentget(int i)Retrieve the i'th document, starting with 0.longgetNumFound()The number of documents that would satisfy the queryintsize()The number of documents that are included in this result.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
getNumFound
long getNumFound()
The number of documents that would satisfy the query
-
size
int size()
The number of documents that are included in this result.
-
get
SearchResultDocument get(int i)
Retrieve the i'th document, starting with 0.- Throws:
ArrayIndexOutOfBoundsException
-
-