Prometheus Entity Management API
    Preparing search index...
    • Binary-search insertion index so realtime inserts land in sorted order without resorting the full id list (O(log n) per insert). Skips missing getEntity rows by advancing low — callers should ensure entities exist or tolerate append-like behavior.

      Parameters

      • entity: Record<string, unknown>
      • sortedIds: string[]
      • getEntity: (id: string) => Record<string, unknown> | null
      • sort: SortSpec

      Returns number