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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2021-11-20
  • 2021-11-29
  • 2022-01-08
  • 2021-09-11
猜你喜欢
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-08-15
  • 2021-06-16
  • 2021-12-25
相关资源
相似解决方案