bhle/bhle — Issue #258: Advanced search creates invalid solr queries
Author: akohlbecker
Created: 2011-11-18 14:12:55+00:00
State: open

When no search fields are chosen advanced search created *empty* solr queries which are invalid:

?q=:()

snipped from solr log:
SEVERE: org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse ':()': Encountered " ":" ": "" at line 1, column 0.

...

Nov 18, 2011 2:51:53 PM org.apache.solr.core.SolrCore execute
INFO: [core] webapp=/solr path=/select params={json.nl=map&wt=json&start=0&q=:()&rows=12} status=400 QTime=1

You may have to delete your session cookies to see this bug.