Documentation of 'org.apache.lucene.search.ScoreDoc' Java class
ScoreDoc
org.apache.lucene.search

Class ScoreDoc

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    FieldDoc


    public class ScoreDoc
    extends java.lang.Object
    implements java.io.Serializable
    Expert: Returned by low-level search implementations.
    See Also:
    TopDocs, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      int doc
      Expert: A hit document's number.
      float score
      Expert: The score of this document for the query.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ScoreDoc(int doc, float score)
      Expert: Constructs a ScoreDoc.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • score

        public float score
        Expert: The score of this document for the query.
    • Constructor Detail

      • ScoreDoc

        public ScoreDoc(int doc,
                        float score)
        Expert: Constructs a ScoreDoc.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.