CSHARP-874: added support for setting weights on a text index.