0
0
Fork 0

added test case for query string containing only MUST NOT clause

This commit is contained in:
Marty Schoch 2015-07-13 15:30:19 -04:00
parent 548b17310b
commit 2a8f319689
1 changed files with 24 additions and 0 deletions

View File

@ -402,5 +402,29 @@
}
]
}
},
{
"comment": "tests query string only containing MUST NOT clause, bug #193",
"search": {
"from": 0,
"size": 10,
"query": {
"query": "-title:mista"
}
},
"result": {
"total_hits": 3,
"hits": [
{
"id": "d"
},
{
"id": "c"
},
{
"id": "b"
}
]
}
}
]