Hello everyone - I just observed something and I was wondering if anyone
has seen something similar. I have a mapping in which there are strings,
floats, double etc. Now for the following query, I get an error:
IllegalArgumentException[Invalid
format: "3000.9" is malformed at ".9"];

{
  "query": {
    "filtered": {
      "query": {
        "simple_query_string": {
          "query": "*3000.9*",
          "fields": [
              ......//this is where I give a list of all the different
fields: strings, numbers, dates etc
          ],
          "default_operator": "and"
        }
      }
    }
  }
}

However, when I search for "3000" (note that there is no decimal), it works
fine.

Any clue what I might be doing wrong here?

-Amit.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAAOGaQ%2B7FkftMgXiGVEndrvPxG%2BsXUENtj0vkKU4_fV0MVO4uw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to