Created
August 23, 2019 14:06
-
-
Save jonwhittlestone/6bd4f77025999b27ae36de76e6185a3f to your computer and use it in GitHub Desktop.
Elasticsearch query for isbn
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": { | |
"bool": { | |
"should": [ | |
{ | |
"match": { | |
"isbn_keyword": "9780008179823" | |
} | |
} | |
] | |
} | |
}, | |
"size": 10, | |
"_source": { | |
"includes": [ | |
"*" | |
], | |
"excludes": [] | |
}, | |
"from": 0, | |
"sort": [ | |
{ | |
"real_grosssale_qty": { | |
"order": "desc" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment