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: searching only part of an index
Date Tue, 27 Apr 2004 14:32:13 GMT
On Apr 27, 2004, at 10:24 AM, Erik Hatcher wrote:
> On Apr 27, 2004, at 9:49 AM, Nader S. Henein wrote:
>> So if Alan wants to limit it to the first 100 he can't really use a 
>> range
>> search unless he can guarantee that the index is optimized after 
>> deletes,
>> but then if his deletion rounds are anything like mine ( every 2 
>> mins) then
>> optimizing it at each delete will make searching the index really 
>> slow.
>> Right?
>
> Well, if you know how many you've deleted, then a range would work :)  
> (number of docs in index minus 100 minus number deleted = starting 
> range for doc id)

On second thought - this is incorrect - my apologies.  To be clever, 
you'd have to know in what positions the deleted documents were in and 
account for them in that manner.

	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