Problems with Query_String and different field types

Has no one an idea?

Or should i report an issue?

On 31 Mai, 13:49, maho mathias.hod...@gmail.com wrote:

Hi,

I have an index with two fields:

  • name: description, type: string
  • name: price, type: double

If I send following query, I get an NumberFormatException[For input
string: "car"]

curl -XGET 'http://localhost:9200/sample/products/_search?pretty'-d
'{
"query" : {
"query_string" : {
"fields": ["description", "price"],
"query": "car"
}
}

}'

Of course, "car" cant be parsed to double, but can this be ignored?

Thanks.