remove another nocommit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026759 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2010-10-24 11:03:35 +00:00
parent f2b2481c14
commit f14690e2fd
1 changed files with 0 additions and 11 deletions

View File

@ -152,17 +152,6 @@ public class WeightedSpanTermExtractor {
IndexReader ir = getReaderForField(mtq.getField());
extract(query.rewrite(ir), terms);
}
// nocommit is this needed anymore?
/*
else {
FakeReader fReader = new FakeReader();
MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE.rewrite(fReader, mtq);
if (fReader.field != null) {
IndexReader ir = getReaderForField(fReader.field);
extract(query.rewrite(ir), terms);
}
}
*/
} else if (query instanceof MultiPhraseQuery) {
final MultiPhraseQuery mpq = (MultiPhraseQuery) query;
final List<Term[]> termArrays = mpq.getTermArrays();