diff --git a/lucene/core/src/test/org/apache/lucene/search/TestRegexpRandom2.java b/lucene/core/src/test/org/apache/lucene/search/TestRegexpRandom2.java index bf977cbe746..4b5f0eb5c08 100644 --- a/lucene/core/src/test/org/apache/lucene/search/TestRegexpRandom2.java +++ b/lucene/core/src/test/org/apache/lucene/search/TestRegexpRandom2.java @@ -181,7 +181,9 @@ public class TestRegexpRandom2 extends LuceneTestCase { 0, RegexpQuery.DEFAULT_PROVIDER, 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); DumbRegexpQuery dumb = new DumbRegexpQuery(new Term(fieldName, regexp), RegExp.NONE);