The FieldInfos type exposes the following members.

Constructors

  NameDescription
Public methodFieldInfos()()()()
Initializes a new instance of the FieldInfos class
Public methodFieldInfos(Directory, String)
Construct a FieldInfos object using the directory and the name of the file IndexInput

Methods

  NameDescription
Public methodAdd(Document)
Adds field info for a Document.
Public methodAdd(ICollection<(Of <<'(String>)>>), Boolean)
Assumes the fields are not storing term vectors.
Public methodAdd(String, Boolean)
Calls 5 parameter add with false for all TermVector parameters.
Public methodAdd(String, Boolean, Boolean)
Calls 5 parameter add with false for term vector positions and offsets.
Public methodAdd(String, Boolean, Boolean, Boolean, Boolean)
If the field is not yet known, adds it. If it is known, checks to make sure that the isIndexed flag is the same as was given previously for this field. If not - marks it as being indexed. Same goes for the TermVector parameters.
Public methodAdd(String, Boolean, Boolean, Boolean, Boolean, Boolean)
If the field is not yet known, adds it. If it is known, checks to make sure that the isIndexed flag is the same as was given previously for this field. If not - marks it as being indexed. Same goes for the TermVector parameters.
Public methodAdd(String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
If the field is not yet known, adds it. If it is known, checks to make sure that the isIndexed flag is the same as was given previously for this field. If not - marks it as being indexed. Same goes for the TermVector parameters.
Public methodAddIndexed
Add fields that are indexed. Whether they have termvectors has to be specified.
Public methodClone
Returns a deep clone of this FieldInfos instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFieldInfo(Int32)
Return the fieldinfo object referenced by the fieldNumber.
Public methodFieldInfo(String)
Public methodFieldName
Return the fieldName identified by its number.
Public methodFieldNumber
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasVectors
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSize
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWrite(IndexOutput)
Public methodWrite(Directory, String)

Fields

  NameDescription
Public fieldStatic memberFORMAT_PRE
Public fieldStatic memberFORMAT_START

See Also