Item11046: SolrPlugin Fails with Error for certain querys

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: SolrPlugin
Branches:
Reported By: OliverSchaub
Waiting For:
Last Change By: MichaelDaum
The following Query (changed some Server-Information) fails when executed from within the WIKI:
https://wiki.server.ch/MYWEB/Search?sort=score+desc&display=list&rows=20&origtopic=MYWEB.WebHome&search=problem

The Solr-Search Page crashes with this error:
<Error parsing solr response' name='tag_Error parsing solr response'>Error parsing solr response
IF{ "'Error parsing solr response'!='' and 'Error parsing solr response'='1' " else="" then="$percntTMPL:P{\"solr::hierarchystep::impl\"}$percnt" }: Missing operator in ''Error parsing solr response'!='' and 'Error parsing solr response'='1' ' at ' '
Error parsing solr response

Solr itself gives me a perfect result when I fire this query directly in a browser or from the Solr-Admin Page.

In this example, it fails if we query for "problem". It succeeds if we change the query to "proble", "probleme" or "problems".

-- OliverSchaub - 16 Aug 2011

Can't reproduce the problem with my current version. Please try again at System.SolrSearch (not at MYWEB.Search).

-- MichaelDaum - 16 Aug 2011

Same result... actually, it is ONLY happening when I Search on ALL Webs or within a particular Web (MYWEB). It's working, if I restrict the Query to any OTHER web.
So the problem seems to be a "bad" Topic/Result which causes the parser to crash. Could this somehow relate to Item: 10885 ?

-- OliverSchaub - 17 Aug 2011

I found the culprit... it was a PDF-File (about 4 Megs in size) which was causing the Error. The whole File was actually visible in the Index (binary informations) The PDF itself looks OK. I made a delete and re-indexed it, with the same result. Might be a problem with the stringifier... But still, in the Index itself, it is there as "text" and it only crashes when SolrPlugin tries to parse it.

For now, I removed this Topic from the Index.

-- OliverSchaub - 17 Aug 2011

Just found something more which brings up the exact same Error...
When you send a "wrong" filter-query to solr... for example, ".../Search?search=test&filter=someinexistantfilter:somevalue".

-- OliverSchaub - 19 Aug 2011

Should be fixed in the new search interface. Note that the url params for the new interface are quite different.

-- MichaelDaum - 29 May 2013
 

ItemTemplate edit

Summary SolrPlugin Fails with Error for certain querys
ReportedBy OliverSchaub
Codebase 1.1.3
SVN Range
AppliesTo Extension
Component SolrPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r6 - 29 May 2013, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy