# Upgrade index file format

**URL:** https://discuss.elastic.co/t/upgrade-index-file-format/12167
**Category:** Elasticsearch
**Created:** [May 29, 2013, 10:23am UTC](https://discuss.elastic.co/t/upgrade-index-file-format/12167 "2013-05-29T10:23:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![11117](https://avatars.discourse-cdn.com/v4/letter/1/4af34b/32.png) [@11117](https://discuss.elastic.co/u/11117)
#### Post date: [May 29, 2013, 10:23am UTC](https://discuss.elastic.co/t/upgrade-index-file-format/12167/1 "2013-05-29T10:23:10Z")

</div>

Hi! Could you help me please? I upgraded elasticsearch to 0.90 and I would  
like to move index to new lucene 4 file format. How can I do that? Maybe  
elasticsearch will do that itself after reindex?

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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: [May 29, 2013, 10:38am UTC](https://discuss.elastic.co/t/upgrade-index-file-format/12167/2 "2013-05-29T10:38:53Z")

</div>

I think that Optimize API will do it.  
Be aware that it's a costly operation.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 29 mai 2013 à 12:23, Виктор Булдаков [v1ctor.buldakov@gmail.com](mailto:v1ctor.buldakov@gmail.com) a écrit :

> Hi! Could you help me please? I upgraded elasticsearch to 0.90 and I would like to move index to new lucene 4 file format. How can I do that? Maybe elasticsearch will do that itself after reindex?
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![simonw\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simonw_2/32/1130_2.png) [@simonw\_2](https://discuss.elastic.co/u/simonw_2)
#### Post date: [May 29, 2013, 11:32am UTC](https://discuss.elastic.co/t/upgrade-index-file-format/12167/3 "2013-05-29T11:32:59Z")

</div>

Note, Lucene 4 can read your lucene 3 index so you don't have to upgrade  
them and can do it over time.

simon

On Wednesday, May 29, 2013 12:38:53 PM UTC+2, David Pilato wrote:

> I think that Optimize API will do it.  
> Be aware that it's a costly operation.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 29 mai 2013 à 12:23, Виктор Булдаков \<[v1ctor....@gmail.com](mailto:v1ctor....@gmail.com)\<javascript:\>\>  
> a écrit :
> 
> Hi! Could you help me please? I upgraded elasticsearch to 0.90 and I would  
> like to move index to new lucene 4 file format. How can I do that? Maybe  
> elasticsearch will do that itself after reindex?
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:34am UTC](https://discuss.elastic.co/t/upgrade-index-file-format/12167/4 "2017-07-06T02:34:08Z")

</div>


