Michael McCandless wrote:
Manuel Albela Miranda wrote:
Hello everybody,
I wanted to know what can i do to make solr manage the new index
format that comes with last svn version of Lucene, i mean, now there
are not a segments file but segments_1, segments_2 and so on, and a
segments.gen file. I have tried to compile solr with the last .jar
files generated by the compilation of the lucene sources but i'm
having the following errors:
Hello! I was able to recompile the Solr example (solr.war) using the
current trunk version of Lucene (with lockless commits). I was also
able to walk through the initial steps of the example (update, delete,
searching) running under Jetty and everything seems to work correctly.
I'm using Sun's JDK 1.5 on Linux.
From your exception, it looks like your JRE can't find the "matches"
native method for a java.lang.String, which is very strange. This
method has been available since 1.4. I'm not sure why this would
happen. Maybe double-check to make sure you're running >= JRE 1.4?
Mike
Hi Mike!,
Thanks for your answer. Yes, i'm using Sun's JDK 1.5.0 too. Can you tell
me the step you followed to get solr running with the lockless commits?.
I compile the latest java lucene and then put the jar files generated in
the lib directory of the solr distribution. Finally running 'ant' it
compiles without any problem. But when trying the example with the new
index format, it fails.
Thank you!
Regards.
--
Manuel Albela Miranda
3.14 Financial
Sánchez Calviño 82
15404 Ferrol - Spain
Tel: +34 981 94 87 78
Fax: +34 981 94 87 34
e-mail: [EMAIL PROTECTED]
http://www.3.14financial.com