Hi guys, 

First of all, sorry for possible mistakes with my english (it's not my 
native language)

I'm trying to do a query in a existent index. The field I want to filter is 
Id_Peticion, which has values like "676E56E8-60A1-7C83-B9C4-1C7B91E35444". 
As you can guess the "-" characters are giving me problems. I'm trying to 
put the backslash to scape the characters, but ES returns me entries that 
not even match with the passed value. In the example above, ES returns the 
following entries:

676E56E8-60A1-7C83-B9C4-1C7B91E35444 <-- Correct. It should return ONLY this. 

C6334797-A70D-DA8C-7C83-27FEAE6FE3EC

84EED3FA-374A-60A1-13AE-222E9F7E11BD

...


And about 20 more entries which not match. 


The query I've done:

http://otzeus.es.gasnatural.com:9200/peticiones-*/_search?q=Id_Peticion:676E56E8\-60A1\-7C83\-B9C4\-1C7B91E35444&pretty=true

I'm doing this query via browser. If I quit the backslashes the result is 
exactly the same. What am I doing wrong?

Thanks in advance

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/4cec5b58-413e-49c0-8815-1d6f9989f36f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to