Skip to content

Commit

Permalink
Merge pull request #350 from pranavrd/fix/instance-exists-for-item
Browse files Browse the repository at this point in the history
fix: instance exists query - syntax
  • Loading branch information
pranavrd authored Apr 17, 2024
2 parents db7ed09 + 9eb2996 commit 38d7f5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class Constants {
"{\"_source\":[$2],\"query\":{\"term\":{\"id.keyword\":\"$1\"}}}";

public static final String GET_INSTANCE_CASE_INSENSITIVE_QUERY =
"{\"_source\":[$2], \"query\": {\"match\": \"id\": \"$1\"}}}";
"{\"_source\":[$2], \"query\": {\"match\": {\"id\": \"$1\"}}}";
public static final String GET_ASSOCIATED_ID_QUERY =
"{\"query\":{\"bool\":{\"should\":[{"
+ "\"match\":{\"id.keyword\":\"$1\"}},{"
Expand Down

0 comments on commit 38d7f5c

Please sign in to comment.