検索結果が異常に長いため、特定のスコアで足切りしたい....
以下のように、min_score
を指定することで解決できます。
ex) score=8.0 で足切り
GET /{index_name}/_search
{
"from":0,
"size":100,
"min_score": 8.0, <= ココ
"query":{
...省略
}
}
Go to list of users who liked
More than 1 year has passed since last update.
検索結果が異常に長いため、特定のスコアで足切りしたい....
以下のように、min_score
を指定することで解決できます。
ex) score=8.0 で足切り
GET /{index_name}/_search
{
"from":0,
"size":100,
"min_score": 8.0, <= ココ
"query":{
...省略
}
}
Register as a new user and use Qiita more conveniently
Go to list of users who liked