Or why not just index it all into the same core/collection and use
fq:date[date1 TO date2] to restrict the searches?

Best,
Erick

On Thu, May 25, 2017 at 8:18 AM, Susheel Kumar <susheel2...@gmail.com> wrote:
> Didn't understand what exact use case you have and why you need two
> different index. Can't same monthly indexing and daily indexing job update
> same index  or  you create different core / collection and utilise
> collection aliasing to switch back and forth.
>
> On Thu, May 25, 2017 at 3:13 AM, ankur.168 <ankur.15...@gmail.com> wrote:
>
>> Hi All,
>>
>> I am using SOLR 4.6, I am running quartz job to trigger solr indexing. I
>> have requirement to maintain index in different locations for different
>> jobs. For ex. I have daily indexing job and monthly indexing job, so I want
>> to main 2 different index location for both. Is there a way we can change
>> data dir on fly in solr 4.6?
>>
>> --Ankur
>>
>>
>>
>> --
>> View this message in context: http://lucene.472066.n3.
>> nabble.com/change-data-dir-on-fly-in-solr-4-6-tp4337098.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>

Reply via email to