lucene-java-user mailing list archives

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

On Aug 13, 2004, at 4:01 PM, wallen@Cyveillance.com 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: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message