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