Package org.apache.solr.response
Class ResultContext
- java.lang.Object
- 
- org.apache.solr.response.ResultContext
 
- 
- Direct Known Subclasses:
- BasicResultContext
 
 public abstract class ResultContext extends Object A class to hold the QueryResult and the Query
- 
- 
Field SummaryFields Modifier and Type Field Description static ThreadLocal<Predicate<String>>READASBYTES
 - 
Constructor SummaryConstructors Constructor Description ResultContext()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DocListgetDocList()Iterator<SolrDocument>getProcessedDocuments()abstract org.apache.lucene.search.QuerygetQuery()abstract SolrQueryRequestgetRequest()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.abstract ReturnFieldsgetReturnFields()abstract SolrIndexSearchergetSearcher()booleanwantsScores()
 
- 
- 
- 
Field Detail- 
READASBYTESpublic static final ThreadLocal<Predicate<String>> READASBYTES 
 
- 
 - 
Method Detail- 
getDocListpublic abstract DocList getDocList() 
 - 
getReturnFieldspublic abstract ReturnFields getReturnFields() 
 - 
getSearcherpublic abstract SolrIndexSearcher getSearcher() 
 - 
getQuerypublic abstract org.apache.lucene.search.Query getQuery() 
 - 
getRequestpublic abstract SolrQueryRequest getRequest() 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.
 - 
wantsScorespublic boolean wantsScores() 
 - 
getProcessedDocumentspublic Iterator<SolrDocument> getProcessedDocuments() 
 
- 
 
-