Closed cmigazzi closed 2 years ago
The query param split_join_tokens is not supported by SearchCollectionParams. I've checked the struct and haven't found the param definition.
split_join_tokens
SearchCollectionParams
Try to create search collection params with SplitJoinTokens:
SplitJoinTokens
searchParameters := &api.SearchCollectionParams{ Q: "test", QueryBy: "keywords", SplitJoinTokens: "always", }
No error and being able to use split_join_tokens as specified in Typesense documentation
Trigger an error: unknown field 'SplitJoinTokens' in struct literal of type api.SearchCollectionParams
unknown field 'SplitJoinTokens' in struct literal of type api.SearchCollectionParams
Typsense Version: 0.23.0
I've just opened a PR to add these parameters: https://github.com/typesense/typesense-api-spec/pull/29
Thanks, I've merged that PR and have generated updated client code and published it as v0.6.0.
v0.6.0
Description
The query param
split_join_tokens
is not supported bySearchCollectionParams
. I've checked the struct and haven't found the param definition.Steps to reproduce
Try to create search collection params with
SplitJoinTokens
:Expected Behavior
No error and being able to use
split_join_tokens
as specified in Typesense documentationActual Behavior
Trigger an error:
unknown field 'SplitJoinTokens' in struct literal of type api.SearchCollectionParams
Metadata
Typsense Version: 0.23.0