Closed
Description
Elastic.Clients.Elasticsearch version: 8.17.4
Elasticsearch version: tried on both: 8.13.0 and 8.18.0
.NET runtime version: .NET 8
Operating system version: Windows 11
Description of the problem including expected versus actual behavior:
I'm moving from NEST for elastic7 to the new driver. I'm mapping a field with this code
mapping.Properties["securityTokens"] = new TextProperty()
{
Analyzer = "not_analyzed_lowercase",
SearchAnalyzer = "not_analyzed_lowercase",
};
But the SearchAnalyzer settings seems to be missing, actually I've a unit test that read the mapping from the index to verify that everything is correct and SearchAnalyzer settings is null.
Expected behavior
SearchAnalyzer should be set correctly on index mapping. I've verified using the _mapping endpoint that the mapping is incorrect.