How to configure Solr for improved indexing speed

前端 未结 2 440
挽巷
挽巷 2021-02-07 15:13

I have a client program which generates a 1-50 millions Solr documents and add them to Solr.
I\'m using ConcurrentUpdateSolrServer for pushing the documents from the client,

2条回答
  •  我在风中等你
    2021-02-07 15:35

    In addition to what was written above, when using SolrCloud, you may want to consider using the CloudSolrClient when using SolrJ. The CloudSolrClient client class is Zookeeper aware and is able to directly connect to the leader shard speeding up the indexing in some cases.

提交回复
热议问题