From b7e26fae3ff9779caec251b7490d71eeaa297161 Mon Sep 17 00:00:00 2001 From: Alex Ksikes Date: Tue, 7 Jul 2015 13:44:01 +0200 Subject: [PATCH] fix RegexpQueryBuilder#maxDeterminizedStates Value was improperly set to `true`. Relates to #11896 --- .../java/org/elasticsearch/index/query/RegexpQueryBuilder.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/index/query/RegexpQueryBuilder.java b/core/src/main/java/org/elasticsearch/index/query/RegexpQueryBuilder.java index fcb41717aa8..e7b99c05022 100644 --- a/core/src/main/java/org/elasticsearch/index/query/RegexpQueryBuilder.java +++ b/core/src/main/java/org/elasticsearch/index/query/RegexpQueryBuilder.java @@ -78,7 +78,6 @@ public class RegexpQueryBuilder extends MultiTermQueryBuilder implements Boostab */ public RegexpQueryBuilder maxDeterminizedStates(int value) { this.maxDeterminizedStates = value; - this.maxDetermizedStatesSet = true; return this; }