lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Jain" <Eric.J...@isb-sib.ch>
Subject Re: Merging indexes and removing duplicates.
Date Fri, 09 May 2003 07:58:49 GMT
> The API allowes you to loop over all values for a given field and all
> documents for a given value. So I'd just loop over all values and
> delete all but the first documents.

Interesting strategy... I am currently doing the following:

1) Create temporary index with changed entries.
2) Remove changed entries from the main index, one by one.
3) Merge temporary index into main index.
4) Optimize.

But perhaps this is slower?


--
Eric Jain


---------------------------------------------------------------------
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