# Luke just wipes the index directory (ES 0.16.2, Lucene 3.1.0 and lukeall-3.1.0.jar)

**URL:** <https://discuss.elastic.co/t/luke-just-wipes-the-index-directory-es-0-16-2-lucene-3-1-0-and-lukeall-3-1-0-jar/4870>\
**Category:** Elasticsearch\
**Created:** [July 15, 2011, 1:42pm UTC](https://discuss.elastic.co/t/luke-just-wipes-the-index-directory-es-0-16-2-lucene-3-1-0-and-lukeall-3-1-0-jar/4870 "2011-07-15T13:42:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spring\_Ninja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spring_ninja/32/2719_2.png) [@Spring\_Ninja](https://discuss.elastic.co/u/Spring_Ninja)\
**Post date:** [July 15, 2011, 1:42pm UTC](https://discuss.elastic.co/t/luke-just-wipes-the-index-directory-es-0-16-2-lucene-3-1-0-and-lukeall-3-1-0-jar/4870/1 "2011-07-15T13:42:35Z")

</div>

When using Luke to audit how ES tokenized and analyzed while indexing,  
the Lucene folder gets wiped when I open an index shard.

3 files are recreated (\_checksum-\*, segments.gen and segments\_1).

Are the ES generated Lucene index compatible with Luke?

Thanks,

Remy

---

<div class="post-metadata">

**Author:** ![Spring\_Ninja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spring_ninja/32/2719_2.png) [@Spring\_Ninja](https://discuss.elastic.co/u/Spring_Ninja)\
**Post date:** [July 15, 2011, 1:47pm UTC](https://discuss.elastic.co/t/luke-just-wipes-the-index-directory-es-0-16-2-lucene-3-1-0-and-lukeall-3-1-0-jar/4870/2 "2011-07-15T13:47:45Z")

</div>

Found the thread "luke not recognizing index from ES git master"...

Checksum file needs to be deleted.

R.

On Jul 15, 9:42 am, Spring Ninja [remy.gend...@ingeno.ca](mailto:remy.gend...@ingeno.ca) wrote:

> When using Luke to audit how ES tokenized and analyzed while indexing,  
> the Lucene folder gets wiped when I open an index shard.
> 
> 3 files are recreated (\_checksum-\*, segments.gen and segments\_1).
> 
> Are the ES generated Lucene index compatible with Luke?
> 
> Thanks,
> 
> Remy

---

<div class="post-metadata">

**Author:** ![Spring\_Ninja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spring_ninja/32/2719_2.png) [@Spring\_Ninja](https://discuss.elastic.co/u/Spring_Ninja)\
**Post date:** [July 15, 2011, 1:51pm UTC](https://discuss.elastic.co/t/luke-just-wipes-the-index-directory-es-0-16-2-lucene-3-1-0-and-lukeall-3-1-0-jar/4870/3 "2011-07-15T13:51:10Z")

</div>

Replied too fast. Deleting the checksum file does not solve this  
issue.

Luke seems not to recognize the index format, saying: Index format:  
-11 (Lucene 1.3 or prior) which is obviously not the case.

---

<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, 4:00am UTC](https://discuss.elastic.co/t/luke-just-wipes-the-index-directory-es-0-16-2-lucene-3-1-0-and-lukeall-3-1-0-jar/4870/4 "2017-07-06T04:00:31Z")

</div>


