You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andreas Laager (JIRA)" <ji...@apache.org> on 2010/11/08 14:37:08 UTC

[jira] Created: (SOLR-2222) Merge duplicates documents with uniqueKey

Merge duplicates documents with uniqueKey
-----------------------------------------

                 Key: SOLR-2222
                 URL: https://issues.apache.org/jira/browse/SOLR-2222
             Project: Solr
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Andreas Laager


When merging one core into an other one could get multiple documents for one uniqueKey. As a result the facet counts are wrong.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (SOLR-2222) Merge duplicates documents with uniqueKey

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929574#action_12929574 ] 

Koji Sekiguchi commented on SOLR-2222:
--------------------------------------

I think this is expected behavior because Solr just calls Lucene's IndexWriter.addIndexes() to merge indexes and Lucene doesn't care uniqueKeys.

> Merge duplicates documents with uniqueKey
> -----------------------------------------
>
>                 Key: SOLR-2222
>                 URL: https://issues.apache.org/jira/browse/SOLR-2222
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Andreas Laager
>
> When merging one core into an other one could get multiple documents for one uniqueKey. As a result the facet counts are wrong.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (SOLR-2222) Merge duplicates documents with uniqueKey

Posted by "Andreas Laager (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929577#action_12929577 ] 

Andreas Laager commented on SOLR-2222:
--------------------------------------

I've read this that Lucene does not care about the unique key. But where does the uniqueKey configuration in the schema.xml come from? Is that part of SOLR? If yes then also SOLR should also care about it on merging cores.

Our system is using solr with a live core dedicated for inserts that gets merged into a search core from time to time. We expect a better search performance out of this. I expect a negativ performance impact when I have to handle all the duplicated documents after the merge. 

> Merge duplicates documents with uniqueKey
> -----------------------------------------
>
>                 Key: SOLR-2222
>                 URL: https://issues.apache.org/jira/browse/SOLR-2222
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Andreas Laager
>
> When merging one core into an other one could get multiple documents for one uniqueKey. As a result the facet counts are wrong.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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