With DisMax, and simple query which is single double-quote character, SOLR
responds with 

500
org.apache.solr.common.SolrException: Cannot parse '': Encountered "" at
line 1, column 0. Was expecting one of: ... " " ... "-" ... "(" ... "*" ...
... ... ... ... "[" ... "{" ... ...
org.apache.lucene.queryParser.ParseException: 


It is not polite neither to user's input nor to HTTP specs...

> while i agree that you don't wnat to expose your end users 
> directly to 
> Solr (largely for security reasons) that doesn't mean you *must* 
> preprocess user entered strings before handing them to dismax 
> ... dismax's 
> whole goal is to make it posisble for apps to not have to worry about 
> sanitizing user inputed query strings.

Reply via email to