1. You could write some code to pull the items out of Mongo and dump
them to disk - if this is still slow, then it's Mongo that's the problem.
2. Write a standalone indexer to replace DIH, it's single threaded and
deprecated anyway.
3. Minor point - consider whether you need to index everything every
time or just the deltas.
4. Upgrade Solr anyway, not for speed reasons but because that's a very
old version you're running.
HTH
Charlie
On 17/08/2020 19:22, Abhijit Pawar wrote:
Hello,
We are indexing some 200K plus documents in SOLR 5.4.1 with no shards /
replicas and just single core.
It takes almost 3.5 hours to index that data.
I am using a data import handler to import data from the mongo database.
Is there something we can do to reduce the time taken to index?
Will upgrade to newer version help?
Appreciate your help!
Regards,
Abhijit
--
Charlie Hull
OpenSource Connections, previously Flax
tel/fax: +44 (0)8700 118334
mobile: +44 (0)7767 825828
web: www.o19s.com