Delete documents with version 0 with query


#1

Hello There,

I am trying to use delete_by_query to delete some documents for a particular index. But it fails with illegal version value and I read that delete_by_query cannot be used to delete documents with index version zero. Is there any particular reason why is it so? And also is there any way to delete documents with index version zero as I can't delete the entire index. This is in production and high priority.

Error:
Validation Failed: 1: illegal version value [0] for version type [INTERNAL];

Request to help. Thanks in advance.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.