Re: MatchAllDocs in BooleanQuery.rewrite

2007-02-02 Thread mark harwood
ative clauses. Cheers Mark - Original Message From: Chris Hostetter <[EMAIL PROTECTED]> To: Lucene Dev Sent: Friday, 2 February, 2007 6:26:46 AM Subject: MatchAllDocs in BooleanQuery.rewrite more then once, people have suggested that QueryParser should either throw

MatchAllDocs in BooleanQuery.rewrite

2007-02-01 Thread Chris Hostetter
more then once, people have suggested that QueryParser should either throw and Exception or implicitly put a MatchAllDocsQuery in any BooleanQuery it produces when the string it's parsing contains entirely negative clauses. I've argued against this idea because QueryParser doesn't know how the Qu