org.apache.lucene.document

Class NumericDocValuesField

    • Field Detail

      • TYPE

        public static final FieldType TYPE
        Type for numeric DocValues.
    • Constructor Detail

      • NumericDocValuesField

        public NumericDocValuesField(String name,
                                     long value)
        Creates a new DocValues field with the specified 64-bit long value
        Parameters:
        name - field name
        value - 64-bit long value
        Throws:
        IllegalArgumentException - if the field name is null