yatretyak / luke

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

What steps are necessary to update Luke to work with the newest/certain Solr-Version from trunk? #58

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In Luke's r71 ( http://code.google.com/p/luke/source/detail?r=71 )
it is carried out, but what steps are done?
It would be great to know this steps.

In my case i work with Solr r1292064 from trunk.
My steps:
- checkout the latest Luke version from trunk
- test it, but get errors like "No valid directory at the location", or 
"Directory is locked, can't remove Lock...."
- build new lucene/solr SNAPSHOT.jar(s) with r1292064 and move these in Luke's  
lib/-Folder.
-build Luke, but it FAILED, with 100 errors,4 warnings, like:

luke/IntPair.java:16: cannot find symbol

luke-trunk/src/org/getopt/luke/Luke.java:41: package 
org.apache.lucene.analysis.core does not exist

public String decodeStored(String fieldName, Fieldable value) throws Exception; 
                                              ^
/root/luke/luke-trunk/src/org/getopt/luke/XMLExporter.java:29: cannot find 
symbol
/root/luke/luke-trunk/src/org/getopt/luke/DocReconstructor.java:93: 
incompatible types found   : org.apache.lucene.index.IndexableField[]

Are my steps wrong? :)

Original issue reported on code.google.com by vadim.ki...@memonews.com on 28 Mar 2012 at 2:36