标签: c# elasticsearch nest
如何为弹性搜索索引创建丹麦语分析器?
以下是我创建索引设置的代码:
new IndexSettingsBuilder() .NumberOfShards(Shards) .NumberOfReplicas(Replicas) .Analyzer(a => a.Language("PHR", c => c.Type(LanguageAnalyzerTypes.danish))) ) .Build();