Skip to content

How to do a full text search across all fileds in a collection? #3807

Closed Answered by ganigeorgiev
Mys7erio asked this question in Q&A
Discussion options

You must be logged in to vote

PocketBase doesn't have support for fts at the moment (see #193).

The search in the Admin UI works by generating behind the scenes ~ filter rules for each field with the provided search term. For example:

id ~ "searchTerm" || name ~ "searchTerm" || rollno ~ "searchTerm" || phoneno ~ "searchTerm" || priority ~ "searchTerm" || non_priority ~ "searchTerm" || discord ~ "searchTerm"

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ganigeorgiev
Comment options

@Mys7erio
Comment options

@kilroyjones
Comment options

@ganigeorgiev
Comment options

@kilroyjones
Comment options

Answer selected by Mys7erio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants