mirror of https://github.com/apache/lucene.git
LUCENE-3443: add comments & CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200676 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
43a9ab1672
commit
53d75ec1ef
|
@ -747,6 +747,11 @@ Optimizations
|
|||
* LUCENE-2205: Very substantial (3-5X) RAM reduction required to hold
|
||||
the terms index on opening an IndexReader (Aaron McCurry via Mike McCandless)
|
||||
|
||||
* LUCENE-3443: FieldCache can now set docsWithField, and create an
|
||||
array, in a single pass. This results in faster init time for apps
|
||||
that need both (such as sorting by a field with a missing value).
|
||||
(Mike McCandless)
|
||||
|
||||
Test Cases
|
||||
|
||||
* LUCENE-3420: Disable the finalness checks in TokenStream and Analyzer
|
||||
|
|
|
@ -561,7 +561,7 @@ class FieldCacheImpl implements FieldCache {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Object createValue(IndexReader reader, Entry entryKey, boolean setDocsWithField)
|
||||
protected Object createValue(IndexReader reader, Entry entryKey, boolean setDocsWithField /* ignored */)
|
||||
throws IOException {
|
||||
final String field = entryKey.field;
|
||||
FixedBitSet res = null;
|
||||
|
@ -1065,7 +1065,7 @@ class FieldCacheImpl implements FieldCache {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Object createValue(IndexReader reader, Entry entryKey, boolean setDocsWithField)
|
||||
protected Object createValue(IndexReader reader, Entry entryKey, boolean setDocsWithField /* ignored */)
|
||||
throws IOException {
|
||||
|
||||
Terms terms = MultiFields.getTerms(reader, entryKey.field);
|
||||
|
@ -1210,7 +1210,7 @@ class FieldCacheImpl implements FieldCache {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Object createValue(IndexReader reader, Entry entryKey, boolean setDocsWithField)
|
||||
protected Object createValue(IndexReader reader, Entry entryKey, boolean setDocsWithField /* ignored */)
|
||||
throws IOException {
|
||||
|
||||
Terms terms = MultiFields.getTerms(reader, entryKey.field);
|
||||
|
@ -1294,7 +1294,7 @@ class FieldCacheImpl implements FieldCache {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Object createValue(IndexReader reader, Entry entryKey, boolean setDocsWithField)
|
||||
protected Object createValue(IndexReader reader, Entry entryKey, boolean setDocsWithField /* ignored */)
|
||||
throws IOException {
|
||||
return new DocTermOrds(reader, entryKey.field);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue