lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilay raja <ilay....@gmail.com>
Subject ComplexPhraseQParserPlugin not working with solr 4.2
Date Sat, 20 Apr 2013 17:00:19 GMT
Hi

  I followed the steps given in
https://issues.apache.org/jira/browse/SOLR-1604 for integrating the plugin.
But is not picking up the classpath correctly. Though added the following
lines to solrconfig.xml
<lib dir="../../../dist/" regex="ComplexPhrase-\d.*\.jar" />
<queryParser name="complexphrase"
class="org.apache.solr.search.ComplexPhraseQParserPlugin" />

I have the compiled jar in solr-home/dist/

The exception is as below - unable to create core mainindex.
Is it an issue with using this plugin in 4.2? Does it work with 4.0 ?


     at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629)
        at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:634)
        at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:1051)
        at
org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:1021)
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:619)
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:806)
org.apache.solr.common.SolrException: Error loading class
'org.apache.solr.search.ComplexPhraseQParserPlugin'
SEVERE: Unable to create core: mainindex

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message