Closed
Description
- Part of efforts toward sharding, which is required when dealing with really big databases
- New endpoints:
GET /network
andPATCH /network
- Use it to set a
self
and one or moreremotes
self
is a string and indicates the name of the current machine/instance/noderemotes
is an object containing remote objects. Remote objects consist of a name (the object key) and two values (url
andsearchApiKey
)
- Use it to set a
- New
/multi-search
parameters:federationOptions.remote
andfederationOptions.queryPosition
queryPosition
should not be set manually (not sure why this is exposed on the request then?)remote
accepts a string, specifies which remote instance should run that specific query instead ofself
- Summarized workflow:
- Set
self
- Set one or more
remotes
- Query
/multi-search
settingfederationOptions.remote
for one or more queries
- Set
Tasks
- Create:
/reference/api/network
GET
PATCH
Update:/reference/api/multi_search
- Add
federationOptions.remote
- Add
federationOptions.queryPosition
- Add
remoteErrors
to response
Update:/reference/api/keys
- Add new permissions
Update/reference/errors/overview
invalid_multi_search_query_position
invalid_multi_search_remote
References
Metadata
Metadata
Assignees
Labels
No labels
Activity