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

**URL:** https://discuss.elastic.co/t/disabling-default-fields--index--type--id--score-in-result-list/20541
**Category:** Elasticsearch
**Created:** [November 3, 2014, 1:36pm UTC](https://discuss.elastic.co/t/disabling-default-fields--index--type--id--score-in-result-list/20541 "2014-11-03T13:36:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![lasseschou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lasseschou/32/845_2.png) [@lasseschou](https://discuss.elastic.co/u/lasseschou)
#### Post date: [November 3, 2014, 1:36pm UTC](https://discuss.elastic.co/t/disabling-default-fields--index--type--id--score-in-result-list/20541/1 "2014-11-03T13:36:29Z")

</div>

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](mailto: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).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [November 4, 2014, 4:59pm UTC](https://discuss.elastic.co/t/disabling-default-fields--index--type--id--score-in-result-list/20541/2 "2014-11-04T16:59:27Z")

</div>

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

--  
Ivan

On Mon, Nov 3, 2014 at 8:36 AM, Lasse Schou [lasseschou@gmail.com](mailto: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](mailto: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)  
> [https://groups.google.com/d/msgid/elasticsearch/1d870c9d-0714-4a78-b888-f2bb810db966%40googlegroups.com?utm\_medium=email&utm\_source=footer](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](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](mailto: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).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![lasseschou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lasseschou/32/845_2.png) [@lasseschou](https://discuss.elastic.co/u/lasseschou)
#### Post date: [November 4, 2014, 7:02pm UTC](https://discuss.elastic.co/t/disabling-default-fields--index--type--id--score-in-result-list/20541/3 "2014-11-04T19:02:15Z")

</div>

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](mailto: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](https://github.com/jprante/elasticsearch-arrayformat)
> 
> --  
> Ivan
> 
> On Mon, Nov 3, 2014 at 8:36 AM, Lasse Schou [lasseschou@gmail.com](mailto: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](mailto: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)  
> > [https://groups.google.com/d/msgid/elasticsearch/1d870c9d-0714-4a78-b888-f2bb810db966%40googlegroups.com?utm\_medium=email&utm\_source=footer](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](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](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](mailto: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)  
> [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAofPTp0xrPL-8AnbWQuNYwm3JBBvym%3DqoyZSyb1QJhOQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](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](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/CADERWXr6TVJEUcBj1usOHgg%2B34%2BkR7qB3fRUjmJUTJrgV-KnQg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 12:52am UTC](https://discuss.elastic.co/t/disabling-default-fields--index--type--id--score-in-result-list/20541/4 "2017-07-06T00:52:10Z")

</div>


