From 04c41fe349eb31d79f074e2caa4acd51f36ec099 Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Mon, 27 Jan 2014 07:16:13 -0700 Subject: [PATCH] Add missing PHRASE flag for simple_query_string Closes #4911 --- .../org/elasticsearch/index/query/SimpleQueryStringFlag.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/elasticsearch/index/query/SimpleQueryStringFlag.java b/src/main/java/org/elasticsearch/index/query/SimpleQueryStringFlag.java index 8e492a460fc..425753b6ddf 100644 --- a/src/main/java/org/elasticsearch/index/query/SimpleQueryStringFlag.java +++ b/src/main/java/org/elasticsearch/index/query/SimpleQueryStringFlag.java @@ -34,6 +34,7 @@ public enum SimpleQueryStringFlag { NOT(XSimpleQueryParser.NOT_OPERATOR), OR(XSimpleQueryParser.OR_OPERATOR), PREFIX(XSimpleQueryParser.PREFIX_OPERATOR), + PHRASE(XSimpleQueryParser.PHRASE_OPERATOR), PRECEDENCE(XSimpleQueryParser.PRECEDENCE_OPERATORS), ESCAPE(XSimpleQueryParser.ESCAPE_OPERATOR), WHITESPACE(XSimpleQueryParser.WHITESPACE_OPERATOR);