Class NumericFieldType

    • Constructor Detail

      • NumericFieldType

        public NumericFieldType()
    • Method Detail

      • getNumberType

        public NumberType getNumberType()
        Description copied from class: FieldType
        Return the numeric type of this field, or null if this field is not a numeric field.
        Overrides:
        getNumberType in class FieldType
        Returns:
        the type of this field
      • getDocValuesRangeQuery

        protected org.apache.lucene.search.Query getDocValuesRangeQuery​(QParser parser,
                                                                        SchemaField field,
                                                                        String min,
                                                                        String max,
                                                                        boolean minInclusive,
                                                                        boolean maxInclusive)
      • getRangeQueryForFloatDoubleDocValues

        protected org.apache.lucene.search.Query getRangeQueryForFloatDoubleDocValues​(SchemaField sf,
                                                                                      String min,
                                                                                      String max,
                                                                                      boolean minInclusive,
                                                                                      boolean maxInclusive)
      • getRangeQueryForMultiValuedDoubleDocValues

        protected org.apache.lucene.search.Query getRangeQueryForMultiValuedDoubleDocValues​(SchemaField sf,
                                                                                            String min,
                                                                                            String max,
                                                                                            boolean minInclusive,
                                                                                            boolean maxInclusive)
      • getRangeQueryForMultiValuedFloatDocValues

        protected org.apache.lucene.search.Query getRangeQueryForMultiValuedFloatDocValues​(SchemaField sf,
                                                                                           String min,
                                                                                           String max,
                                                                                           boolean minInclusive,
                                                                                           boolean maxInclusive)
      • numericDocValuesRangeQuery

        public static org.apache.lucene.search.Query numericDocValuesRangeQuery​(String field,
                                                                                Number lowerValue,
                                                                                Number upperValue,
                                                                                boolean lowerInclusive,
                                                                                boolean upperInclusive,
                                                                                boolean multiValued)