Class ResultContext

  • Direct Known Subclasses:
    BasicResultContext

    public abstract class ResultContext
    extends Object
    A class to hold the QueryResult and the Query
    • Constructor Detail

      • ResultContext

        public ResultContext()
    • Method Detail

      • getDocList

        public abstract DocList getDocList()
      • getReturnFields

        public abstract ReturnFields getReturnFields()
      • 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()