Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Field and Description |
---|---|
static FieldCache.DoubleParser |
FieldCache.DEFAULT_DOUBLE_PARSER
The default parser for double values, which are encoded by
Double.toString(double) |
static FieldCache.DoubleParser |
FieldCache.NUMERIC_UTILS_DOUBLE_PARSER
A parser instance for double values encoded with
NumericUtils , e.g. |
Modifier and Type | Method and Description |
---|---|
double[] |
FieldCache.getDoubles(AtomicReader reader,
String field,
FieldCache.DoubleParser parser,
boolean setDocsWithField)
Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in
field as doubles and returns an array of
size reader.maxDoc() of the value each document has in the
given field. |
static FieldCacheRangeFilter<Double> |
FieldCacheRangeFilter.newDoubleRange(String field,
FieldCache.DoubleParser parser,
Double lowerVal,
Double upperVal,
boolean includeLower,
boolean includeUpper)
Creates a numeric range filter using
FieldCache.getDoubles(AtomicReader,String,FieldCache.DoubleParser,boolean) . |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.