public class SolrSearchResultDocumentList extends Object implements SearchResultDocumentList
| Constructor and Description |
|---|
SolrSearchResultDocumentList(org.apache.solr.common.SolrDocumentList solrDocs) |
| Modifier and Type | Method and Description |
|---|---|
SearchResultDocument |
get(int i)
Retrieve the i'th document, starting with 0.
|
long |
getNumFound()
The number of documents that would satisfy the query
|
Iterator<SearchResultDocument> |
iterator() |
int |
size()
The number of documents that are included in this result.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SolrSearchResultDocumentList(org.apache.solr.common.SolrDocumentList solrDocs)
public Iterator<SearchResultDocument> iterator()
iterator in interface Iterable<SearchResultDocument>public long getNumFound()
SearchResultDocumentListgetNumFound in interface SearchResultDocumentListpublic int size()
SearchResultDocumentListsize in interface SearchResultDocumentListpublic SearchResultDocument get(int i)
SearchResultDocumentListget in interface SearchResultDocumentListCopyright © 2022. All rights reserved.