Sort paginated items
I have this schema
I want to query like this but give the users ability to sort in ascending / descending order based on the
searchable
index.
When I replace:
with:
sort works as expected but I can't use multiple index, I need to use the existing index while allowing users to sort based on the searchable
field1 Reply
I ran into this too: Search queries always return results in relevance order based on how well the document matches the search query. Different ordering of results are not supported. https://docs.convex.dev/text-search#ordering
Full Text Search | Convex Developer Hub
Run search queries over your Convex documents