: server:/solr/select?q=field:"'anything' anything can go here\;" --> No : problem (but ClientUtils's escape does not escape semicolons.)
ClientUtils doesn't escape it because it's not a special character in the SolrQueryParser. it *is* a special character to the OldLuceneQParserPlugin if (and only if) there is no "sort" param specified (this is all due to legacy behavior) Try either of these... ?defType=lucene&q=%22%27%27anything+can+go+here;%22 ?sort=score+desc&q=%22%27%27anything+can+go+here;%22 (we should probably change the default QParser to "lucene" and document in the upgrade notes how legacy users of the ";" sort sequence can get the old behavior by setting defType=lucenePlusSort as an invariant param. ... anyone want to submit a patch?) -Hoss