You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Nitin Solanki <ni...@gmail.com> on 2015/01/22 06:53:38 UTC

If I change schema.xml then reIndex is neccessary in Solr or not?

I *indexed* *2GB* of data. Now I want to *change* the *type* of *field*
from *textSpell* to *string* type into

*schema.xml.*
Detail Explanation on Stackoverflow. Below is the link:

http://stackoverflow.com/questions/28072109/if-i-change-schema-xml-then-reindex-is-neccessary-in-solr-or-not/28073815#28073815

Re: If I change schema.xml then reIndex is neccessary in Solr or not?

Posted by Shawn Heisey <ap...@elyograg.org>.
On 1/22/2015 6:25 AM, Vishal Swaroop wrote:
> We noticed that SOLR/ Tomcat also needs a restart... is it same for you
> also ?

For a change in solrconfig or schema to become effective, the core or
collection must be reloaded, or a container restart is required.  Once
the change is active because of the reload or restart, a reindex may be
required, depending on the nature of the change.

Thanks,
Shawn


Re: If I change schema.xml then reIndex is neccessary in Solr or not?

Posted by Vishal Swaroop <vi...@gmail.com>.
We noticed that SOLR/ Tomcat also needs a restart... is it same for you
also ?

Regards


On Thu, Jan 22, 2015 at 2:11 AM, Nitin Solanki <ni...@gmail.com> wrote:

> Ok. Thanx
>
> On Thu, Jan 22, 2015 at 11:38 AM, Gora Mohanty <go...@mimirtech.com> wrote:
>
> > On 22 January 2015 at 11:23, Nitin Solanki <ni...@gmail.com> wrote:
> > > I *indexed* *2GB* of data. Now I want to *change* the *type* of *field*
> > > from *textSpell* to *string* type into
> >
> > Yes, one would need to reindex.
> >
> > Regards,
> > Gora
> >
>

Re: If I change schema.xml then reIndex is neccessary in Solr or not?

Posted by Nitin Solanki <ni...@gmail.com>.
Ok. Thanx

On Thu, Jan 22, 2015 at 11:38 AM, Gora Mohanty <go...@mimirtech.com> wrote:

> On 22 January 2015 at 11:23, Nitin Solanki <ni...@gmail.com> wrote:
> > I *indexed* *2GB* of data. Now I want to *change* the *type* of *field*
> > from *textSpell* to *string* type into
>
> Yes, one would need to reindex.
>
> Regards,
> Gora
>

Re: If I change schema.xml then reIndex is neccessary in Solr or not?

Posted by Gora Mohanty <go...@mimirtech.com>.
On 22 January 2015 at 11:23, Nitin Solanki <ni...@gmail.com> wrote:
> I *indexed* *2GB* of data. Now I want to *change* the *type* of *field*
> from *textSpell* to *string* type into

Yes, one would need to reindex.

Regards,
Gora