Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
FieldCache.DocTermsIndex |
FieldCache.getTermsIndex(AtomicReader reader,
String field)
Checks the internal cache for an appropriate entry, and if none
is found, reads the term values in
field
and returns a FieldCache.DocTerms instance, providing a
method to retrieve the term (as a BytesRef) per document. |
FieldCache.DocTermsIndex |
FieldCache.getTermsIndex(AtomicReader reader,
String field,
float acceptableOverheadRatio)
Expert: just like
FieldCache.getTermsIndex(AtomicReader,String) , but you can specify
whether more RAM should be consumed in exchange for
faster lookups (default is "true"). |
Modifier and Type | Method and Description |
---|---|
protected static int |
FieldComparator.binarySearch(BytesRef br,
FieldCache.DocTermsIndex a,
BytesRef key) |
protected static int |
FieldComparator.binarySearch(BytesRef br,
FieldCache.DocTermsIndex a,
BytesRef key,
int low,
int high) |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.