Implementation of INDEX_DOCUMENT_NEW, INDEX_DOCUMENT_ADD_VALUE and
INDEX_DOCUMENT_UPDATE scripts commands