Query timeout exception when i execute a update Niql

update TestDB set name=“Testor” where type=“TestSample”;
this is my query statement,there`re 2million docs.The query is shutdown abort while it is running because of the query timeout exception.Is there has any problems?

“errors”: [
{
“code”: 12015,
“msg”: “Index scan timed out - cause: Index scan timed out”
}
],