Hi all,
I'm trying to execute this query:
{
"from": 0,
"size": 10,
"query": {
"multi_match": {
"query": "test",
"fields": [ "RequestNumber^2","RequestStatus","Description"]
}
}
}
But I get the following error:
nested: NumberFormatException[For input string: "test"]
It seems like ES is expecting a number as value for the query parameter. If
I try to change the query as
.......
"query": 123,
.......
It actually works, well.....it returns results and not an error!
I'm using a brand new ES instance v0.90.7.
I have the feeling that I'm just doing something stupid! Any idea?
Thanks,
Luca
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0de0f0a9-8c1c-4d43-9ab1-a5c0a6988381%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.