lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <g...@srijan.in>
Subject Re: Duplicate docs when merging indices?
Date Sat, 21 Aug 2010 17:36:01 GMT
On Sat, 21 Aug 2010 05:26:59 -0700 (PDT)
Andrew Clegg <andrew.clegg@gmail.com> wrote:
[...]
> If I merge two indices with CoreAdmin, as detailed here...
> 
> http://wiki.apache.org/solr/MergingSolrIndexes
> 
> What happens to duplicate documents between the two? i.e. those
> that have the same unique key.
> 
> What decides which copy takes precedence? Will documents get
> indexed multiple times, or will the second one just get skipped?
[...]

Have not used CoreAdmin, but with MergeTool, know from personal
experience that there would be duplicates created. I imagine
that the same is the case for CoreAdmin as Solr/Lucene allows
duplicate IDs.

Regards,
Gora

Mime
View raw message