Enum Index.PropertyKeys

    • Enum Constant Detail

      • DOCUMENTS

        public static final Index.PropertyKeys DOCUMENTS
        The number of documents in the collection.
      • TERMS

        public static final Index.PropertyKeys TERMS
        The number of terms in the collection.
      • OCCURRENCES

        public static final Index.PropertyKeys OCCURRENCES
        The number of occurrences in the collection, or -1 if the number of occurrences is not known.
      • POSTINGS

        public static final Index.PropertyKeys POSTINGS
        The number of postings (pairs term/document) in the collection.
      • BATCHES

        public static final Index.PropertyKeys BATCHES
        The number of batches this index was (or should be) built from.
      • MAXCOUNT

        public static final Index.PropertyKeys MAXCOUNT
        The maximum count, or -1 is the maximum count is not known.
      • MAXDOCSIZE

        public static final Index.PropertyKeys MAXDOCSIZE
        The maximum size (in words) of a document, or -1 if the maximum document size is not known.
      • PAYLOADCLASS

        public static final Index.PropertyKeys PAYLOADCLASS
        A class for the payloads of this index.
      • CODING

        public static final Index.PropertyKeys CODING
        The specification of a compressiong flag. This property can be specified as many time as necessary (e.g., FREQUENCIES:GAMMA, POINTERS:GOLOMB, POSITIONS:NONE, etc.). Note that different type of indices have different allowable combinations.
      • INDEXCLASS

        public static final Index.PropertyKeys INDEXCLASS
        The name of the Index class that should read this index.
      • FIELD

        public static final Index.PropertyKeys FIELD
        The name of the field indexed by this index, if any.
    • Method Detail

      • values

        public static Index.PropertyKeys[] values()
        Returns an array containing the constants of this enum type, in the order they are declared.
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Index.PropertyKeys valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null