Re: Index writer addIndexes method not working

2016-02-24 Thread Erick Erickson
Look at the core admin API in Solr, the MERGEINDEXES action... On Feb 22, 2016 17:41, "jeba earnest" 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 writer addIndexes method not working

2016-02-21 Thread jeba earnest
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.

Re: Index writer addIndexes method not working

2016-02-15 Thread Binoy Dalal
I don't know how fitting this solution might be but I'll have a go. You could have a separate core that is an exact replica of your current core. Merge your created index with that core and then after loading it, swap it with your original one. This can be done at runtime. Then merge your original

Index writer addIndexes method not working

2016-02-15 Thread jeba earnest
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.