摘要: /// <summary> /// Dynamic = false无法搜索 /// </summary> public void Dynamicmapping() { var response = client.IndexExists("employee"); if (!response.Exists) { client.CreateIndex("employee"); } client.Map< 阅读全文
posted @ 2019-09-24 16:23 chester·chen 阅读(320) 评论(0) 推荐(0) 编辑
摘要: public void SetAnalysis() { if (!client.IndexExists("employee").Exists) { client.CreateIndex("employee", i => i.Settings( ... 阅读全文
posted @ 2019-09-24 11:11 chester·chen 阅读(375) 评论(0) 推荐(0) 编辑