updateRequestProcessorChain无法用于Solr文档

问题描述

在我的solr核心中,我没有看到在文档中创建的aList_s。我没有在db-data-config.xml中指定它,并且bList没有转换为单个值。我已经在db-data中指定了它-config.xm。 ,我仍然bList具有multivalue。使用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" />

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)