This is an automated email from the ASF dual-hosted git repository.

techdocsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 985640f103 Clarify the use of the Lookup API (#12088)
985640f103 is described below

commit 985640f103cbced6434123dfc239b57abf60350b
Author: Hellmar Becker <[email protected]>
AuthorDate: Mon May 16 16:50:24 2022 +0200

    Clarify the use of the Lookup API (#12088)
    
    * Update lookups.md
    
    * Update docs/querying/lookups.md
    
    Co-authored-by: 317brian <[email protected]>
    
    * Update docs/querying/lookups.md
    
    Co-authored-by: Charles Smith <[email protected]>
    Co-authored-by: 317brian <[email protected]>
---
 docs/querying/lookups.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/querying/lookups.md b/docs/querying/lookups.md
index ede272f793..9fe104b4ad 100644
--- a/docs/querying/lookups.md
+++ b/docs/querying/lookups.md
@@ -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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to