Created
September 14, 2018 23:14
-
-
Save rcdexta/02d21061f5a7269a32532f6955b4650f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
POST http://localhost:9200/crm_app/customers/_search | |
{ | |
"query": { | |
"multi_match": { | |
"query": "CMB14", | |
"fields": ["fullName", "shortCode"] | |
} | |
}, | |
"sort": ["_score", {"createdDate": "desc"}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment