lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] [Updated] (SOLR-1331) Support merging multiple cores
Date Thu, 16 Jun 2011 11:27:47 GMT


Shalin Shekhar Mangar updated SOLR-1331:

    Attachment: SOLR-1331.patch

Adds a srcCore (multi-valued) parameter through which one or more source core names can be

We use the IW.addIndexes(IndexReader...) method to merge the source core's indexes to the
target core's index. Even if an IW is open on the source indexes, using a reader protects
against corruption.

Note - although the indexDir param also ends up calling the IW.addIndexes(IndexReader...)
method, we cannot protect against open IWs on the directory so the caveat of calling commit
before using mergeindexes with indexDir param still applies.

A commit needs to be called after a merge action to see the changes.

> Support merging multiple cores
> ------------------------------
>                 Key: SOLR-1331
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: multicore
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 3.3
>         Attachments: SOLR-1331.patch
> There should be a provision to merge one core with another. It should be possible to
create a core, add documents to it and then just merge it into the main core which is serving
requests. This way, the user will not need to know the filesystem as it is needed for SOLR-1051

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message