Open
Description
Description
At present it doesn't seem possible to sort, or if it is it's not documented anywhere.
Steps to reproduce
Setup on a model in this example Post
and try the following:
Post::search(['q' => $searchTerm, 'sort_by' => 'created_at:asc'])
Expected Behavior
I would expect the results to be ordered by the created_at
attribute in ascending order
Actual Behavior
Instead the following error message is show:
Request Malformed: Parameter q
is required.
Metadata
Typesense Driver Version: 5.2.4
Metadata
Metadata
Assignees
Labels
No labels