Multi-index or federated search

Execute multiple search queries across different indexes.

Without the federation parameter, results are returned separately per query (multi-search mode).

With the federation parameter, results are merged across indexes and sorted by relevance (federated search mode).

Multi-Search Mode

Returns separate result sets for each query, maintaining index boundaries. Use this when you need to:

  • Display results grouped by entity type
  • Apply different filters/sorts per index
  • Maintain separate pagination per index

Federated Search Mode

Merges results across all queries into a single ranked list. Use this when you need:

  • Unified search across multiple entity types
  • Single result set sorted by relevance
  • Combined pagination across all indexes
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
queries
array of objects
required
length between 1 and 20
queries*
string
enum
required
string
sort
array of strings
sort
integer
1 to 200
Defaults to 20
integer
0 to 9007199254740991
Defaults to 0
attributesToRetrieve
array of strings
attributesToRetrieve
attributesToHighlight
array of strings
attributesToHighlight
facets
array of strings
facets
boolean
boolean
federation
object
Responses

401

Unauthorized - missing or invalid API key

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json