Package org.apache.solr.response
Class BasicResultContext
java.lang.Object
org.apache.solr.response.ResultContext
org.apache.solr.response.BasicResultContext
-
Field Summary
Fields inherited from class org.apache.solr.response.ResultContext
READASBYTES -
Constructor Summary
ConstructorsConstructorDescriptionBasicResultContext(ResponseBuilder rb, DocList docList) BasicResultContext(DocList docList, ReturnFields returnFields, SolrIndexSearcher searcher, org.apache.lucene.search.Query query, SolrQueryRequest req) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.QuerygetQuery()Note: do not use the request to get the searcher! A cross-core request may have a different searcher (for the other core) than the original request.Methods inherited from class org.apache.solr.response.ResultContext
getDocFetcher, getProcessedDocuments, wantsScores
-
Constructor Details
-
BasicResultContext
public BasicResultContext(DocList docList, ReturnFields returnFields, SolrIndexSearcher searcher, org.apache.lucene.search.Query query, SolrQueryRequest req) -
BasicResultContext
-
BasicResultContext
-
-
Method Details
-
getDocList
- Specified by:
getDocListin classResultContext
-
getReturnFields
- Specified by:
getReturnFieldsin classResultContext
-
getSearcher
- Specified by:
getSearcherin classResultContext
-
getQuery
public org.apache.lucene.search.Query getQuery()- Specified by:
getQueryin classResultContext
-
getRequest
Description copied from class:ResultContextNote: do not use the request to get the searcher! A cross-core request may have a different searcher (for the other core) than the original request.- Specified by:
getRequestin classResultContext
-