Skip to content

Instantly share code, notes, and snippets.

View sahas-'s full-sized avatar

Sahas sahas-

  • Chicago, IL
View GitHub Profile
GET simpleindex/games/_search
{
"query": {
"nested": {
"path": "continents",
"query": {
"match": {
"continents.name": "south"
}
}
GET simpleindex/games
{
"continents": [
{
"name": "South America",
"countries": [
{
"name": "Chili",
"states": [
{
POST simpleindex
{
"mappings":{
"games":{
"properties":{
"continents":{
"type":"nested",
"properties":{
"name":{"type":"string"},
"countries":{
GET quality/functional
{
"division":"finance",
"product":"payroll",
"application":"portal",
"results":[
{
"environment":"dev",
"name":"User login to the app",
"result":"fail"
POST quality
{
"mappings": {
"functional":{
"_timestamp": {
"enabled": true,
"store": true
},
"properties": {
"division": {