Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
FieldCache.DocTerms |
FieldCache.getTerms(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.DocTerms |
FieldCache.getTerms(AtomicReader reader,
String field,
float acceptableOverheadRatio)
Expert: just like
FieldCache.getTerms(AtomicReader,String) ,
but you can specify whether more RAM should be consumed in exchange for
faster lookups (default is "true"). |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.