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 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+unsubscr...@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.
>>
>
>  --
> 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+unsubscr...@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.
>

-- 
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+unsubscr...@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.


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 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+unsubscr...@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.
>

-- 
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+unsubscr...@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.


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 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+unsubscr...@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.