mirror of https://github.com/apache/lucene.git
Fix NFAQuery in TestRegexpRandom2 (#12793)
This commit is contained in:
parent
a47ba3369f
commit
72ec96b1d1
|
@ -181,7 +181,9 @@ public class TestRegexpRandom2 extends LuceneTestCase {
|
||||||
0,
|
0,
|
||||||
RegexpQuery.DEFAULT_PROVIDER,
|
RegexpQuery.DEFAULT_PROVIDER,
|
||||||
0,
|
0,
|
||||||
MultiTermQuery.CONSTANT_SCORE_BLENDED_REWRITE,
|
// TODO: The NFA query is not able to use rewrite method that will utilize the
|
||||||
|
// concurrency
|
||||||
|
MultiTermQuery.CONSTANT_SCORE_BOOLEAN_REWRITE,
|
||||||
false);
|
false);
|
||||||
DumbRegexpQuery dumb = new DumbRegexpQuery(new Term(fieldName, regexp), RegExp.NONE);
|
DumbRegexpQuery dumb = new DumbRegexpQuery(new Term(fieldName, regexp), RegExp.NONE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue