solr - updateRequestProcessorChain 不适用于 Solr 文档
问题描述
在我的 solr 核心中,我没有看到在我的文档中创建的 aList_s。我没有在 db-data-config.xml 中指定这个,并且 bList 没有转换为单个值。我在 db-data-config 中指定了这个。厘米。,我还是 bList 有多个值。使用 Solr5。我错过了什么吗?
My solrConfig.xml below
<updateRequestProcessorChain name="my-conversion">
<processor class="solr.CloneFieldUpdateProcessorFactory">
<str name="source">aList</str>
<str name="dest">aList_s</str>
</processor>
<processor class="solr.FirstFieldValueUpdateProcessorFactory">
<str name="fieldName">bList</str>
</processor>
</updateRequestProcessorChain>
My schema for this looks like
<field name="aList" type="string_ci" indexed="false" required="false" stored="true" multiValued="true" />
<field name="aList_s" type="string_ci" indexed="false" required="false" stored="true" multiValued="true" />
<field name="bList" type="string_ci" indexed="false" required="false" stored="true" multiValued="true" />
解决方案
推荐阅读
- javascript - 有没有办法修复 react 项目中的 browserslist 和 glob-parent 漏洞?
- html - 填充 100% 的视口,忽略父级的侧边距但尊重垂直滚动条
- html - 如何自动创建分页符?
- angular - @firebase/firestore:Firestore (7.24.0):无法访问 Cloud Firestore 后端。后端在 10 秒内没有响应 - Angular 12
- rust - 如何调试一些 Rust 代码以找出“if”语句不运行的原因?
- r - R 中的分箱生理时间序列数据:计算每个箱中花费的持续时间
- pki - 我如何知道新的公共 CA 何时发布?
- python - IntelliJ想法解决python venv依赖
- quarkus - 如何修复 Quarkus 中的“没有合适的日志实现”
- react-native - iOS 15 与Dimensions API 相关的渲染问题