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/
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.