From 4f9855261a60a56ee9e3851d519ab448e5d112a0 Mon Sep 17 00:00:00 2001 From: Alex Ksikes Date: Tue, 7 Jul 2015 14:06:07 +0200 Subject: [PATCH] Revert "fix RegexpQueryBuilder#maxDeterminizedStates" This reverts commit b7e26fae3ff9779caec251b7490d71eeaa297161. --- .../java/org/elasticsearch/index/query/RegexpQueryBuilder.java | 1 + 1 file changed, 1 insertion(+) 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 e7b99c05022..fcb41717aa8 100644 --- a/core/src/main/java/org/elasticsearch/index/query/RegexpQueryBuilder.java +++ b/core/src/main/java/org/elasticsearch/index/query/RegexpQueryBuilder.java @@ -78,6 +78,7 @@ public class RegexpQueryBuilder extends MultiTermQueryBuilder implements Boostab */ public RegexpQueryBuilder maxDeterminizedStates(int value) { this.maxDeterminizedStates = value; + this.maxDetermizedStatesSet = true; return this; }