Federated Search

powered by
  • The username and company name datasets used below were generated using Faker.js, and indexed in two different collections: users and companies.
  • When a search query is typed, it is sent using multi_query (federated search) to both collections and the results are shown side-by-side.
  • This example uses Instantsearch.js and typesense-instantsearch-adapter for the Search UI.
  • Here's the source code.

Users

Companies