Is there a way to restrict the updation of a particular field while indexing a document.
For example I have a field 'name' which is of type text and I index a document , next time I try to change this 'name' either it should throw me an erro or should not accept the new value.
Hi @warkolm
If suppose I try to index a document the 2nd time and this time the name field is changed from "Tom" to "Bob" , I want to prevent this change , restrict a field from being updated.
As far as I know enabling field level security gives a read only view of the index so I do not think it is a solution. This is not possible in Elasticsearch so is something you would control in your code when indexing or updating the data.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.