You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Walter Underwood <wu...@wunderwood.org> on 2023/04/27 17:08:09 UTC

Is a reindex required when changing a field to large=true?

We are looking at changing a field property to be large=true. Can we do that without reindexing?

Also, I’d appreciate pointers to discussions about the performance implications.

wunder
Walter Underwood
wunder@wunderwood.org
http://observer.wunderwood.org/  (my blog)


Re: Is a reindex required when changing a field to large=true?

Posted by Markus Jelsma <ma...@openindex.io>.
To correct a misconception:

> Hi by my experience any change to the schema collection require delete
the collecion, apply the schema change and charge again the collection to
apply the changes.

No, you only need to reindex if your schema modifications cause a change in
the index on disk, just as Shawn wrote. If you have separate analyzers for
query- and index-time, do not reindex is you make changes to the query-time
analyzer.

Regards,
Markus

Op vr 28 apr 2023 om 08:53 schreef DAVID MARTIN NIETO <dmartinn@viewnext.com
>:

> Hi by my experience any change to the schema collection require delete the
> collecion, apply the schema change and charge again the collection to apply
> the changes.
>
> Kind regards
> ________________________________
> De: Shawn Heisey <ap...@elyograg.org>
> Enviado: jueves, 27 de abril de 2023 19:25
> Para: users@solr.apache.org <us...@solr.apache.org>
> Asunto: Re: Is a reindex required when changing a field to large=true?
>
> On 4/27/23 11:08, Walter Underwood wrote:
> > We are looking at changing a field property to be large=true. Can we do
> that without reindexing?
> >
> > Also, I’d appreciate pointers to discussions about the performance
> implications.
>
> I did not know what that option was, had to look it up.
>
> That would not affect the index on disk in any way, so I do not believe
> a reindex is required.
>
> Thanks,
> Shawn
>

RE: Is a reindex required when changing a field to large=true?

Posted by DAVID MARTIN NIETO <dm...@viewnext.com>.
Hi by my experience any change to the schema collection require delete the collecion, apply the schema change and charge again the collection to apply the changes.

Kind regards
________________________________
De: Shawn Heisey <ap...@elyograg.org>
Enviado: jueves, 27 de abril de 2023 19:25
Para: users@solr.apache.org <us...@solr.apache.org>
Asunto: Re: Is a reindex required when changing a field to large=true?

On 4/27/23 11:08, Walter Underwood wrote:
> We are looking at changing a field property to be large=true. Can we do that without reindexing?
>
> Also, I’d appreciate pointers to discussions about the performance implications.

I did not know what that option was, had to look it up.

That would not affect the index on disk in any way, so I do not believe
a reindex is required.

Thanks,
Shawn

Re: Is a reindex required when changing a field to large=true?

Posted by Shawn Heisey <ap...@elyograg.org>.
On 4/27/23 11:08, Walter Underwood wrote:
> We are looking at changing a field property to be large=true. Can we do that without reindexing?
> 
> Also, I’d appreciate pointers to discussions about the performance implications.

I did not know what that option was, had to look it up.

That would not affect the index on disk in any way, so I do not believe 
a reindex is required.

Thanks,
Shawn