solr - filterCache 中的大小参数单位
问题描述
我正在读一本书 Solr 并到达了解释 filterCache 及其配置的部分。这是一个示例配置:
<filterCache class="solr.FastLRUCache"
size="512"
initialSize="512"
autowarmCount="0"/>
我对 和 的单位(条目)感到size
困惑initialSize
autowarmCount
文档说:
size - the maximum number of entries in the cache
initialSize - the initial capacity (number of entries) of
the cache. (see java.util.HashMap)
autowarmCount - the number of entries to prepopulate from
and old cache.
category:book
如果我没看错,一个条目是(or )的键值对category:car
和匹配过滤器的文档。它与缓存的实际大小(以 MB 为单位)无关。我做对了吗?
解决方案
推荐阅读
- python - 如何修复 2 位数字总和的 Python 代码中的 ValueError?
- html - 如何在输入标签中使用 runat = "server"?
- laravel - Laravel 护照刷新令牌
- java - Jersey 2.27 - 使用 ExceptionMapper 处理错误时不接收 JSON
- angular - 在 Angular 7 单元测试中测试变换
- git - 从现有项目创建一个 git repo,并运行 `git diff`
- android - 应用程序不显示 Android Pie
- flutter - Flutter 动画在第一次渲染时不流畅
- fiware - 关于FIWARE 7.5版本中各个组件的版本
- c# - 如何在后端asp.net mvc中控制图像的大小