Re: Solr Data Import Handler

2017-02-12 Thread Alexandre Rafalovitch
They don't have to wait because they are not synchronized on anything AFAIK. I do believe they need to be registered as different request handler names in solrconfig.xml But you need to be careful if they both/all wipe out data before indexing new one. Those calls could overlap. Regards, Alex.

Re: Solr Data Import Handler

2017-02-12 Thread Dave
That sounds pretty much like a hack. So if two imports happen at the same time they have to wait for each other? > On Feb 12, 2017, at 4:01 PM, Shawn Heisey wrote: > >> On 2/12/2017 10:30 AM, Minh wrote: >> Hi everyone, >> How can i run multithreads of DIH in a cluster for a collection? > > Th

Re: Solr Data Import Handler

2017-02-12 Thread Shawn Heisey
On 2/12/2017 10:30 AM, Minh wrote: > Hi everyone, > How can i run multithreads of DIH in a cluster for a collection? The DIH handler is single-threaded. It used to have a config option for multiple threads, but it was removed since it didn't actually work. If you create multiple DIH handlers and