Queries such as: 

Cat AND

(i.e the query is malformed with no second term provided) 

Causes a ParseException. 

Of course I could parse the query for sanity before it is submitted to Solr
but I wondered if there is a good practice way of checking/dealing with
queries which are incomplete? Perhaps a library already exists to help with
this? 

Thanks. 
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Handling-incomplete-malformed-queries-tp1700043p1700043.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to