Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.function |
Programmatic control over documents scores.
|
Modifier and Type | Field | 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 | Description |
---|---|---|
byte[] |
FieldCache.getBytes(IndexReader reader,
String field,
FieldCache.ByteParser parser) |
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. |
byte[] |
FieldCache.getBytes(IndexReader 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(IndexReader,String,FieldCache.ByteParser) . |
Constructor | Description |
---|---|
ByteFieldSource(String field,
FieldCache.ByteParser parser) |
Create a cached byte field source with a specific string-to-byte parser.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.