-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Search] [Playground] fix semantic_text issue (#207054)
## Summary This fixes an issue in playground where the generated query is using a multi_match. This is because the field is now defined as a text field and Playground was treating the field as a text field and using it in a multi-match. This fix detects if the field is declared in the mappings API as semantic_text and what the model_id is. --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
3ca02b3
commit 7987527
Showing
3 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters