Expert: A ScoreDoc which also contains information about how to sort the referenced document. In addition to the document number and score, this object contains an array of values for the document from the field(s) used to sort. For example, if the sort criteria was to sort by fields "a", "b" then "c", the
CopyC#
fields
object array will have three elements, corresponding respectively to the term values for the document in fields "a", "b" and "c". The class of each element in the array will be either Integer, Float or String depending on the type of values in the terms of each field.

Created: Feb 11, 2004 1:23:38 PM

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
public class FieldDoc : ScoreDoc
Visual Basic
<SerializableAttribute> _
Public Class FieldDoc _
	Inherits ScoreDoc
Visual C++
[SerializableAttribute]
public ref class FieldDoc : public ScoreDoc

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search..::..ScoreDoc
    Lucene.Net.Search..::..FieldDoc

See Also