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