Class DfsSearchResult

All Implemented Interfaces:
Writeable, RefCounted

public class DfsSearchResult extends SearchPhaseResult
  • Constructor Details

  • Method Details

    • maxDoc

      public DfsSearchResult maxDoc(int maxDoc)
    • maxDoc

      public int maxDoc()
    • termsStatistics

      public DfsSearchResult termsStatistics(org.apache.lucene.index.Term[] terms, org.apache.lucene.search.TermStatistics[] termStatistics)
    • fieldStatistics

      public DfsSearchResult fieldStatistics(com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics)
    • terms

      public org.apache.lucene.index.Term[] terms()
    • termStatistics

      public org.apache.lucene.search.TermStatistics[] termStatistics()
    • fieldStatistics

      public com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class SearchPhaseResult
      Throws:
      IOException
    • writeFieldStats

      public static void writeFieldStats(StreamOutput out, com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) throws IOException
      Throws:
      IOException
    • writeTermStats

      public static void writeTermStats(StreamOutput out, org.apache.lucene.search.TermStatistics[] termStatistics) throws IOException
      Throws:
      IOException
    • writeSingleTermStats

      public static void writeSingleTermStats(StreamOutput out, org.apache.lucene.search.TermStatistics termStatistic) throws IOException
      Throws:
      IOException
    • addOne

      public static long addOne(long value)
    • subOne

      public static long subOne(long value)