Query with wildcard


(Jeremias Wolff) #1

can someone please explain, why this

curl -XGET "http://localhost:9200/_search?pretty&size=10" -d '{
"fields":["to"],
     "query" : {
         "query_string" : {
         	"query": "to:\"foo@example.o?g\"",
         	"analyze_wildcard":true
         }
     }
 }'

won't match? for sure, there IS an entry with foo@example.org


(system) #2