Class Hits

  • All Implemented Interfaces:
    Iterator<Hit>

    public class Hits
    extends Object
    implements Iterator<Hit>
    Iterator on the collection of hits, plus some statistical informations about the query. Attention: each hit's data is lazy loaded.
    Since:
    6.5
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • Hits

        public Hits()
      • Hits

        public Hits​(org.apache.solr.client.solrj.response.QueryResponse rsp)
    • Method Detail

      • getEstimatedCount

        public long getEstimatedCount()
      • getElapsedTime

        public long getElapsedTime()
      • getCount

        public long getCount()
      • toHit

        public static Hit toHit​(org.apache.solr.common.SolrDocument sdoc)