flowable交流群:633168411

solr调优

 

修改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" />

 

posted @ 2014-08-15 16:01  小学生05101  阅读(285)  评论(0编辑  收藏  举报
flowable交流群:633168411