Skip to content

Instantly share code, notes, and snippets.

@GrantGochnauer
Created June 4, 2013 17:37
Show Gist options
  • Save GrantGochnauer/5707892 to your computer and use it in GitHub Desktop.
Save GrantGochnauer/5707892 to your computer and use it in GitHub Desktop.
Query which is failing
{
"from" : 0,
"size" : 10,
"filter" : {
"bool" : {
"must" : {
"term" : {
"tenantName" : "MyTenantName"
}
},
"must" : {
"term" : {
"channelId" : "1"
}
},
"must" : {
"term" : {
"segments.relativePostsPath" : "/"
}
},
"must" : {
"or" : {
"filters" : [ {
"term" : {
"logicalName" : "grant.html"
}
}, {
"term" : {
"altNames" : "grant.html"
}
} ]
}
}
}
},
"version" : true,
"explain" : true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment