Hi Shubham, Changing type is not allowed without full reindexing. If you do something like that, Solr will end up with segments with different types for the same field. Remember that segments are immutable and that reindexing some document will be in new segment, but old segment will still be there and at query type Solr will have mismatch between what is stated in schema and what is in segment. In order to change type you have to do full reindexing - create a new collection and reindex all documents.
HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 22 Oct 2019, at 09:25, Shubham Goswami <shubham.gosw...@hotwax.co> wrote: > > Hello Community > > I have indexed some documents for which solr has taken its type="plongs" by > auto guessing but i am trying to change its type="pint" and re-indexing the > same data with the same id and indexing the data with different id where id > is unique key but it is showing error. > > Can somebody please let me know if it is possible or not, if not possible > then why it is not possible as i am using different id as well ? if > possible then how we could achieve it ? > Any help will be appreciated. Thanks in advance. > > -- > *Thanks & Regards* > Shubham Goswami > Enterprise Software Engineer > *HotWax Systems* > *Enterprise open source experts* > cell: +91-7803886288 > office: 0731-409-3684 > http://www.hotwaxsystems.com