Uses of Interface
org.apache.lucene.search.FieldCache.IntParser
-
Packages that use FieldCache.IntParser Package Description org.apache.lucene.search Code to search indices.org.apache.lucene.search.function Programmatic control over documents scores. -
-
Uses of FieldCache.IntParser in org.apache.lucene.search
Fields in org.apache.lucene.search declared as FieldCache.IntParser Modifier and Type Field Description static FieldCache.IntParser
FieldCache. DEFAULT_INT_PARSER
The default parser for int values, which are encoded byInteger.toString(int)
static FieldCache.IntParser
FieldCache. NUMERIC_UTILS_INT_PARSER
A parser instance for int values encoded byNumericUtils.intToPrefixCoded(int)
, e.g.Methods in org.apache.lucene.search with parameters of type FieldCache.IntParser Modifier and Type Method Description int[]
FieldCache. getInts(IndexReader reader, String field, FieldCache.IntParser parser)
Checks the internal cache for an appropriate entry, and if none is found, reads the terms infield
as integers and returns an array of sizereader.maxDoc()
of the value each document has in the given field.int[]
FieldCache. getInts(IndexReader reader, String field, FieldCache.IntParser parser, boolean setDocsWithField)
Checks the internal cache for an appropriate entry, and if none is found, reads the terms infield
as integers and returns an array of sizereader.maxDoc()
of the value each document has in the given field.static FieldCacheRangeFilter<Integer>
FieldCacheRangeFilter. newIntRange(String field, FieldCache.IntParser parser, Integer lowerVal, Integer upperVal, boolean includeLower, boolean includeUpper)
Creates a numeric range filter usingFieldCache.getInts(IndexReader,String,FieldCache.IntParser)
. -
Uses of FieldCache.IntParser in org.apache.lucene.search.function
Constructors in org.apache.lucene.search.function with parameters of type FieldCache.IntParser Constructor Description IntFieldSource(String field, FieldCache.IntParser parser)
Create a cached int field source with a specific string-to-int parser.
-