Cannot retrieve specific fields

I am trying to use the fields parameter in the request to only retrieve
certain fields

If I do a search against type (/index/type/_search), it works. If I do a
search against index (/index/_search), it doesn't return any fields (just
the built-in _index, _type, _id, and _score)

Here is an example:
{
"fields":["headline"],
"size":1000,
"query":{"query_string":{"query":"*"}}
}

If I take the fields param off when I go against /index/_search, I get all
fields returned

Any ideas on what is wrong?

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Nevermind I fixed it. I created a new index, new mapping, and reindex all
data into it. The new index works properly

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.