Parse Failure [No parser for element [must_not]]


(Lyle Underwood) #1

Anybody have thoughts on this error from the following query?


(Igor Motov) #2

I think what you meant is:

{
"query": {
"bool": {
"must": [
{
"query_string": {
"query": "kyle"
}
}
],
"must_not": [
{
"term": {
"github": {
"term": "dewski"
}
}
}
]
}
}
.......

On Tuesday, August 7, 2012 3:26:33 PM UTC-4, Lyle Underwood wrote:

Anybody have thoughts on this error from the following query?

https://gist.github.com/76b7604faf3936c63a41#file_query.json


(system) #3