Uses of Interface
org.apache.lucene.search.FieldCache.LongParser
-
Packages that use FieldCache.LongParser Package Description 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 Modifier and Type Field Description static FieldCache.LongParser
FieldCache. DEFAULT_LONG_PARSER
The default parser for long values, which are encoded byLong.toString(long)
static FieldCache.LongParser
FieldCache. NUMERIC_UTILS_LONG_PARSER
A parser instance for long values encoded byNumericUtils.longToPrefixCoded(long)
, e.g.Methods in org.apache.lucene.search with parameters of type FieldCache.LongParser Modifier and Type Method Description 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 infield
as longs and returns an array of sizereader.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 infield
as longs and returns an array of sizereader.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 usingFieldCache.getLongs(IndexReader,String,FieldCache.LongParser)
.
-