Files
backstage/plugins/search-backend-node
Fredrik Adelöw e9b78e9698 Remove uuid dependency in favor of crypto.randomUUID()
The uuid package dropped its CommonJS entry point in v14, making it
incompatible with Backstage's CJS build output and Jest test runner.
Rather than working around the ESM-only issue, replace all usage with
the built-in crypto.randomUUID() which has been available in Node.js
since v16.7 and in all major browsers since March 2022.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-23 10:51:43 +02:00
..
2026-04-21 15:07:43 +00:00

search-backend-node

This plugin is part of a suite of plugins that comprise the Backstage search platform. This particular plugin is responsible for all aspects of the search indexing process, including:

  • Providing connections to search engines where actual document indices live and queries can be made.
  • Defining a mechanism for plugins to expose documents that they'd like to be indexed (called collators).
  • Defining a mechanism for plugins to add extra metadata to documents that the source plugin may not be aware of (known as decorators).
  • A scheduler that, at configurable intervals, compiles documents to be indexed and passes them to a search engine for indexing.
  • A builder class to wire up all of the above.
  • Naturally, types for all of the above.

Documentation on how to develop and improve the search platform is currently centralized in the search plugin README.md.

For a better overview of how the search platform is put together, check the Backstage Search Architecture documentation.