gpt4 book ai didi

c# - Elasticsearch CommonTerms Name属性说明

转载 作者:行者123 更新时间:2023-12-03 00:55:04 26 4
gpt4 key购买 nike

我是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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com