Class FieldInfos
Access to the Fieldable Info file that describes document fields and whether or not they are indexed. Each segment has a separate Fieldable Info file. Objects of this class are thread-safe for multiple readers, but only one thread can be adding documents at a time, with no other reader or writer threads accessing this object.
Inheritance
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public sealed class FieldInfos : ICloneable
Constructors
Name | Description |
---|---|
FieldInfos() | |
FieldInfos(Directory, String) | Construct a FieldInfos object using the directory and the name of the file IndexInput |
Fields
Name | Description |
---|---|
FORMAT_PRE | |
FORMAT_START |
Methods
Name | Description |
---|---|
Add(Document) | Adds field info for a Document. |
Add(String, Boolean) | Calls 5 parameter add with false for all TermVector parameters. |
Add(Collections.Generic.ICollection<String>, Boolean) | Assumes the fields are not storing term vectors. |
Add(String, Boolean, Boolean) | Calls 5 parameter add with false for term vector positions and offsets. |
Add(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. |
Add(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. |
Add(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. |
AddIndexed(Collections.Generic.ICollection<String>, Boolean, Boolean, Boolean) | Add fields that are indexed. Whether they have termvectors has to be specified. |
Clone() | Returns a deep clone of this FieldInfos instance. |
FieldInfo(Int32) | Return the fieldinfo object referenced by the fieldNumber. |
FieldInfo(String) | |
FieldName(Int32) | Return the fieldName identified by its number. |
FieldNumber(String) | |
HasVectors() | |
Size() | |
Write(Directory, String) | |
Write(IndexOutput) |