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