# Delete Single field from the index

**URL:** https://discuss.elastic.co/t/delete-single-field-from-the-index/8002
**Category:** Elasticsearch
**Created:** [June 7, 2012, 8:33am UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002 "2012-06-07T08:33:30Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)
#### Post date: [June 7, 2012, 8:33am UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002/1 "2012-06-07T08:33:30Z")

</div>

hi all,

can anybody tell me the procedure of deleting the single field from the index...

suppose we have 10 fields in one index and we want to delete one field from the index how we can implement this in Elastic Search?

thanx in advance

Regards,  
Sumit Gupta

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [June 7, 2012, 1:03pm UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002/2 "2012-06-07T13:03:07Z")

</div>

1 Get the first version of your doc  
2 remove the field  
3 push this new version of your doc.

David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 7 juin 2012 à 10:33, Sumit Guptaa [sumit.gupta.ngi@gmail.com](mailto:sumit.gupta.ngi@gmail.com) a écrit :

> hi all,
> 
> can anybody tell me the procedure of deleting the single field from the  
> index...
> 
> suppose we have 10 fields in one index and we want to delete one field from  
> the index how we can implement this in Elastic Search?
> 
> thanx in advance
> 
> Regards,  
> Sumit Gupta
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Delete-Single-field-from-the-index-tp4018900.html](http://elasticsearch-users.115913.n3.nabble.com/Delete-Single-field-from-the-index-tp4018900.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

### Author: ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)
#### Post date: [June 7, 2012, 1:35pm UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002/3 "2012-06-07T13:35:47Z")

</div>

hi dadoonet

i think this is require further reindexing i don't want reindexing of my document.....

Regards,  
Sumit Gupta

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [June 7, 2012, 1:44pm UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002/4 "2012-06-07T13:44:24Z")

</div>

Hi

On Thu, Jun 7, 2012 at 3:35 PM, Sumit Guptaa [sumit.gupta.ngi@gmail.com](mailto:sumit.gupta.ngi@gmail.com)wrote:

> hi dadoonet
> 
> i think this is require further reindexing i don't want reindexing of my  
> document.....

Single field indexing is not possible with lucene at the moment. Neither it  
is with elasticsearch then of course.

Check out [GitHub - medcl/elasticsearch-partialupdate: an elasticsearch plugin that allows to update a specify fileds of a document,avoid full reindex and reduce traffic costs](https://github.com/medcl/elasticsearch-partialupdate) for a simple  
support for this (which again is working with delete/create in the  
background).

--Alexander

---

<div class="post-metadata">

### Author: ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)
#### Post date: [June 8, 2012, 5:38am UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002/5 "2012-06-08T05:38:08Z")

</div>

hi Alexander Reelsen-2

i just want to delete a single field from my document in index ....is it possible with elasticsearch or not?

thanx

Regards,  
Sumit Gupta

---

<div class="post-metadata">

### Author: ![Rafal\_Kuc\_3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafal_kuc_3/32/799_2.png) [@Rafal\_Kuc\_3](https://discuss.elastic.co/u/Rafal_Kuc_3)
#### Post date: [June 8, 2012, 6:11am UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002/6 "2012-06-08T06:11:49Z")

</div>

Hello!

By default it's not possible, because right now Lucene doesn't support  
that. Basically you can only put or remove whole Lucene documents from  
Lucene indices.

--  
Regards,  
Rafał Kuć  
Sematext :: [http://sematext.com/](http://sematext.com/) :: Solr - Lucene - Nutch - Elasticsearch

> hi Alexander Reelsen-2

> i just want to delete a single field from my document in index ....is it  
> possible with elasticsearch or not?

> thanx

> Regards,  
> Sumit Gupta

> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Delete-Single-field-from-the-index-tp4018900p4018955.html](http://elasticsearch-users.115913.n3.nabble.com/Delete-Single-field-from-the-index-tp4018900p4018955.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

### Author: ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)
#### Post date: [June 8, 2012, 6:20am UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002/7 "2012-06-08T06:20:23Z")

</div>

thanx Rafał Kuć-3

---

<div class="post-metadata">

### Author: ![Rafal\_Kuc\_3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafal_kuc_3/32/799_2.png) [@Rafal\_Kuc\_3](https://discuss.elastic.co/u/Rafal_Kuc_3)
#### Post date: [June 8, 2012, 7:41am UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002/8 "2012-06-08T07:41:41Z")

</div>

Hello!

You have to do it by yourself, see - [Leave a group or unsubscribe from email - Google Groups Help](http://support.google.com/groups/bin/answer.py?hl=en&answer=46608)

--  
Regards,  
Rafał Kuć  
Sematext :: [http://sematext.com/](http://sematext.com/) :: Solr - Lucene - Nutch - Elasticsearch

> Please remove me from this group.

> * * *
> 
> The information contained in this message is proprietary and/or  
> confidential. If you are not the intended recipient, please: (i)  
> delete the message and all copies; (ii) do not disclose, distribute  
> or use the message in any manner; and (iii) notify the sender  
> immediately. In addition, please be aware that any message addressed  
> to our domain is subject to archiving and review by persons other  
> than the intended recipient. Thank you.

---

<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, 3:25am UTC](https://discuss.elastic.co/t/delete-single-field-from-the-index/8002/9 "2017-07-06T03:25:13Z")

</div>


