Look at the core admin API in Solr, the MERGEINDEXES action...
On Feb 22, 2016 17:41, "jeba earnest" <ernest.j...@gmail.com> wrote:

> My requirement is to add the index folder to the solr data directory. I am
> generating a lucene index by mapreduce program. And later I would like to
> merge the index with the solr index without bringing the solr down.
>
> I actually tried index merger tool but this tool works when the solr is
> down.
>
> Is there a possibility to merge the segments. Will that solve my problem?
>
>
> What is this API does?
>
>
> https://lucene.apache.org/core/4_6_0/core/org/apache/lucene/index/IndexWriter.html#addIndexes(org.apache.lucene.store.Directory
> ..
> .)
>
> Jeba
>

Reply via email to