MDL-31989: Added support for indexing rich documents in forum