Skip to content
Discussion options

You must be logged in to vote

Hi!

Instead of duplicating the field you could use tensorFromLabels(attribute,dimension): see https://docs.vespa.ai/en/reference/ranking/rank-features.html#document-features.

But what you probably want is to use one of the multi-value attribute rank features: https://docs.vespa.ai/en/reference/ranking/rank-features.html#features-for-indexed-multivalue-string-fields

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bratseth
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants