HHG
HHG

Reputation: 100

<copyField> issue on solr server

I have one field on my SOLR,

<field name="term" type="string" indexed="true" stored="true" />

but i need to change type of this field to 'string_ci'(this one is custom made type as for my concern) to 'string'. and as i have lots of records in my SOLR server i can't change this type directly. so for that i have add new field,

<field name="termNew" type="string_ci" indexed="true" stored="false" /> 

and also add one more field

<copyField source='term' dest='termNew'> .

my question is , will it update all my already existed records after add this <copyField> tag?

Upvotes: 0

Views: 62

Answers (1)

freedev
freedev

Reputation: 30057

No, you have to re-index the whole collection/core.

Upvotes: 2

Related Questions