Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Adding new field to the schema.xml

avatar
Expert Contributor

I like to add new field to the existing document which have 1 million records.

 

I doesn't want to lose the exiting documents.

 

sample exiting doucment:

 

id : 123

field1 : 'sample1'      ---------------- indexed

filed2 : 'sample 2'    -------------------- stored

 

Now I want to add new field to the schema.xml which is only stored attribute and its not need to be indexed.

 

<field name="field3" type="string" indexed="false" stored="true" required="false" multiValued="false"/>

 

I know like this can be achived with the solrctl reload option.

 

But my doubt is after adding new field. is it neccessary to reindex whole documents?

 

what is reindex?

My understanding is again I have to load data to solr.and I don't have backup of these data anywhere

 

please help me on this

 

Thanks in advance.

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
1 REPLY 1

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login