Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /myindex/name
- {
- "name" : "mat",
- "id":1
- }
- /myindex/surname
- {
- "surname" : "txt",
- "id":1
- }
- /myindex/_search
- {
- "query" : {
- "bool" : {
- "should" : [{
- "term" : { "name" : "mat" }
- },
- {
- "term" : { "surname" : "txt" }
- }]
- }
- }
- }
Add Comment
Please, Sign In to add comment