lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Finding All?
Date Sat, 14 Aug 2004 01:02:49 GMT

On Aug 13, 2004, at 4:01 PM, 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message