|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FieldCache.LongParser | |
---|---|
org.apache.lucene.search | Code to search indices. |
Uses of FieldCache.LongParser in org.apache.lucene.search |
---|
Fields in org.apache.lucene.search declared as FieldCache.LongParser | |
---|---|
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.longToPrefixCoded(long) , e.g. |
Methods in org.apache.lucene.search with parameters of type FieldCache.LongParser | |
---|---|
long[] |
FieldCache.getLongs(IndexReader reader,
String field,
FieldCache.LongParser parser)
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. |
long[] |
FieldCache.getLongs(IndexReader 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(IndexReader,String,FieldCache.LongParser) . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |