Skip to content

Commit

Permalink
fix parsing error in SearchQueryRecord
Browse files Browse the repository at this point in the history
Signed-off-by: Chenyang Ji <[email protected]>
  • Loading branch information
ansjcy committed Jan 10, 2025
1 parent b5e2d07 commit b1e7f81
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ public static SearchQueryRecord fromXContent(XContentParser parser) throws IOExc
break;
case GROUP_BY:
attributes.put(Attribute.GROUP_BY, parser.text());
break;
case SOURCE:
XContentParserUtils.ensureExpectedToken(XContentParser.Token.START_OBJECT, parser.currentToken(), parser);
attributes.put(Attribute.SOURCE, SearchSourceBuilder.fromXContent(parser, false));
Expand Down

0 comments on commit b1e7f81

Please sign in to comment.