On Aug 13, 2004, at 4:01 PM, [EMAIL PROTECTED] wrote:
A ranged query that covers the full range does the same thing.
Of course it is also inefficient with term generation: myField[a TO z]
Note that this won't work if you have more than 1024 matching terms, which is a quite likely scenario. The special "all" field trick is a nice option.
Another suggestion is to simply make a special case for an "all" query and use IndexReader to walk the documents in the index directly.
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]