Hi ES Users,

Is there any way I can hide some of the common fields which are being
returned as a response by ES.

e.g if I get the response as below:
*{
took: 74
timed_out: false
_shards: {
total: 15
successful: 15
failed: 0
}
hits: {
total: 24
max_score: 0.15932977
hits: [
{
_index: prashant
_type: session
_id: LeIDrUNmSKGC5Sl9Y8O0Zw
_score: 0.15932977
fields: {
Time: [
2014-01-08T15:01:26
]
}
}
{
_index: prashant
_type: session
_id: dlpQGXk_TOyfNnUEG6skeQ
_score: 0.14296037
fields: {
Time: [
2014-01-08T15:01:26
]
}
}
*

Now I want the ES to response without
*took,timed_out,_shards,total,successful,failed* value as well I dont want
the Name of the *_index* and *_type * as I am executing the query to
particular index and type.

So is there a way to filter the ES response in that way?



--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/Hiding-common-fields-in-ESresponse-tp4052073.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
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/1395127849748-4052073.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to