作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我是Elasticsearch的新手,但之前使用过Lucene.net。有人可以解释一下name参数的作用吗?因为我在网上找不到解释(在他们的官方文档页面上都没有:https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/common-terms-usage.html)。
我的意思是这个字段:.Name("named_query")
q
.CommonTerms(c => c
.Field(p => p.Description)
.Analyzer("standard")
.Boost(1.1)
.CutoffFrequency(0.001)
.DisableCoord()
.HighFrequencyOperator(Operator.And)
.LowFrequencyOperator(Operator.Or)
.MinimumShouldMatch(1)
.Name("named_query")
.Query("nelly the elephant not as a")
)
最佳答案
.Name()
映射到JSON查询DSL中的_name
。众所周知,Named queries可用于了解给定匹配匹配的bool
查询中的哪些查询。
关于c# - Elasticsearch CommonTerms Name属性说明,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45819782/
我是Elasticsearch的新手,但之前使用过Lucene.net。有人可以解释一下name参数的作用吗?因为我在网上找不到解释(在他们的官方文档页面上都没有:https://www.elasti
我是一名优秀的程序员,十分优秀!