# checkIndex with ES 1.1.0

**URL:** <https://discuss.elastic.co/t/checkindex-with-es-1-1-0/16891>\
**Category:** Elasticsearch\
**Created:** [April 9, 2014, 9:41am UTC](https://discuss.elastic.co/t/checkindex-with-es-1-1-0/16891 "2014-04-09T09:41:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Salmon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_salmon/32/5330_2.png) [@Michael\_Salmon](https://discuss.elastic.co/u/Michael_Salmon)\
**Post date:** [April 9, 2014, 9:41am UTC](https://discuss.elastic.co/t/checkindex-with-es-1-1-0/16891/1 "2014-04-09T09:41:24Z")

</div>

I recently had a problem with an index and after searching the net I  
decided to give checkIndex a try. I found the class in the right jar but I  
haven't been able to get it to check an index. For example when I run

checkIndex -verbose ...heat-analyzer/7/index

I get:

ERROR: could not read any segments file in directory  
java.io.FileNotFoundException: ...heat-analyzer/7/index/segments\_37l (No  
such file or directory)

That is correct, the directory contains:

\_checksums-1397035754356 \_j85h\_es090\_0.blm \_j8fu.cfe \_j91a.cfs  
\_isy5.nvm \_j86v.cfe \_j8g4.cfs  
\_j95w\_es090\_0.tim  
\_j821.si \_j870.cfs \_j8hl.si \_j963.si  
\_j82l.cfs \_j898\_Lucene45\_0.dvd \_j8ln.cfs \_j968.cfs  
\_j838.cfe \_j8ap.cfe \_j8t6.cfe \_j975.si  
\_j83a.fdx \_j8b6.cfs \_j8tb\_es090\_0.doc \_j9b9.cfs  
\_j83o.nvd \_j8c1.si \_j8tp.cfs  
\_j9di\_es090\_0.blm  
\_j83o.si \_j8cz.si \_j8v9.fnm \_j9e0.cfe  
\_j83p.nvd \_j8et.cfs \_j8yv.cfe  
segments.gen  
\_j84u.cfs \_j8fa.cfs \_j919.fdt  
write.lock

I am running ES 1.1.0 and using the checkIndex from Lucene 4.7.0.

Has anyone gotten checkIndex to work with this combination?

/Michael

--  
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/CAPG\_VZXQTTwuTP41jg%2B-FnOZsLoLytgHpKxi6MZygy%2BTFmNqVw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPG_VZXQTTwuTP41jg%2B-FnOZsLoLytgHpKxi6MZygy%2BTFmNqVw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Michael\_Salmon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_salmon/32/5330_2.png) [@Michael\_Salmon](https://discuss.elastic.co/u/Michael_Salmon)\
**Post date:** [May 2, 2014, 9:48am UTC](https://discuss.elastic.co/t/checkindex-with-es-1-1-0/16891/2 "2014-05-02T09:48:10Z")

</div>

Here I go replying to my own questions again.

ES spreads Lucene files over all data paths and that means that checkIndex  
doesn't work as it expects all files to be in one directory. What I did was  
to create a directory and then make symlinks to all the files across all  
data paths and then run checkIndex. This works as expected.

On Wednesday, 9 April 2014 11:41:24 UTC+2, Michael Salmon wrote:

> I recently had a problem with an index and after searching the net I  
> decided to give checkIndex a try. I found the class in the right jar but I  
> haven't been able to get it to check an index. For example when I run
> 
> checkIndex -verbose ...heat-analyzer/7/index
> 
> I get:
> 
> ERROR: could not read any segments file in directory  
> java.io.FileNotFoundException: ...heat-analyzer/7/index/segments\_37l (No  
> such file or directory)
> 
> That is correct, the directory contains:
> 
> \_checksums-1397035754356 \_j85h\_es090\_0.blm \_j8fu.cfe  
> \_j91a.cfs  
> \_isy5.nvm \_j86v.cfe \_j8g4.cfs  
> \_j95w\_es090\_0.tim  
> \_j821.si \_j870.cfs \_j8hl.si \_  
> j963.si  
> \_j82l.cfs \_j898\_Lucene45\_0.dvd \_j8ln.cfs  
> \_j968.cfs  
> \_j838.cfe \_j8ap.cfe \_j8t6.cfe \_  
> j975.si  
> \_j83a.fdx \_j8b6.cfs \_j8tb\_es090\_0.doc  
> \_j9b9.cfs  
> \_j83o.nvd \_j8c1.si \_j8tp.cfs  
> \_j9di\_es090\_0.blm  
> \_j83o.si \_j8cz.si \_j8v9.fnm  
> \_j9e0.cfe  
> \_j83p.nvd \_j8et.cfs \_j8yv.cfe  
> segments.gen  
> \_j84u.cfs \_j8fa.cfs \_j919.fdt  
> write.lock
> 
> I am running ES 1.1.0 and using the checkIndex from Lucene 4.7.0.
> 
> Has anyone gotten checkIndex to work with this combination?
> 
> /Michael

--  
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/9093249d-b657-4da7-9804-a59afb4f698d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9093249d-b657-4da7-9804-a59afb4f698d%40googlegroups.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, 1:32am UTC](https://discuss.elastic.co/t/checkindex-with-es-1-1-0/16891/3 "2017-07-06T01:32:09Z")

</div>

Closed on July 6, 2017, 1:32am UTC


