-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Milestone
Description
- Part of efforts toward sharding, which is required when dealing with really big databases
- New endpoints:
GET /networkandPATCH /network- Use it to set a
selfand one or moreremotes selfis a string and indicates the name of the current machine/instance/noderemotesis an object containing remote objects. Remote objects consist of a name (the object key) and two values (urlandsearchApiKey)
- Use it to set a
- New
/multi-searchparameters:federationOptions.remoteandfederationOptions.queryPositionqueryPositionshould not be set manually (not sure why this is exposed on the request then?)remoteaccepts a string, specifies which remote instance should run that specific query instead ofself
- Summarized workflow:
- Set
self - Set one or more
remotes - Query
/multi-searchsettingfederationOptions.remotefor one or more queries
- Set
Tasks
- Create:
/reference/api/network-
GET -
PATCH
-
- Update:
/reference/api/multi_search- Add
federationOptions.remote - Add
federationOptions.queryPosition - Add
remoteErrorsto response
- Add
- 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