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
Works as expected because of "lenient : true" | |
{ | |
"query": | |
{ | |
"bool": | |
{ | |
"should": | |
[ | |
{ |
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
Document 1: | |
{ | |
"id": 1, | |
"title": "this is test1" | |
} | |
Document 2: | |
{ | |
"id": 2, | |
"title": "this is test2" |
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
{ | |
"settings": | |
{ | |
"index.number_of_replicas": 0 | |
}, | |
"mappings": | |
{ | |
"test": | |
{ |