On Sep 26, 2012, at 04:47 , Kissue Kissue wrote: > getSolrServer().deleteByQuery(catalogueId + ":" + Emory Labs) [Notice that > there are no quotes surrounding the catalogueId value - Emory Labs]
The best way to do this type of query (where the field type is a string with arbitrary characters that might mess with the lucene query parser) is to use the "term" query parser. In this case, use [[[ {!term f=catalogueId}Emory Labs ]]], of course without the brackets. That'll be the fail-safe way to this; consider the case where your catalogueId field had double-quotes in it, so simply surround by double-quotes can be problematic. Erik