mirror of https://github.com/apache/druid.git
Clarify the use of the Lookup API (#12088)
* Update lookups.md * Update docs/querying/lookups.md Co-authored-by: 317brian <53799971+317brian@users.noreply.github.com> * Update docs/querying/lookups.md Co-authored-by: Charles Smith <techdocsmith@gmail.com> Co-authored-by: 317brian <53799971+317brian@users.noreply.github.com>
This commit is contained in:
parent
351e57bdb6
commit
985640f103
|
@ -272,7 +272,7 @@ All entries in the map will UPDATE existing entries. No entries will be deleted.
|
|||
|
||||
### Update lookup
|
||||
|
||||
A `POST` to a particular lookup extractor factory via `/druid/coordinator/v1/lookups/config/{tier}/{id}` will update that specific extractor factory.
|
||||
A `POST` to a particular lookup extractor factory via `/druid/coordinator/v1/lookups/config/{tier}/{id}` creates or updates that specific extractor factory.
|
||||
|
||||
For example, a post to `/druid/coordinator/v1/lookups/config/realtime_customer1/site_id_customer1` might contain the following:
|
||||
|
||||
|
@ -290,6 +290,8 @@ For example, a post to `/druid/coordinator/v1/lookups/config/realtime_customer1/
|
|||
|
||||
This will replace the `site_id_customer1` lookup in the `realtime_customer1` with the definition above.
|
||||
|
||||
Assign a unique version identifier each time you update a lookup extractor factory. Otherwise the call will fail.
|
||||
|
||||
### Get all lookups
|
||||
|
||||
A `GET` to `/druid/coordinator/v1/lookups/config/all` will return all known lookup specs for all tiers.
|
||||
|
|
Loading…
Reference in New Issue