lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Albela Miranda <>
Subject Re: Solr, new index format (segments_N)
Date Thu, 30 Nov 2006 17:41:31 GMT
Michael McCandless wrote:
> Yonik Seeley wrote:
>> On 11/28/06, Manuel Albela Miranda <> wrote:
>>> 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.
> These are the steps I did (with Sun's JDK 1.5.0):
>   * Checked out the current trunk of Solr (from svn)
>   * Checked out the current trunk of Lucene (from svn)
>   * Built the Lucene JARs ("ant jar-core")
>   * Copied jar to Solr dir:
>       "cp build/lucene-core-2.1-dev.jar 
> ../solr/lib/lucene-core-nightly.jar"
>   * Then ran "ant example" in solr dir (which creates solr.war under
>     example/webapps).
>   * Start jetty (cd example; java -jar start.jar)
>   * Submit all the xml files (cd exampledocs; sh *.xml)
>   * Verified that index (example/solr/data/index/*) shows segments_N
>     file (not segments), to confirm lockless is in fact running.
>   * Ran some searches, did some more of the examples (using curl to
>     delete & commit, etc.), and they all seem to be working fine.
> Mike

Hi Mike,

Thanks again for your pacience. I have followed all the steps, but with 
the same result. I use Solr with apache, but as you do, i tried with 
Jetty, but the problem still remains with Jetty and Apache.

The error message is:

java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: matches
	at org.apache.solr.core.SolrCore.getSearcher(
	at org.apache.solr.core.SolrCore.getSearcher(
	at org.apache.solr.request.SolrQueryRequestBase.getSearcher(
	at org.apache.solr.request.StandardRequestHandler.handleRequest(
	at org.apache.solr.core.SolrCore.execute(
	at org.apache.solr.servlet.SolrServlet.doGet(
	at javax.servlet.http.HttpServlet.service(
	at javax.servlet.http.HttpServlet.service(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.catalina.core.StandardWrapperValve.invoke(
	at org.apache.catalina.core.StandardContextValve.invoke(
	at org.apache.catalina.core.StandardHostValve.invoke(
	at org.apache.catalina.valves.ErrorReportValve.invoke(
	at org.apache.catalina.core.StandardEngineValve.invoke(
	at org.apache.catalina.connector.CoyoteAdapter.service(
	at org.apache.coyote.http11.Http11Processor.process(
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
	at org.apache.tomcat.util.threads.ThreadPool$
Caused by: java.lang.UnsatisfiedLinkError: matches
	at org.apache.lucene.index.IndexFileNameFilter.matches(Native Method)
	at org.apache.lucene.index.IndexFileNameFilter.accept(
	at org.apache.lucene.index.SegmentInfos$
	at org.apache.solr.core.SolrCore.getSearcher(
	... 21 more

If you have any idea i will appreciate it.



View raw message