Hi,
I'm trying to run the following query through Chrome Sense.
GET _search
{
"query": {
"constant_score": {
"filter": {
"bool": {
"must": [
{
"term": {
"city": "CHANTILLY"
}
}
],
"must_not": {
"term": {
"isportauthority": "Y"
}
}
}
}
}
}
}
It gives me the following error:
{
"statusCode": 400,
"error": "Bad Request",
"message": "child \"uri\" fails because [\"uri\" must be a valid uri]",
"validation": {
"source": "query",
"keys": [
"uri"
]
}
}
I copied the query format directly from the "...definitive guide" so I would get the syntax correct. I haven't a clue. Help!
Thanks,
Dave K