Re: Leaving out information from the response

2015-02-25 Thread James
Thank you On 25 February 2015 at 08:17, Thomas Matthijs wrote: > > http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-fields.html > > On Wed, Feb 25, 2015 at 9:13 AM, James wrote: > >> Hi, >> >> I want to have certain data in my elasticsearch index but I don't

Re: Leaving out information from the response

2015-02-25 Thread Thomas Matthijs
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-fields.html On Wed, Feb 25, 2015 at 9:13 AM, James wrote: > Hi, > > I want to have certain data in my elasticsearch index but I don't want it > to be returned with a query. At the moment it seems to return every

Leaving out information from the response

2015-02-25 Thread James
Hi, I want to have certain data in my elasticsearch index but I don't want it to be returned with a query. At the moment it seems to return every bit of data I have for each index and then I use my PHP application to hide it. Is it possible to select what fields elasticsearch returns in it's re