Class ScoreDoc
Holds one hit in TopDocs.
Inheritance
System.Object
ScoreDoc
Assembly: DistributedLucene.Net.dll
Syntax
public class ScoreDoc : IComparable
Constructors
Name | Description |
---|---|
ScoreDoc() | for serialization of child classes |
ScoreDoc(Int32, Single) | Constructs a ScoreDoc. |
ScoreDoc(Int32, Single, Int32) | Constructs a ScoreDoc. |
Properties
Name | Description |
---|---|
Doc | A hit document's number. |
Score | The score of this document for the query. |
ShardIndex | Only set by Merge(Sort, Int32, Int32, TopDocs[]) |
Methods
Name | Description |
---|---|
CompareTo(Object) | |
ToString() | A convenience method for debugging. |