向现有 Solr 索引添加新字段
Adding a new field to existing Solr index
我正在使用 Solr 4.3.0,我正在尝试向其索引中添加一个新字段。
我已将字段添加到 xml-data-config.xml:
<field column="session_garantie" xpath="/produits/stage/sessions/session/@garantie" />
并且我已将该字段添加到 schema.xml:
<field name="session_garantie" type="string" indexed="true" stored="true" multiValued="true"/>
但我仍然没有在查询结果中找到我的字段。为什么?是否有我应该清理的缓存?
我刚刚重新启动了我正在使用的 Solr Core。
谢谢 。
我正在使用 Solr 4.3.0,我正在尝试向其索引中添加一个新字段。
我已将字段添加到 xml-data-config.xml:
<field column="session_garantie" xpath="/produits/stage/sessions/session/@garantie" />
并且我已将该字段添加到 schema.xml:
<field name="session_garantie" type="string" indexed="true" stored="true" multiValued="true"/>
但我仍然没有在查询结果中找到我的字段。为什么?是否有我应该清理的缓存?
我刚刚重新启动了我正在使用的 Solr Core。 谢谢 。