作为返回对象的一部分,Algolia视图匹配分数 /置信度级别

发布于 2025-02-04 23:56:56 字数 996 浏览 1 评论 0原文

我们正在使用Algolia根据用户搜索标准显示结果列表。我们需要了解结果的置信度,以便我们可以将结果滤除到一定水平以下。

前任。 如果有100个记录,我们只想显示置信度高于90%的记录。这可以是5个记录,也可以是50个记录。它不是由返回列表中的索引值 /位置确定的。它的基于

添加GetRankingInfo字段的分数返回与匹配的查询有关的以下内容,我们将结果限制在5:

{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":6,"userScore":4216,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}
{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":6,"userScore":4210,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}
{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":8,"userScore":7801,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}
{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":8,"userScore":4215,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}
{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":8,"userScore":4214,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}

是否有人对如何使用下面的信息达到“信心”级别有建议吗?

We are using Algolia to display a list of results based on the users search criteria. We need to know the confidence level of results so that we can filter out results below a certain level.

Ex.
If there are 100 records, we only want to display the records with a confidence level above 90%. This can either be 5 records, or 50 records. It's not determined by the index value / position in the returned list. Its based on the score

Adding the getRankingInfo field returns the following for a query with matches, we limited the results to 5:

{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":6,"userScore":4216,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}
{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":6,"userScore":4210,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}
{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":8,"userScore":7801,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}
{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":8,"userScore":4215,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}
{"nbTypos":0,"firstMatchedWord":0,"proximityDistance":8,"userScore":4214,"geoDistance":0,"geoPrecision":1,"nbExactWords":4,"words":5,"filters":0}

Does anyone have a suggestion on how to use the information below to get to a "confidence" level?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文