public class BasicResultContext extends ResultContext
Constructor and Description |
---|
BasicResultContext(DocList docList,
ReturnFields returnFields,
SolrIndexSearcher searcher,
Query query,
SolrQueryRequest req) |
BasicResultContext(ResponseBuilder rb) |
BasicResultContext(ResponseBuilder rb,
DocList docList) |
Modifier and Type | Method and Description |
---|---|
DocList |
getDocList() |
Query |
getQuery() |
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.
|
ReturnFields |
getReturnFields() |
SolrIndexSearcher |
getSearcher() |
getProcessedDocuments, wantsScores
public BasicResultContext(DocList docList, ReturnFields returnFields, SolrIndexSearcher searcher, Query query, SolrQueryRequest req)
public BasicResultContext(ResponseBuilder rb)
public BasicResultContext(ResponseBuilder rb, DocList docList)
public DocList getDocList()
getDocList
in class ResultContext
public ReturnFields getReturnFields()
getReturnFields
in class ResultContext
public SolrIndexSearcher getSearcher()
getSearcher
in class ResultContext
public Query getQuery()
getQuery
in class ResultContext
public SolrQueryRequest getRequest()
ResultContext
getRequest
in class ResultContext
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.