cancel
Showing results for 
Search instead for 
Did you mean: 

How to override previous schema configuration in Elastic Search in Nuxeo

dipesh_kc
Champ on-the-rise
Champ on-the-rise

I had one of my field 'published_date' as 'timestamp' datatype.But eventually I had to make it as 'string' . I corrected in my schema file. But both db and elastic search suggested that it must be timestamp while adding new record.

I solved in db by deleting previous table from db......and new table was created by server with corrected schema.

But I dont know how to solve in elasticSearch.It still says that 'published_date' must be 'timestamp' datatype.(I know its data is stored in data folder inside nxsever, but i dont know how to delete its previous schema)

1 ACCEPTED ANSWER

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello,

You'd better create another property and not edit an existing property type: this is always risky.

Regards

View answer in original post

2 REPLIES 2

michal_m
Confirmed Champ
Confirmed Champ

This will not directly answer your question, but I would never recommend to change the type of an atrribute. You can be sure of side effects you won't predict - there are some already.

I would add a new field, migrate values and remove the old one. Guaranteed it will save a lot of time - but again, thats my approach.

Sent from my Android phone using TouchDown (www.symantec.com)

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello,

You'd better create another property and not edit an existing property type: this is always risky.

Regards

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.