Hello,
Solrmeter appears to create errors by interpreting %26 in my query file as &. The error is logged in Solr: org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: Cannot parse '"art ': Lexical error at line 1, column 6. Encountered: <EOF> after : "\"art "
The query looks like:
echoParams=all&qt=standard&wt=standard&fl=*,docid],score&facet.range=pubyear&facet.range.start=1&facet.range.end=5000&facet.range.gap=5&facet=true&facet.mincount=1&facet.field=geodisplay&facet.field=authordisplay&facet.field=subjectdisplay&facet.field=language&facet.field=digstatus&hl=true&hl.snippets=1&hl.fl=content&start=0&fq=index:peelbib&q="art+%26+music"&fq=&sort=score+asc&rows=50
The query originated from actual user input recorded in a log file.
The same query from the browser is interpreted correctly. My guess is that Solrmeter does some encoding/unencoding trick that changes %26 to & when it is passed to Solr. Because & is a reserved character the characters after the & are interpreted as the key in a key=value pair. This is further confused because that leaves an opening quotation without it's conclusion, hence the EOF.
Does anyone know of a workaround for this issue?
Thanks,
Tricia