Disabling default fields ("_index", "_type", "_id", "_score") in result list

Hi,

I want to know if it's possible to disable the "_index", "_type", "_id" and
"_score" fields in the output list when performing a search query.

Example:

"hits": [
{
"_index": "eventlist_2014_10",
"_type": "eventlist",
"_id": "lcJu1j5Jvyh9ywJHsPplXA_300343y7a0ktK4iXjeccFse_EDPw_2",
"_score": 1,
"fields": {
.....

Those fields add a dramatic overhead to my result list, so I'd really like
to disable them.

Thanks in advance,
Lasse

--
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/1d870c9d-0714-4a78-b888-f2bb810db966%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Are you using REST? If so, Jorg wrote a plugin to help with such a task:
https://github.com/jprante/elasticsearch-arrayformat

--
Ivan

On Mon, Nov 3, 2014 at 8:36 AM, Lasse Schou lasseschou@gmail.com wrote:

Hi,

I want to know if it's possible to disable the "_index", "_type", "_id"
and "_score" fields in the output list when performing a search query.

Example:

"hits": [
{
"_index": "eventlist_2014_10",
"_type": "eventlist",
"_id": "lcJu1j5Jvyh9ywJHsPplXA_300343y7a0ktK4iXjeccFse_EDPw_2"
,
"_score": 1,
"fields": {
.....

Those fields add a dramatic overhead to my result list, so I'd really like
to disable them.

Thanks in advance,
Lasse

--
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/1d870c9d-0714-4a78-b888-f2bb810db966%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/1d870c9d-0714-4a78-b888-f2bb810db966%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/CALY%3DcQAofPTp0xrPL-8AnbWQuNYwm3JBBvym%3DqoyZSyb1QJhOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Cool! I'll definitely take a look.

@ Elasticsearch Core team - you should consider adding this as a feature.

2014-11-04 17:59 GMT+01:00 Ivan Brusic ivan@brusic.com:

Are you using REST? If so, Jorg wrote a plugin to help with such a task:
https://github.com/jprante/elasticsearch-arrayformat

--
Ivan

On Mon, Nov 3, 2014 at 8:36 AM, Lasse Schou lasseschou@gmail.com wrote:

Hi,

I want to know if it's possible to disable the "_index", "_type", "_id"
and "_score" fields in the output list when performing a search query.

Example:

"hits": [
{
"_index": "eventlist_2014_10",
"_type": "eventlist",
"_id":
"lcJu1j5Jvyh9ywJHsPplXA_300343y7a0ktK4iXjeccFse_EDPw_2",
"_score": 1,
"fields": {
.....

Those fields add a dramatic overhead to my result list, so I'd really
like to disable them.

Thanks in advance,
Lasse

--
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/1d870c9d-0714-4a78-b888-f2bb810db966%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/1d870c9d-0714-4a78-b888-f2bb810db966%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/AfFAIwrBq7o/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/CALY%3DcQAofPTp0xrPL-8AnbWQuNYwm3JBBvym%3DqoyZSyb1QJhOQ%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAofPTp0xrPL-8AnbWQuNYwm3JBBvym%3DqoyZSyb1QJhOQ%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/CADERWXr6TVJEUcBj1usOHgg%2B34%2BkR7qB3fRUjmJUTJrgV-KnQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.