mirror of https://github.com/apache/lucene.git
LUCENE-3661: make this nocommit a TODO, i am out of ideas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237065 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b44abb2aaf
commit
77d161f043
|
@ -461,7 +461,7 @@ final class FreqProxTermsWriterPerField extends TermsHashConsumerPerField implem
|
||||||
// writing its postings; this would be
|
// writing its postings; this would be
|
||||||
// deterministic (just for this Term's docs).
|
// deterministic (just for this Term's docs).
|
||||||
|
|
||||||
// nocommit: totally wrong to do this reach-around here, and this way
|
// TODO: can we do this reach-around in a cleaner way????
|
||||||
if (state.liveDocs == null) {
|
if (state.liveDocs == null) {
|
||||||
state.liveDocs = docState.docWriter.codec.liveDocsFormat().newLiveDocs(state.numDocs);
|
state.liveDocs = docState.docWriter.codec.liveDocsFormat().newLiveDocs(state.numDocs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue