On Jan 6, 2006, at 2:57 PM, Yonik Seeley wrote:
Should we should detect the case of all negative clauses and throw in
a MatchAllDocsQuery?
I guess this would be done in the QueryParser, but one could also make
a case for doing it in the BooleanQuery.
In a custom (non-generalizable) query parser that I've built, I
detect a negative only query and then nest it within a BooleanQuery
with a MatchAllDocsQuery.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]