You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by L'HARHANT Mikael <mi...@francetravail.fr> on 2024/06/27 20:29:09 UTC
Solr 9.2.1 : Change caseSensitive to caseInsensitive on a field
Hello,
I have, in the schema.xml, a field like this.
<field name="XXXXXXX" type="string" indexed="true" stored="false" docValues="true" required="false" />
And I want to change to something like :
<field name="XXXXXX" type="case_insensitive" indexed="true" stored="true" required="false" />
May I need to launch a reload of all the documents or is it possible to add an element in the < schema.xml > or via an backup / restore ?
Thanks.
Re: Solr 9.2.1 : Change caseSensitive to caseInsensitive on a field
Posted by Jan Høydahl <ja...@cominvent.com>.
Field type change requires full re-index. Either delete all then reindex or recreate collection.
Jan Høydahl
> 27. juni 2024 kl. 22:29 skrev L'HARHANT Mikael <mi...@francetravail.fr>:
>
> Hello,
>
> I have, in the schema.xml, a field like this.
>
> <field name="XXXXXXX" type="string" indexed="true" stored="false" docValues="true" required="false" />
>
> And I want to change to something like :
>
> <field name="XXXXXX" type="case_insensitive" indexed="true" stored="true" required="false" />
>
> May I need to launch a reload of all the documents or is it possible to add an element in the < schema.xml > or via an backup / restore ?
>
> Thanks.
>
>