Open leapoly opened 2 months ago
Typesense supports override_tags as we can see here https://typesense.org/docs/26.0/api/curation.html#add-tags-to-rules but it isn't supported here https://github.com/typesense/typesense-go/blob/master/typesense/api/types_gen.go#L586.
override_tags
override := &api.SearchOverrideSchema{ Rule: api.SearchOverrideRule{ Query: "apple", Match: "exact", }, Includes: []api.SearchOverrideInclude{ { Id: "422", Position: 1, }, { Id: "54", Position: 2, }, }, Excludes: []api.SearchOverrideExclude{ { Id: "287", }, }, } client.Collection("companies").Overrides().Upsert(context.Background(), "customize-apple", override)
override := &api.SearchOverrideSchema{ Rule: api.SearchOverrideRule{ Query: "apple", Match: "exact", Tags: ["apple", "iphone"] }, Includes: []api.SearchOverrideInclude{ { Id: "422", Position: 1, }, { Id: "54", Position: 2, }, }, Excludes: []api.SearchOverrideExclude{ { Id: "287", }, }, } client.Collection("companies").Overrides().Upsert(context.Background(), "customize-apple", override)
The tags are omitted.
Typesense Version: 1.1.0
OS: Mac
Description
Typesense supports
override_tags
as we can see here https://typesense.org/docs/26.0/api/curation.html#add-tags-to-rules but it isn't supported here https://github.com/typesense/typesense-go/blob/master/typesense/api/types_gen.go#L586.Steps to reproduce
Expected Behavior
Actual Behavior
The tags are omitted.
Metadata
Typesense Version: 1.1.0
OS: Mac