Documentation
    Preparing search index...

    Class InjectKeywordsMiddleware

    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.

    Implements

    Index

    Constructors

    Methods

    • Parameters

      Returns string[]

    • Hooks into the backend execution pipeline before CREATE or UPDATE actions. Computes and injects an array of substrings into the keywords property.

      Parameters

      Returns void