Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.function |
Programmatic control over documents scores.
|
Modifier and Type | Method and Description |
---|---|
short[] |
FieldCache.getShorts(IndexReader reader,
java.lang.String field,
FieldCache.ShortParser parser)
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. |
Constructor and Description |
---|
ShortFieldSource(java.lang.String field,
FieldCache.ShortParser parser)
Create a cached short field source with a specific string-to-short parser.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.