lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhusudan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-1604) Wildcards, ORs etc inside Phrase Queries
Date Mon, 07 May 2012 12:03:48 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269555#comment-13269555
] 

Madhusudan commented on SOLR-1604:
----------------------------------

I am upgrading Solr to version 3.6 from version 1.4.1 and applied this patch. The Solr is
built successfully. After indexing some document I performed a wildcard phrase query "weekly
repo*", no documents were returned. However, by appending "&defType=complexphrase" the
solr returned the document containing "weekly report". It seems that the complex phrase is
not taken as default search handler.
Also, when restarting solr I discovered following error in log file as:

SEVERE: org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.search.ComplexPhraseQParserPlugin'
	at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:394)
	at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:419)
	at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:441)
	at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1612)
	at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1606)
	at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1639)
	at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1556)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:555)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:483)
	at org.apache.solr.core.CoreContainer.load(CoreContainer.java:335)
	at org.apache.solr.core.CoreContainer.load(CoreContainer.java:219)
	at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:161)
	at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:96)
	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.mortbay.start.Main.invokeMain(Main.java:194)
	at org.mortbay.start.Main.start(Main.java:534)
	at org.mortbay.start.Main.start(Main.java:441)
	at org.mortbay.start.Main.main(Main.java:119)
Caused by: java.lang.ClassNotFoundException: org.apache.solr.search.ComplexPhraseQParserPlugin
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:378)
	... 37 more

I would like some help regarding the use of this patch in new solr.

                
> Wildcards, ORs etc inside Phrase Queries
> ----------------------------------------
>
>                 Key: SOLR-1604
>                 URL: https://issues.apache.org/jira/browse/SOLR-1604
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4
>            Reporter: Ahmet Arslan
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: ComplexPhrase.zip, ComplexPhrase.zip, ComplexPhrase.zip, ComplexPhrase.zip,
ComplexPhrase.zip, ComplexPhraseQueryParser.java, SOLR-1604-alternative.patch, SOLR-1604.patch,
SOLR-1604.patch
>
>
> Solr Plugin for ComplexPhraseQueryParser (LUCENE-1486) which supports wildcards, ORs,
ranges, fuzzies inside phrase queries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message