Apache Lucene.Net 2.4.0 Class Library API

FieldDoc Class

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

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.

For a list of all members of this type, see FieldDoc Members.

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

public class FieldDoc : ScoreDoc

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Search

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

FieldDoc Members | Lucene.Net.Search Namespace | ScoreDoc | TopFieldDocs