Mailing List Archive

Datatype change in solr
Hello,

I had defined one of my field as string and indexed the data but it is of type integer. Now when I try to change the field type as tint ,to allow sorting to be performed on that field ,I am getting Async distributed error.
I have deleted the document with that id.


Is there a way to change the field types without deleting the index ?


Thanks,
manjunath
Re: Datatype change in solr [ In reply to ]
Have you considered adding a copyfield and reindexing? Less disruptive.

On Wed, Feb 8, 2017 at 11:33 PM, Manjunath N S (mans3) <mans3@cisco.com>
wrote:

> Hello,
>
> I had defined one of my field as string and indexed the data but it is of
> type integer. Now when I try to change the field type as tint ,to allow
> sorting to be performed on that field ,I am getting Async distributed error.
> I have deleted the document with that id.
>
>
> Is there a way to change the field types without deleting the index ?
>
>
> Thanks,
> manjunath
>
>
>


--

*Xavier Morera*

Entrepreneur | Author & Trainer | Consultant | Developer & Scrum Master

*www.xaviermorera.com <http://www.xaviermorera.com/>*

office: (305) 600-4919

cel: +506 8849-8866

skype: xmorera
Twitter <https://twitter.com/xmorera> | LinkedIn
<https://www.linkedin.com/in/xmorera> | Pluralsight Author
<http://www.pluralsight.com/author/xavier-morera>