If you're just _adding new fields_, then changing the schema is
sufficient, you don't need to re-index. Of course docs that have not
been re-indexed after the schema change won't have the data for the
new field(s).

You don't need to restart Solr, just issue a collections API RELOAD command.

There are a very few other changes that don't need complete
reindexing, but it's pretty easy to shoot yourself in the foot if you
don't. So my rule of thumb is to always re-index all my data, usually
into a new collection whenever I change field definitions for
_existing_ fields then use collection aliasing to atomically switch to
the new index...

Best,
Erick

On Fri, Dec 21, 2018 at 11:25 AM John Milton <johnmilton....@gmail.com> wrote:
>
> Hi Solr Team,
>
> We are using Solr cloud and storing all my application log in Solr only.
> For some features or new field add or copy field generation, if I change my
> schema and upload it to zookeeper,  am I need to reindex all the data? Or
> need to restart is enough?
>
> Thanks,
> John Milton

Reply via email to