我在C#上以 flex 方式批量上传时遇到错误-说超出了字段限制1000。
Limit of total fields [1000] in index
如何在C#中使用NEST增加字段限制?
最佳答案
在ElasticSearch.net的6.4版本中,我是这样进行的
var settings = new { index = new { mapping = new { total_fields = new { limit = 100000 } } } };
List<object> listOfSettings = new List<object>() { settings };
var setResp = _es.IndicesPutSettings<StringResponse>({Your Index name here}, PostData.MultiJson(listOfSettings));
关于elasticsearch - 使用C#NEST增加弹性体的磁场极限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43712263/