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 Details

  • Constructor Details

    • ResultContext

      public ResultContext()
  • Method Details

    • getDocList

      public abstract DocList getDocList()
    • getReturnFields

      public abstract ReturnFields getReturnFields()
    • getSearcher

      public abstract SolrIndexSearcher getSearcher()
    • getDocFetcher

      public SolrDocumentFetcher getDocFetcher()
    • getQuery

      public abstract org.apache.lucene.search.Query getQuery()
    • getRequest

      public 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.
    • wantsScores

      public boolean wantsScores()
    • getProcessedDocuments

      public Iterator<org.apache.solr.common.SolrDocument> getProcessedDocuments()