How can I check Solr index using Luke

6.9k views Asked by At

How can I check my solr index using Luke? I tried pointing to my index location (solr/core1/data/index). But I am getting the error

Unknown format version: -12
2

There are 2 answers

1
kowd On BEST ANSWER

I got that error with a nightly build of lucene (4.x) and an older luke (1.0.1) - the latest currently available from its site.

Check out & build the latest luke from here:

http://code.google.com/p/luke/source/checkout

It reads latest lucene 4.x ok, 3.x versions as well.

1
Xodarap On

As Mauricio suggests, this error means that your luke version is older than your solr version. Try updating to the newest version of Luke.