Backend middleware that automatically generates searchable keywords for an object. It scans all string properties marked with fullSearch: true and generates substrings to enable fast type-ahead searches on platforms like Firestore.
fullSearch: true
Protected
Hooks into the backend execution pipeline before CREATE or UPDATE actions. Computes and injects an array of substrings into the keywords property.
keywords
The payload traversing the backend.
The requested database action.
Backend middleware that automatically generates searchable keywords for an object. It scans all string properties marked with
fullSearch: trueand generates substrings to enable fast type-ahead searches on platforms like Firestore.