Member Junction
    Preparing search index...
    • Render a scope template string with the supplied SearchContext. Returns the original string unchanged when template is null/empty. Returns the original string on render failure (logged via LogError) so a single bad template does not bring down a search.

      Parameters

      • template: string
      • context: SearchContext
      • OptionalextraData: Record<string, unknown>
      • laneKind: ScopeLaneKind = 'none'

        The dialect this template renders into (§5.4). Every interpolated context value is escaped for it automatically, so an author never has to remember.

        Defaults to 'none' rather than to a guess: this function also renders NON-filter fields (UserSearchString, query transforms) where the value becomes search text, and escaping those would corrupt the query rather than protect it. Filter call sites pass their real kind.

      Returns string