Full-text search

Find documents matching a given string

If your users need to be able to search text data in your Convex tables, you can define a search index in your database schema, then use it in your query functions to retrieve only those documents that match a given search string, even if the match is fuzzy (approximate). If you need to search over multiple fields, you can copy those field values into 'one search field to rule them all'. You can also define filter fields to efficiently narrow down the search space.
Screen grab of Full-text search in action

Start now

Get your project up and running in minutesGet started
©2024 Convex, Inc.