Open leapoly opened 2 months ago
The collection name field is a string and not a pointer, like other fields, so it's sent as empty string when not set. We will have to probably handle this in Typesense end because changing the collection type to pointer.String
will break existing client conventions. I will take a look and post an update here.
Description
If the collection is not set in the multiSerachCollectionParameters, the client will send an empty string, which is not valid.
Steps to reproduce
The body of the request will be:
Expected Behavior
It shouldn't be sent because I'm using a Preset that has a collection.
Actual Behavior
It makes the search in the collection "" that does not exist.
Metadata
Typesense Version: 1.1.0
OS: Mac