Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to properly use fieldsets in vespa?

Tags:

vespa

I'm seeing a warnings like these when running vespa-deploy prepare command

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.

After going through some documentation, I'm almost sure that this is something related to fieldsets. What is causing these warnings? How can it be fixed?

like image 787
Raghu Venmarathoor Avatar asked Oct 24 '25 17:10

Raghu Venmarathoor


1 Answers

You get this if your fields referenced in the fieldset has different settings in any of the matching,stemming or normalization (explicit or implicit given by the field type). Query is only processed using one set of configuration while on the document side during indexing each field is processed with it's own settings hence having different settings might lead to recall issues.

like image 91
Jo Kristian Bergum Avatar answered Oct 26 '25 18:10

Jo Kristian Bergum



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!