You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was debugging the fields that are available while checking the schema and customMapping_updatedAt didn't appear in it.
If I remove the custom sorting and debug the documents getting created, I can see though that customMapping_updatedAt is used.
So I assume that The customMapping fields using typesenseType are somehow added after checking the sort schema.
My usecase: I want to sort products by "latest".
The text was updated successfully, but these errors were encountered:
I couldn't get sortable fields working until I switched from the version recommended in the docs to Typesense version 0.24.0, which is the one that @michaelbromley said he uses
I discovered that a custom mapping defined with
typesenseType
like this:Can't be used for sorting:
I was debugging the fields that are available while checking the schema and
customMapping_updatedAt
didn't appear in it.If I remove the custom sorting and debug the documents getting created, I can see though that
customMapping_updatedAt
is used.So I assume that The customMapping fields using
typesenseType
are somehow added after checking the sort schema.My usecase: I want to sort products by "latest".
The text was updated successfully, but these errors were encountered: