What if I add new field to schema, do I have to rebuild existing index data? In 
this article: 

Sitecore Blogger: Boost newer documents in Sitecore 7 and Solr 4
http://www.sitecoreblogger.com/2014/09/publication-date-boosting-in-sitecore-7.html

, it add a new field "_val" to schema and in the paragraph "Update Solr 
Schema", the author writes "you will either need to re-load this Solr Core or 
restart Solr so it picks up the new Schema.xml.". He never mention "rebuild 
existing index data". It sounds to me there's no need to "reindex" data.

scott.chu,scott....@udngroup.com
2016/6/22 (週三)
----- Original Message ----- 
From: Alexandre Rafalovitch 
To: solr-user 
CC: 
Date: 2016/6/22 (週三) 14:52
Subject: Re: Do we really need to build all existing index data again 
afterchanging schema? [scottchu]


Well, if you are changing query analyzer chain, you can get away 
without reindexing. 

But if you change index analyzer chain, then your older tokens are 
stored in a different ways. Even if Solr does not complain, it will 
not match and may lead to very obscure issues. 

And if you change the type radically (String to text or to integer), I 
am quite sure Solr will complain a lot. 


Regards, 
   Alex. 
---- 
Newsletter and resources for Solr beginners and intermediates: 
http://www.solr-start.com/ 


On 22 June 2016 at 16:49, scott.chu <scott....@udngroup.com> wrote: 
> 
> According to https://wiki.apache.org/solr/HowToReindex, If I understand 
> right, once we change schema after index built, we have to rebuild all index 
> again. Is there really no other way to keep existing index data and still 
> apply new schema? 
> 
> scott.chu,scott....@udngroup.com 
> 2016/6/22 (週三) 


----- 
未在此訊息中找到病毒。 
已透過 AVG 檢查 - www.avg.com 
版本: 2015.0.6201 / 病毒庫: 4604/12468 - 發佈日期: 06/21/16 

Reply via email to