-
-
Save nburt/cea693045ea0e81566d5b2a27b0e77e0 to your computer and use it in GitHub Desktop.
Elasticsearch multi_match wildcard question
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
{ | |
"sourceEn": { | |
"type": "text", | |
"analyzer": "default_custom_case_insensitive", | |
"fields": { | |
"caseSensitive": { | |
"type": "text", | |
"analyzer": "default_custom_case_sensitive" | |
} | |
} | |
}, | |
"sourceFr": { | |
"type": "text", | |
"analyzer": "french_case_insensitive", | |
"fields": { | |
"caseSensitive": { | |
"type": "text", | |
"analyzer": "french_case_sensitive" | |
} | |
} | |
} | |
} |
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
{ | |
"query": { | |
"multi_match" : { | |
"query": "brown fox", | |
"type": "best_fields", | |
"fields": [ "source*" ] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
Do you resolve it? I have the same problem.