Class SolrDocumentList

All Implemented Interfaces:
Serializable, Cloneable, Iterable<SolrDocument>, Collection<SolrDocument>, List<SolrDocument>, RandomAccess, MapSerializable, MapWriter, NavigableObject, org.noggit.JSONWriter.Writable

public class SolrDocumentList extends ArrayList<SolrDocument> implements MapWriter
Represent a list of SolrDocuments returned from a search. This includes position and offset information.
Since:
solr 1.3
See Also:
  • Constructor Details

    • SolrDocumentList

      public SolrDocumentList()
  • Method Details

    • writeMap

      public void writeMap(MapWriter.EntryWriter ew) throws IOException
      Description copied from interface: MapWriter
      Writes this object's entries out to ew.
      Specified by:
      writeMap in interface MapWriter
      Throws:
      IOException
    • getNumFoundExact

      public Boolean getNumFoundExact()
    • setNumFoundExact

      public void setNumFoundExact(Boolean numFoundExact)
    • getMaxScore

      public Float getMaxScore()
    • setMaxScore

      public void setMaxScore(Float maxScore)
    • getNumFound

      public long getNumFound()
    • setNumFound

      public void setNumFound(long numFound)
    • getStart

      public long getStart()
    • setStart

      public void setStart(long start)
    • toString

      public String toString()
      Overrides:
      toString in class AbstractCollection<SolrDocument>