noob saibot
noob saibot3w ago

How to implement Full Text Search with multiple search indexes

I have implemented an Employees List page where a user can search an employee by either name, email, phone, department or role. What I'm trying to achieve in: "select employees where name like value or email like value or phone...etc Can I implement this functionality with search indexes? If I define multiple indexes (one for name, another for email etc), how could I write the query?
3 Replies
Convex Bot
Convex Bot3w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
kamal.panara
kamal.panara2w ago
Convex as some limitations so we can't directly implement search index on all fields and run search query on all fields at same time. https://docs.convex.dev/search/text-search#limits
No description

Did you find this page helpful?