lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Index Merging
Date Mon, 20 Feb 2012 17:15:06 GMT
There is nothing in core lucene to do this and I don't recall seeing
anything in contrib. One approach would be to loop through all the
docs in the second index deleting them if present in first index,
commit that change, then merge the two indexes.


--
Ian.


On Mon, Feb 20, 2012 at 11:58 AM, Karl Heinz Marbaise <khmarbaise@gmx.de> wrote:
> Hi to you,
>
> i've got a question concerning the merge of multiple indexes...
>
> Suppose we have two indexes which contain the same content ...than the
> result of a indexMerge is to have an index which contains the result
> doubled..ok so far so good ...
> But is there any chance/configuration that Lucene will recognizes that they
> are the same and doesn't duplicate the contents ? Do i need a special
> configuration for that ? or particular fields in the index ?
>
> Kind regards
> Karl Heinz Marbaise
> --
> SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
> Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
> Hauptstrasse 177                         USt.IdNr: DE191347579
> 52146 Würselen                           http://www.soebes.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message