https://www.elastic.co/guide/en/elasticsearch/guide/current/_finding_multiple_exact_values.html
{
"terms" : {
"price" : [20, 30]
}
}
我们可以在此搜索中添加的最大值是多少?
“价格”:[20,30,40,50,10,11,12 ......最大搜索值]
谢谢!
https://www.elastic.co/guide/en/elasticsearch/guide/current/_finding_multiple_exact_values.html
{
"terms" : {
"price" : [20, 30]
}
}
我们可以在此搜索中添加的最大值是多少?
“价格”:[20,30,40,50,10,11,12 ......最大搜索值]
谢谢!
1 回答
searain,
最大术语数为1024,您仍然可以使用更高的数字(如果您将其用于bool运算符):
进入.yml配置文件 .