Elasticsearch: Backfill old documents with email
POST index/_update_by_query{"script": {"source": "ctx._source.email = 'rohitpatel0105@gmail.com'","lang": "painless"},"query": {"bool": {"must_not": [{"exists": {"field": "email"}}]}}}
No comments:
Post a Comment