How to optimize solr index

前端 未结 6 2064
后悔当初
后悔当初 2021-01-04 06:02

How to optimize solr index. I want to optimize my solr indexing for i try to change in solrconfig.xml it getting indexed but i want to how to verify that they are optimized

6条回答
  •  迷失自我
    2021-01-04 06:23

    For testing how much a change you do optimize the indexing, just write a custom indexer and add random generated content. Add a big number of documents (500.000 or 1.000.000) and measure the time it takes.

    Following the articles shared above I made to myself a custom indexer and I mananged to optimize the time it took to index documents by 80%.

提交回复
热议问题