NopCommerce、C#、MVC、Elastic Search 多个参数
NopCommerce, C#, MVC, Elastic Search multiple parameters
有人知道如何使用 c# 在弹性搜索中传递多个参数吗?
以及如何使用C#在弹性搜索中连接多个表?
var result= ConnectionToES.EsClient().Search<StoreMapping>(s => s
.MatchAll()
.From(0)
.Size(100000)
.Index("IndexName")
.Type("typeName")
.Query(q => q.Term(j => j.EntityName, "product") && q.Term(j => j.StoreId, StoreID)));
有人知道如何使用 c# 在弹性搜索中传递多个参数吗? 以及如何使用C#在弹性搜索中连接多个表?
var result= ConnectionToES.EsClient().Search<StoreMapping>(s => s
.MatchAll()
.From(0)
.Size(100000)
.Index("IndexName")
.Type("typeName")
.Query(q => q.Term(j => j.EntityName, "product") && q.Term(j => j.StoreId, StoreID)));