DOCS-2531 and DOCS-2782 text index downgrade