Hello,
I am running below query:
GET new_master_query/_search
{
"query": {
"multi_match": {
"query": "Geosolutions",
"fields": [ "contentid^4", "title^3","object_summary^2","submitted_for_name"] }
}
}
and i am getting below error:
{
"error": {
"root_cause": [
{
"type": "query_shard_exception",
"reason": "failed to create query: {\n "multi_match" : {\n "query" : "Geosolutions",\n "fields" : [\n "contentid^4.0",\n "object_summary^2.0",\n "submitted_for_name^1.0",\n "title^3.0"\n ],\n "type" : "best_fields",\n "operator" : "OR",\n "slop" : 0,\n "prefix_length" : 0,\n "max_expansions" : 50,\n "zero_terms_query" : "NONE",\n "auto_generate_synonyms_phrase_query" : true,\n "fuzzy_transpositions" : true,\n "boost" : 1.0\n }\n}",
"index_uuid": "yNcq1TcCQWGb0BXGHx2ORg",
"index": "new_master_query"
}
],
"type": "search_phase_execution_exception",
"reason": "all shards failed",
"phase": "query",
"grouped": true,
"failed_shards": [
{
"shard": 0,
"index": "new_master_query",
"node": "fYXcg-jcSUuvs-ghEWz2CA",
"reason": {
"type": "query_shard_exception",
"reason": "failed to create query: {\n "multi_match" : {\n "query" : "Geosolutions",\n "fields" : [\n "contentid^4.0",\n "object_summary^2.0",\n "submitted_for_name^1.0",\n "title^3.0"\n ],\n "type" : "best_fields",\n "operator" : "OR",\n "slop" : 0,\n "prefix_length" : 0,\n "max_expansions" : 50,\n "zero_terms_query" : "NONE",\n "auto_generate_synonyms_phrase_query" : true,\n "fuzzy_transpositions" : true,\n "boost" : 1.0\n }\n}",
"index_uuid": "yNcq1TcCQWGb0BXGHx2ORg",
"index": "new_master_query",
"caused_by": {
"type": "number_format_exception",
"reason": "For input string: "Geosolutions""
}
}
}
]
},
"status": 400
}
Kindly guide.
Regards,
Priyanka