Found my problem. Get rid of the leading type "message" in the field path and
wildcards in the fields work.

curl -XGET localhost:9200/nettest/_search?pretty -d '{
    "query" : {
        "query_string" : {
            "fields" : ["*.ne*"],
            "query" : "NET*"
        }
    }
}'





--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/Using-wildcards-in-query-string-fields-tp4055594p4055595.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
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/1399575721559-4055595.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to