While in theory -URL:"" should be valid syntax, the Lucene query parser doesn't accept it and throws a ParseException. I've considered raising this issue on lucene-dev but it didn't seem to affect many users so I decided not to pursue the matter.
On 27/09/2007, Chris Hostetter <[EMAIL PROTECTED]> wrote: > ...and to work arround the problem untill you reindex... > > q=(URL:[* TO *] -URL:"") > > ...at least: i'm 97% certain that will work. it won't help if you "empty" > values are really " " or " " or ... > >