vespa - 如何在 vespa 中正确使用字段集?
问题描述
我在运行 vespa-deploy prepare 命令时看到了这样的警告
The matching settings for the fields in fieldset 'default' are inconsistent (explicitly or because of field type). This may lead to recall and ranking issues.
The normalization settings for the fields in fieldset 'default' are inconsistent (explicitly or because of field type). This may lead to recall and ranking issues
The stemming settings for the fields in the fieldset 'default' are inconsistent (explicitly or because of field type). This may lead to recall and ranking issues.
在浏览了一些文档之后,我几乎可以肯定这与字段集有关。是什么导致了这些警告?如何修复?
解决方案
如果您在字段集中引用的字段在任何匹配、词干或规范化(由字段类型给出的显式或隐式给出)中具有不同的设置,则会得到此信息。查询仅使用一组配置进行处理,而在索引期间在文档方面,每个字段都使用其自己的设置进行处理,因此具有不同的设置可能会导致召回问题。
推荐阅读
- c++ - 将现有的 shared_ptr 附加到 shared_ptr 的向量
- java - 如何根据实体变量名获取实际的列名?
- css - CSS 文件对 Vue 产品构建没有影响
- pine-script - 想将三元运算符转换为循环
- java - Apache Camel ThreadPoolExecutor(InMemorySagaService) RequestContext 问题
- php - HTTP 到 HTTPS 新 SSL
- rest-assured-jsonpath - 当我尝试匹配 json 数组中的双精度值时,它会失败,预期值周围有尖括号。这是什么意思?
- python - 如何在 Pandas 中使用缺失值的聚合函数
- python - 将空行转换为熊猫中的列
- swift - 如何在 UIActionSheet 中添加多行文本