If you’re reindexing anyway, I recommend you index to a new collection then use
“collection aliasing” to point to the new one, that’s cleanest.
There’s no way to rename fields. Further, the meta-data will be carried in the
index forever even if all docs have been reindexed into an existing
I don't think you can rename it in the index.
However, you may be able to rename it during the query:
https://lucene.apache.org/solr/guide/6_6/common-query-parameters.html#CommonQueryParameters-FieldNameAliases
Or, if you use eDisMax, during query rewriting:
Dear mailing list,
I would like to know:
Is there some simple way to rename a field in all documents in my solr index?
I am using a dynamic schema definition, and I've introduced some new
copyField-instructions. Those make it necessary to reindex all documents. It
would help me a great deal