Skip to content

Commit

Permalink
Remove embeddings from fieldset
Browse files Browse the repository at this point in the history
Deals with the error:
```
WARNING For schema '...', fieldset 'default': Tensor fields ['...']
cannot be mixed with non-tensor fields ['...'] in the same fieldset.
See https://docs.vespa.ai/en/reference/schema-reference.html#fieldset
```
  • Loading branch information
olaughter committed Aug 29, 2024
1 parent 06fcd2d commit af72396
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ schema document_passage {
import field search_weights_ref.passage_weight as passage_weight {}

fieldset default {
fields: text_block, text_embedding
fields: text_block
}

document-summary search_summary {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ schema family_document {
import field search_weights_ref.description_weight as description_weight {}

fieldset default {
fields: family_name_index, family_description_index, family_description_embedding
fields: family_name_index, family_description_index
}

rank-profile exact inherits default {
Expand Down

0 comments on commit af72396

Please sign in to comment.