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