如何优化solr指数 [英] How to optimize solr index
本文介绍了如何优化solr指数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何优化solr指数。
我想优化我的solr索引,我尝试在solrconfig.xml中更改它被索引但我想知道如何验证它们是否已经过优化以及哪些内容涉及索引优化。
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 and with which thing are involve in index optimization.
推荐答案
我发现这是优化Solr索引的最简单方法。在我的上下文中,优化意味着合并所有索引段。
I find this to be the easiest way to optimize a Solr index. In my context "optimize" means to merge all index segments.
curl http://localhost:8983/solr/<core_name>/update -F stream.body=' <optimize />'
这篇关于如何优化solr指数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文