Hello,
Basic query such as the documentation here Query string query | Elasticsearch Guide [7.9] | Elastic results in error:
I've tested with version 7.9, I'll try next with the current 7.12
GET _search?error_trace=true
{
"explain": true,
"version": true,
"size": 50,
"query": {
"query_string": {
"fields": ["identificationWorkSchema.*"],
"query": "Welcome AND CLEOP"
}
}
}
This field contain nested fields as declared in the mapping
"identificationWorkSchema.identifiers": {
"type": "nested",
"include_in_parent": true
},
"identificationWorkSchema.workTitle": {
"type": "nested",
"include_in_parent": true
},
The response is:
{
"took" : 556,
"timed_out" : false,
"_shards" : {
"total" : 14,
"successful" : 11,
"skipped" : 0,
"failed" : 3,
"failures" : [
{
"shard" : 0,
"index" : "tryphon-app",
"node" : "phQNVeOPQJuM1K2HEjClYw",
"reason" : {
"type" : "query_shard_exception",
"reason" : "failed to create query: Can't parse boolean value [Welcome], expected [true] or [false]",
"index_uuid" : "KqoWux2RSCeyT2XOVvg2gQ",
"index" : "tryphon-app",
"caused_by" : {
"type" : "illegal_argument_exception",
"reason" : "Can't parse boolean value [Welcome], expected [true] or [false]"
}
}
}
]
},
"hits" : {
"total" : {
"value" : 0,
"relation" : "eq"
},
"max_score" : null,
"hits" : [ ]
}
}
It looks like a bug ?