Leaving out information from the response

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 response to
my PHP application.

For example for each time:

Name
Location
Description
Keywords
Unique ID
Create date

I just want to have in the response from elasticsearch:

Name
Location
Description

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/089c53f5-0aa4-48b5-acb4-df4d6ccfee13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

On Wed, Feb 25, 2015 at 9:13 AM, James mail@employ.com 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 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 response to
my PHP application.

For example for each time:

Name
Location
Description
Keywords
Unique ID
Create date

I just want to have in the response from elasticsearch:

Name
Location
Description

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/089c53f5-0aa4-48b5-acb4-df4d6ccfee13%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/089c53f5-0aa4-48b5-acb4-df4d6ccfee13%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CABY_-Z4x%3DgOq1EbtvsLLRgQn1Ad8Zd5QzpubZaL5KA98p7J2Xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thank you

On 25 February 2015 at 08:17, Thomas Matthijs lists@selckin.be wrote:

Elasticsearch Platform — Find real-time answers at scale | Elastic

On Wed, Feb 25, 2015 at 9:13 AM, James mail@employ.com 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 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 response to
my PHP application.

For example for each time:

Name
Location
Description
Keywords
Unique ID
Create date

I just want to have in the response from elasticsearch:

Name
Location
Description

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/089c53f5-0aa4-48b5-acb4-df4d6ccfee13%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/089c53f5-0aa4-48b5-acb4-df4d6ccfee13%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/EurLxszzenc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CABY_-Z4x%3DgOq1EbtvsLLRgQn1Ad8Zd5QzpubZaL5KA98p7J2Xw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CABY_-Z4x%3DgOq1EbtvsLLRgQn1Ad8Zd5QzpubZaL5KA98p7J2Xw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPng%3D3eNd3Gw8OdJpWPBF4tvSwWAKcuYasqCVmi7vdgYvLf0ow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.