Package org.apache.lucene.index
Class FieldInfo
- java.lang.Object
-
- org.apache.lucene.index.FieldInfo
-
public final class FieldInfo extends Object
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldInfo.IndexOptions
Controls how much information is stored in the postings lists.
-
Field Summary
Fields Modifier and Type Field Description FieldInfo.IndexOptions
indexOptions
boolean
isIndexed
String
name
int
number
boolean
omitNorms
boolean
storePayloads
boolean
storeTermVector
-
-
-
Field Detail
-
name
public final String name
-
number
public final int number
-
isIndexed
public boolean isIndexed
-
storeTermVector
public boolean storeTermVector
-
omitNorms
public boolean omitNorms
-
indexOptions
public FieldInfo.IndexOptions indexOptions
-
storePayloads
public boolean storePayloads
-
-