Class 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.
    • Field Detail

      • name

        public final String name
      • number

        public final int number
      • isIndexed

        public boolean isIndexed
      • storeTermVector

        public boolean storeTermVector
      • omitNorms

        public boolean omitNorms
      • storePayloads

        public boolean storePayloads