Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Field and Description |
---|---|
static FieldCache.IntParser |
FieldCache.DEFAULT_INT_PARSER
The default parser for int values, which are encoded by
Integer.toString(int) |
static FieldCache.IntParser |
FieldCache.NUMERIC_UTILS_INT_PARSER
A parser instance for int values encoded by
NumericUtils , e.g. |
Modifier and Type | Method and Description |
---|---|
int[] |
FieldCache.getInts(AtomicReader reader,
String field,
FieldCache.IntParser parser,
boolean setDocsWithField)
Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in
field as integers and returns an array of
size reader.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 using
FieldCache.getInts(AtomicReader,String,FieldCache.IntParser,boolean) . |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.