Skip to content

Commit 4fe5894

Browse files
fix parsing error in SearchQueryRecord (#184) (#185)
(cherry picked from commit 6ec873c) Signed-off-by: Chenyang Ji <cyji@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 8dfe866 commit 4fe5894

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/opensearch/plugin/insights/rules/model/SearchQueryRecord.java

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ public static SearchQueryRecord fromXContent(XContentParser parser) throws IOExc
175175
break;
176176
case GROUP_BY:
177177
attributes.put(Attribute.GROUP_BY, parser.text());
178+
break;
178179
case SOURCE:
179180
XContentParserUtils.ensureExpectedToken(XContentParser.Token.START_OBJECT, parser.currentToken(), parser);
180181
attributes.put(Attribute.SOURCE, SearchSourceBuilder.fromXContent(parser, false));

0 commit comments

Comments
 (0)