0

我使用 DIH 将数据从 sybase 数据库加载到 Solr。到目前为止一切正常。现在我决定,我不想再加载某个字段了。所以我删除了 data-config.xml 中的以下行 <field column="BibCode" name="bibcode"/> 。然后我删除了所有数据(/solr/update?stream.body= :和 /solr/update?stream.body=),重新启动 tomcat 并开始完全导入。当我现在搜索时,字段 bibcode 仍然包含内容,我不明白它来自哪里。

我究竟做错了什么?

4

1 回答 1

0

您需要从query您的中删除该字段data-config.xml或将其从中删除schema.xml

http://wiki.apache.org/solr/DataImportHandler#A_shorter_data-config

于 2011-07-17T06:58:47.317 回答