Trouble getting fields to work consistently across different clients

Running 0.90.0 GA, I have been unable to get the fields parameter to work
in the es-head plugin or firefox RESTClient, although it seems to work from
curl using a slightly different syntax:

curl -XGET "http://myinstance:9200/myindex/mytype/_search?pretty" -d '
{"fields": [""]}, "query" : { "term" :{

This returns results with a "fields" : { ""...} result.

The same query in the es-head plugin won't validate, but this will,
although it only returns _source and no fields value:
"fields": [
"query": {
"term": {
"": "something"

The original query (that works) yields "JSON.parse: unexpected
non-whitespace character after JSON data" in ES Search.

Same query in RESTClient fails to return a fields object.

Any ideas?

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
For more options, visit