Re: Error initializing QueryElevationComponent
Hi, I have changed as amp Now, core is getting initialized. But document added in elevate.xml is not coming as top result. elevate query text=*analog* doc id=sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=enamp;ver=1/ /query /elevate Also, why below query is not returning any results though document is available in index? http://localhost:8080/solr/master/select?q=_uniqueid:sitecore://master/{450555a7-2cf7-40ec-a4ad-a67926d23c4a}?lang=enamp;ver=1; Please suggest as I am struck with this.. Thanks, G. Naresh Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Error-initializing-QueryElevationComponent-tp4133914p4137160.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Error initializing QueryElevationComponent
The full details are farther down in the stack... : null:org.apache.solr.common.SolrException: SolrCore 'master' is not : available due to init failure: Error initializing QueryElevationComponent. ... : Caused by: org.apache.solr.common.SolrException: Error initializing : QueryElevationComponent. ... : Caused by: org.apache.solr.common.SolrException: : org.xml.sax.SAXParseException; systemId: solrres:/elevate.xml; lineNumber: : 28; columnNumber: 80; The reference to entity ver must end with the ';' : delimiter. The problem is that your elevate.xml is not a valid XML file at all -- you have a bare character in there (as part of your id which is not valid in XML -- you are confusing hte parser into thinking that you intend for ver to be an XML entity but you are missing the ; at the end (and even if you had that, then you'd get an error that the entity ver; is not defined) ... : id=sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=enver=1/ you need to use valid XML, so that id attribute should be something like... id=sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=enamp;ver=1 -Hoss http://www.lucidworks.com/
Error initializing QueryElevationComponent
Hi Team, I am getting error null:org.apache.solr.common.SolrException: SolrCore 'master' is not available due to init failure: Error initializing QueryElevationComponent. Please check below for configurations elevate.xml -- elevate query text=analog doc id=sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=enver=1/ /query /elevate Scema.xml --- field name=_uniqueid type=string indexed=true stored=true required=true / SolrConfig.xml --- arr name=last-components strspellcheck1/str strelevator/str /arr I am adding elevator to default request handler. This handler is also using Spellcheck1 component. searchComponent name=elevator class=org.apache.solr.handler.component.QueryElevationComponent str name=queryFieldTypestring/str str name=config-fileelevate.xml/str /searchComponent So now I am getting below error and core itself not loading. If I change id in elevate.xml as doc id=bce22a40d2be4cd791ed6bf4b88d0450/ instead of doc id=sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=enver=1/ then error is not coming.But results are not coming as expected. What is wrong with value sitecore://master/{137f5eb3-eb84-4165-bef0-5be1fbbc3201}?lang=enver=1 ? Please suggest or guide how to make it work.. Complete Error details null:org.apache.solr.common.SolrException: SolrCore 'master' is not available due to init failure: Error initializing QueryElevationComponent. at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:783) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:287) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:195) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.solr.common.SolrException: Error initializing QueryElevationComponent. at org.apache.solr.core.SolrCore.init(SolrCore.java:834) at org.apache.solr.core.SolrCore.init(SolrCore.java:625) at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:522) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:557) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:247) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:239) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) ... 3 more Caused by: org.apache.solr.common.SolrException: Error initializing QueryElevationComponent. at org.apache.solr.handler.component.QueryElevationComponent.inform(QueryElevationComponent.java:241) at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:601) at org.apache.solr.core.SolrCore.init(SolrCore.java:829) ... 11 more Caused by: org.apache.solr.common.SolrException: org.xml.sax.SAXParseException; systemId: solrres:/elevate.xml; lineNumber: 28; columnNumber: 80; The reference to entity ver must end with the ';' delimiter. at org.apache.solr.core.Config.init(Config.java:148) at org.apache.solr.core.Config.init(Config.java:86) at org.apache.solr.core.Config.init(Config.java:81) at org.apache.solr.handler.component.QueryElevationComponent.inform(QueryElevationComponent.java:223) ... 13 more Caused by: org.xml.sax.SAXParseException; systemId: solrres:/elevate.xml; lineNumber: 28; columnNumber: 80; The reference to entity ver must end with the ';' delimiter
Re: error initializing QueryElevationComponent
In case anyone was wondering, the solution is to html encode the URL. Solr didn't like the 's; just convert them to amp; and it works! -- View this message in context: http://lucene.472066.n3.nabble.com/error-initializing-QueryElevationComponent-tp4035194p4036261.html Sent from the Solr - User mailing list archive at Nabble.com.
error initializing QueryElevationComponent
Hi, I'm trying to test out the queryelevationcomponent. elevate.xml is in the solrconfig.xml and it's in the conf directory. I left the defaults. I added this to the elevate.xml elevate query text=foo bar doc id=https://opentextdev/cs/llisapi.dll?func=llobjID=577575objAction=download; / /query /elevate id is a string setup as the uniquekey And I get this error: 16:25:48SEVERE Config Exception during parsing file: elevate.xml:org.xml.sax.SAXParseException; systemId: solrres:/elevate.xml; lineNumber: 28; columnNumber: 77; The reference to entity objID must end with the ';' delimiter. 16:25:48SEVERE SolrCorejava.lang.NullPointerException 16:25:48SEVERE CoreContainer Unable to create core: Lisa 16:25:48SEVERE CoreContainer null:org.apache.solr.common.SolrException: Error initializing QueryElevationComponent. what am I doing wrong? -- View this message in context: http://lucene.472066.n3.nabble.com/error-initializing-QueryElevationComponent-tp4035194.html Sent from the Solr - User mailing list archive at Nabble.com.