mirror of https://github.com/apache/lucene.git
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:
parent
f2b2481c14
commit
f14690e2fd
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue