码迷,mamicode.com
首页 > 其他好文 > 详细

solr调优

时间:2014-08-15 17:25:19      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:Lucene   strong   文件   for   ar   size   res   on   

 

修改solrconfig.xml文件

<filterCache
class="solr.LRUCache"
size="16384"
initialSize="4096"
autowarmCount="4096"/>

<!-- Query Result Cache

Caches results of searches - ordered lists of document ids
(DocList) based on a query, a sort, and the range of documents requested.
-->
<queryResultCache
class="solr.LRUCache"
size="16384"
initialSize="4096"
autowarmCount="1024"/>

<!-- Document Cache

Caches Lucene Document objects (the stored fields for each
document). Since Lucene internal document ids are transient,
this cache will not be autowarmed.
-->
<documentCache
class="solr.LRUCache"
size="16384"
initialSize="16384"/>

<!-- custom cache currently used by block join -->
<cache name="perSegFilter"
class="solr.search.LRUCache"
size="100"
initialSize="0"
autowarmCount="10"
regenerator="solr.NoOpRegenerator" />

 

solr调优,布布扣,bubuko.com

solr调优

标签:Lucene   strong   文件   for   ar   size   res   on   

原文地址:http://www.cnblogs.com/liuwenjun/p/3915108.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!