簡體   English   中英

向現有的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。 謝謝 。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM