<!-- GitHub is reserved for bug reports and feature requests. The best place to ask a general question is at the Elastic Discourse forums at https://discuss.elastic.co. If you are in fact posting a bug report or a feature request, please include one and only one of the below blocks in your new issue. --> <!-- If you are filing a bug report, please remove the below feature request block and provide responses for all of the below items. --> **NEST/Elasticsearch.Net version**: 7.4.1 **Elasticsearch version**: 7.3.0 The position_increment_gap can't be specified in the case of the custom analyzer. Only **PositionOffsetGap** (see **ICustomAnalyzer.PositionOffsetGap**) is available but it looks like its **deprecated** and ignored by Elastic Search (see https://www.elastic.co/guide/en/elasticsearch/reference/7.5/analysis-custom-analyzer.html#) Seems it has been renamed to position_increment_gap. <!-- If you are filing a feature request, please remove the above bug report block and provide responses for all of the below items. -->