How to update property index mapping


Sergey Volkov <sergeym...@...>
 

Hi all!

I have Janusgraph with Scylla and Elasticsearch as a backend. I created a schema using management API and one of the properties had a defintion like this

janusGraphManagement.addIndexKey(graphIndex, propertyKey, Mapping.TEXT.asParameter());


After ingesting all the data I realized that we need a keyword search as well, so I would like to modify the definition and reindex, and os if I created it from scratch it would be like this

janusGraphManagement.addIndexKey(graphIndex, propertyKey, Mapping.TEXTSTRING.asParameter());


But I did not find any recipe of how to do that. Could you please advise?