如何在vespa中正确使用字段集?

时间:2019-01-31 05:56:37

标签: 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.

在阅读了一些文档之后,我几乎可以确定这与字段集有关。是什么引起这些警告?怎么解决?

1 个答案:

答案 0 :(得分:2)

如果在字段集中引用的字段在任何匹配,词干或归一化(字段类型给定的显式或隐式)中具有不同的设置,则会得到此信息。查询仅使用一组配置进行处理,而在索引期间的文档方面,每个字段都使用其自身的设置进行处理,因此具有不同的设置可能会导致召回问题。