On 8/7/23 08:28, Vishal Patel wrote:
We are using Solr 8.9.0. We have configured Solr cloud like 2 shards and each 
shard has one replica. We have used 5 zoo keepers for Solr cloud.
We want to remove one schema field with their data from one collection. After 
removing field from schema, whole collection index is required or not? Because 
we have above 30 million data so it will take time to re-index.
Can we remove schema field with data in Solr without re-index?

You can remove the field from the schema, and as long as nothing tries to query or index that field, it won't cause problems, but that will not affect the actual index. To delete the data you'll need to fully reindex.

You should be prepared to initiate a full reindex at any time. Most schema changes require a reindex.

SolrCloud offers the ability to index into a new collection and then create an alias after the new collection is built so that applications do not need to be reconfigured.

Thanks,
Shawn

Reply via email to