跳过solr中特定字段的更新

跳过solr中特定字段的更新,solr,solrclient,Solr,Solrclient,我想跳过solr文档中特定字段的更新 我正在将数据从csv导入solr。从托管架构中添加了一个额外字段“RecCount”,如下所示: 案例1:如果我设置了默认值 <field name="RecCount" type="pint" indexed="true" stored="true" default="0"/> <field name="RecCount" type="pint" indexed="true" stored="true" /> 跳过更新记录字段的

我想跳过solr文档中特定字段的更新

我正在将数据从csv导入solr。从托管架构中添加了一个额外字段“RecCount”,如下所示:

案例1:如果我设置了默认值

<field name="RecCount" type="pint" indexed="true" stored="true" default="0"/>
<field name="RecCount" type="pint" indexed="true" stored="true" />

跳过更新记录字段的方法是什么?

csv索引处理程序允许设置一个名为“skip”的参数,该参数在导入过程中跳过字段名

那么您的实际更新请求是什么?看起来您只是向Solr发送相同的索引请求,而不是请求更新。如果您想更新文档(而不是将新文档索引到旧文档之上),您可以。
wget "$1" -O $DOWNLOADFILE
$SOLR_URL -c $SOLR_CORE $DOWNLOADFILE