padigender / luke

Automatically exported from code.google.com/p/luke
0 stars 0 forks source link

Luke 3.3.0 unable to open index from Solr 3.4.0 #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download Sol 3.4.0 
(http://lucene.apache.org/solr/#14+September+2011+-+Solr+3.4.0+Released)
1.a Download Luke 3.3.0
2. Run demo to create index.  (Pasting section of the document)

Solr example configuration
--------------------------

To run this example configuration, use 

  java -jar start.jar

in this directory, and when Solr is started connect to 

  http://localhost:8983/solr/admin/

To add documents to the index, use the post.sh script in the exampledocs
subdirectory (while Solr is running), for example:

  cd exampledocs
  sh post.sh *.xml

After index built tried to open with luke and get the following msg: 
unrecognized format - 3 in file "_6.fmn"

------------------------------------------------
Index that I build is attached.  XML output of index having data in it.

Sorry I was unable to provide possible patch/fixes.

Original issue reported on code.google.com by william....@gmail.com on 20 Sep 2011 at 1:14

Attachments:

GoogleCodeExporter commented 8 years ago
same issue here... but getting "unknown format version -11"

Original comment by huzursuz on 21 Sep 2011 at 12:17

GoogleCodeExporter commented 8 years ago
Ditto. I'm using straight Lucene 3.4.0 (no Solr) and find Luke 3.3.0 unable to 
open Lucene 3.4.0 created indexes, with the 'unrecognized format - 3 in file 
"_d.fnm"' error. Worked fine until I updated from Lucene 3.3.0.

Original comment by snowym...@gmail.com on 22 Sep 2011 at 5:55

GoogleCodeExporter commented 8 years ago
with java -jar ~/dev/utils/lukeall-1.0.1.jar I got "unknown format version -11"
with java -jar ~/dev/utils/lukeall-3.3.0.jar I got "unknown format version -3"

Original comment by marco.nova@gmail.com on 26 Sep 2011 at 9:33

GoogleCodeExporter commented 8 years ago
I'm having the same issue.  using Lucene 3.4 directly (no SOLR).
unrecognized format -3 in file "_51.fnm"

Original comment by twentyon...@gmail.com on 30 Sep 2011 at 4:50

GoogleCodeExporter commented 8 years ago
Having the same issue, using Solr 3.4

Original comment by marialau...@gmail.com on 30 Sep 2011 at 5:03

GoogleCodeExporter commented 8 years ago
Here's a patch for the 3.3.0 branch.  You'll still need to update all the 
lucene 3.3.0 libraries to the ones from lucene 3.4.0.

Also attaching a lukeall.jar for those who don't feel like doing the work.

Original comment by markw...@gmail.com on 1 Oct 2011 at 12:07

Attachments:

GoogleCodeExporter commented 8 years ago
thank you for the patch.  it works :)

Original comment by twentyon...@gmail.com on 2 Oct 2011 at 5:11

GoogleCodeExporter commented 8 years ago
Thank you for the patch, I applied it with some additional changes in rev. 72. 
I'll put up the official release files shortly.

Original comment by sig...@gmail.com on 3 Oct 2011 at 9:34