This works in a browser and finds tens of thousands of records:

http://localhost:9200/accountevents/_search?q=Medium:SMS

This cmd finds nothing:

curl -XGET 'http://localhost:9200/accountevents/_search' -d '{
  "query": {
    "term": {
      "Medium": "SMS"
      }
  }
}'

We can't work out what the difference is. Can someone point it out to us?

Thanks,

James

-- 
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/d4b85b87-8b79-4faa-82f1-d4706f1616e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to