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
GET simpleindex/games/_search | |
{ | |
"query": { | |
"nested": { | |
"path": "continents", | |
"query": { | |
"match": { | |
"continents.name": "south" | |
} | |
} |
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
GET simpleindex/games | |
{ | |
"continents": [ | |
{ | |
"name": "South America", | |
"countries": [ | |
{ | |
"name": "Chili", | |
"states": [ | |
{ |
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
POST simpleindex | |
{ | |
"mappings":{ | |
"games":{ | |
"properties":{ | |
"continents":{ | |
"type":"nested", | |
"properties":{ | |
"name":{"type":"string"}, | |
"countries":{ |
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
GET quality/functional | |
{ | |
"division":"finance", | |
"product":"payroll", | |
"application":"portal", | |
"results":[ | |
{ | |
"environment":"dev", | |
"name":"User login to the app", | |
"result":"fail" |
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
POST quality | |
{ | |
"mappings": { | |
"functional":{ | |
"_timestamp": { | |
"enabled": true, | |
"store": true | |
}, | |
"properties": { | |
"division": { |
NewerOlder