---
title: "Discussion on \"elastic kibana update query\" | Hashnode"
description: "Discussion on \"elastic kibana update query\". POST products_dev/_update_by_query\n{\n\"script\" :\n{\n\"source\": \"ctx._source.ranking=9999;\"\n},\n\"query\":\n{\n\"term\" :\n{\n\"ranking\": 0\n}\n}\n}\nDuplicate find by grouping:\nGET /operators_circles/_search { \"size\": 0, \"aggs\": { \"duplicate_documents\": { \"terms\": { ..."
url: "https://hashnode.com/posts/elastic-kibana-update-query/643ed3abaf6291061acd4124"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [elastic kibana update query](https://tandan.hashnode.dev/elastic-kibana-update-query?utm_source=hashnode&utm_medium=feed)

POST products\_dev/\_update\_by\_query { "script" : { "source": "ctx.\_source.ranking=9999;" }, "query": { "term" : { "ranking": 0 } } } Duplicate find by grouping: GET /operators\_circles/\_search { "size": 0, "aggs": { "duplicate\_documents": { "terms": { ...

Apr 18, 2023 · 1 min read · tandan.hashnode.dev  
Read the article

-   [#elasticsearch](https://hashnode.com/tag/elasticsearch)

## Written by

[Ashok Tandan](https://hashnode.com/@ashok_tandan)

@ashok\_tandan · Gurgaon

  
[View profile](https://hashnode.com/@ashok_tandan)

software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
