Member Junction
    Preparing search index...

    Abstract base class for search providers. Subclasses must be registered with @RegisterClass(BaseSearchProvider, 'DriverClassName') to be discoverable by the SearchEngine.

    Lifecycle:

    1. SearchEngine loads active SearchProvider records from the database
    2. For each record, ClassFactory creates an instance using DriverClass
    3. Initialize() is called with the provider's config from the DB record
    4. CheckAvailability() is called to verify the provider is operational
    5. If IsAvailable(), the provider participates in searches

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    config: SearchProviderConfig = null

    Config from the SearchProvider metadata record, set during Initialize()

    SourceType: SearchSource = 'vector'

    Which search source this provider represents

    Accessors

    Methods

    • Merge a scope's per-index rendered MetadataFilter into the base filter. Both sides are optional. Scope filter is combined with the base filter via $and so scope and user filters compose conjunctively. Scope filter may be either an object (already parsed) or a JSON string — both are accepted.

      Parameters

      • baseFilter: object
      • scopeFilter: unknown

      Returns ScopeFilterCheck<object>