For example, if you index a doc like this: POST http://localhost:9200/foo/bar { "foo": "bar" }
And then you query like this: POST http://localhost:9200/foo/_search { "fields": ["foo"] } Your result will now be like this in 1.0 (note that the value bar is returned as an array ["bar"] instead of just a string "bar"): { "hits" : { "total" : 1, "max_score" : 1.0, "hits" : [ { "_index" : "foo", "_type" : "bar", "_id" : "w34aAgVpQ9GJ0PJ4LqyYLQ", "_score" : 1.0, "fields" : { "foo" : [ "bar" ] } } ] } } -- 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/861b1c55-ffc6-4884-82b1-19670602f984%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
