# Elasticsearch

**URL:** https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=1152

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 1153

---

## [Update multiple documents in Elastic search using java](https://discuss.elastic.co/t/update-multiple-documents-in-elastic-search-using-java/200018)

<div class="topic-metadata">

**Author:** [@Velliyangiri](https://discuss.elastic.co/u/Velliyangiri)\
**Replies:** 0\
**Last updated:** [September 18, 2019, 1:46pm UTC](https://discuss.elastic.co/t/update-multiple-documents-in-elastic-search-using-java/200018 "2019-09-18T13:46:07Z")

</div>

In java which querybuilder to use update all the documents in this specified range.!..This is my java code. Code ----\> UpdateByQueryRequest requested = new UpdateByQueryRequest(arr\[1\]); requested.setConflicts("proceed…

---

## [Not releasing disk space after (failed?) shard allocations](https://discuss.elastic.co/t/not-releasing-disk-space-after-failed-shard-allocations/199967)

<div class="topic-metadata">

**Author:** [@cdekker](https://discuss.elastic.co/u/cdekker)\
**Replies:** 2\
**Last updated:** [September 18, 2019, 1:13pm UTC](https://discuss.elastic.co/t/not-releasing-disk-space-after-failed-shard-allocations/199967 "2019-09-18T13:13:12Z")

</div>

We have a fairly small cluster of 3 nodes with ~40GB disks each and about 12 monthly indices with 1 replica. Date should be around 8GB of primaries, so 16GB with 1 replica. We run ES 6.2 We recently had a runaway proces…

---

## [Multiple Indices - Index Documents with same ID - Treat as single document when aggregating](https://discuss.elastic.co/t/multiple-indices-index-documents-with-same-id-treat-as-single-document-when-aggregating/196754)

<div class="topic-metadata">

**Author:** [@gnukev](https://discuss.elastic.co/u/gnukev)\
**Replies:** 8\
**Last updated:** [September 18, 2019, 1:08pm UTC](https://discuss.elastic.co/t/multiple-indices-index-documents-with-same-id-treat-as-single-document-when-aggregating/196754 "2019-09-18T13:08:46Z")

</div>

Would the following be a possibility? Index A - Document A { \_id: 123456789, name: XXXX, address: XXXX } Index B - Document A { \_id: 123456789, biography: XXXXXyyyXXXXyyyyXXXXyyyyXXXX } And then I do a terms ag…

---

## [Empty date is not getting detected!](https://discuss.elastic.co/t/empty-date-is-not-getting-detected/200003)

<div class="topic-metadata">

**Author:** [@adarshzphin](https://discuss.elastic.co/u/adarshzphin)\
**Replies:** 0\
**Last updated:** [September 18, 2019, 12:35pm UTC](https://discuss.elastic.co/t/empty-date-is-not-getting-detected/200003 "2019-09-18T12:35:39Z")

</div>

I have below dynamic mapping for index "my\_index" PUT my\_index { "mappings": { "dynamic\_templates": \[ { "objects": { "match\_mapping\_type": "object", "mapping": { "type": "nested" } } } \], "dynamic\_date\_form…

---

## [Elasticsearch 7.1.1 doesnot start](https://discuss.elastic.co/t/elasticsearch-7-1-1-doesnot-start/199947)

<div class="topic-metadata">

**Author:** [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Replies:** 1\
**Last updated:** [September 18, 2019, 12:19pm UTC](https://discuss.elastic.co/t/elasticsearch-7-1-1-doesnot-start/199947 "2019-09-18T12:19:36Z")

</div>

Hello I installed elasticsearch 7.1.1. and when i am running it without changing the network.host then its running fine but when i change network.host to 0.0.0.0 or site it doesnot start any leads

---

## [Fetching and updating records from Oracle table to monitor status of each entry](https://discuss.elastic.co/t/fetching-and-updating-records-from-oracle-table-to-monitor-status-of-each-entry/199997)

<div class="topic-metadata">

**Author:** [@saif3r](https://discuss.elastic.co/u/saif3r)\
**Replies:** 0\
**Last updated:** [September 18, 2019, 11:56am UTC](https://discuss.elastic.co/t/fetching-and-updating-records-from-oracle-table-to-monitor-status-of-each-entry/199997 "2019-09-18T11:56:27Z")

</div>

Hello, I have an use case where we're are suppose to establish status monitoring for certain entities. Business case looks like this: There is a table containing two columns: ID along with their Status. Status can be on…

---

## [Mocking CountResponse in NEST 7.2.0](https://discuss.elastic.co/t/mocking-countresponse-in-nest-7-2-0/199995)

<div class="topic-metadata">

**Author:** [@mktd](https://discuss.elastic.co/u/mktd)\
**Replies:** 0\
**Last updated:** [September 18, 2019, 11:54am UTC](https://discuss.elastic.co/t/mocking-countresponse-in-nest-7-2-0/199995 "2019-09-18T11:54:46Z")

</div>

Hi! Our company are currently upgrading from NEST 6.4.2 to 7.2.0, and we've come across some breaking changes. We are using the Count-method, and in earlier versions this was virtual and possible to mock. Now, this meth…

---

## [Check elasticsearch cluster health without authentication when security feature is enable](https://discuss.elastic.co/t/check-elasticsearch-cluster-health-without-authentication-when-security-feature-is-enable/199903)

<div class="topic-metadata">

**Author:** [@Lex\_Xiao](https://discuss.elastic.co/u/Lex_Xiao)\
**Replies:** 1\
**Last updated:** [September 18, 2019, 10:05am UTC](https://discuss.elastic.co/t/check-elasticsearch-cluster-health-without-authentication-when-security-feature-is-enable/199903 "2019-09-18T10:05:09Z")

</div>

I want to set up elasticsearch cluster automatically with ansible. Reset built-in users password with elasticsearch-setup-password after cluster is up. There is a readiness probe to check if cluster is up and ready. But …

---

## [How many shard should i have for index size 450gb](https://discuss.elastic.co/t/how-many-shard-should-i-have-for-index-size-450gb/199392)

<div class="topic-metadata">

**Author:** [@Jeetu19](https://discuss.elastic.co/u/Jeetu19)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 9:53am UTC](https://discuss.elastic.co/t/how-many-shard-should-i-have-for-index-size-450gb/199392 "2019-09-13T09:53:51Z")

</div>

Hi Currently we have one index with following cofiguration. No of primary shard = 10 no of replica shard = 1 size of index = 450 apporox no of doc count = 1 billion rotation of index = weekly Cluster info:- no o…

---

## [How to enable deprecation logging in Elasticsearch 6.8?](https://discuss.elastic.co/t/how-to-enable-deprecation-logging-in-elasticsearch-6-8/197550)

<div class="topic-metadata">

**Author:** [@dstromberg](https://discuss.elastic.co/u/dstromberg)\
**Replies:** 7\
**Last updated:** [September 18, 2019, 9:23am UTC](https://discuss.elastic.co/t/how-to-enable-deprecation-logging-in-elasticsearch-6-8/197550 "2019-09-18T09:23:44Z")

</div>

Ultimately, I want to upgrade a bunch of Python code that uses Elasticsearch 6.8 to use Elasticsearch 7.3. Toward that goal, I want to enable Elasticsearch 6.8 "deprecation logging". It seems likely to be the best place…

---

## [Why GET /\<index\>/\_ccr/stats returns empty result while GET /\<index\>/\_ccr/info returns follower indices](https://discuss.elastic.co/t/why-get-index-ccr-stats-returns-empty-result-while-get-index-ccr-info-returns-follower-indices/199962)

<div class="topic-metadata">

**Author:** [@jlp1](https://discuss.elastic.co/u/jlp1)\
**Replies:** 0\
**Last updated:** [September 18, 2019, 9:25am UTC](https://discuss.elastic.co/t/why-get-index-ccr-stats-returns-empty-result-while-get-index-ccr-info-returns-follower-indices/199962 "2019-09-18T09:25:39Z")

</div>

I set up CCR in Elasticsearch 6.8. I want to list all follower indices with GET my\_index/\_ccr/stats but it returns { "indices" : \[ \] } while GET my\_index/\_ccr/info returns { "follower\_indices" : \[ { "follower\_i…

---

## [Is store log file in elastic search is a best practice?](https://discuss.elastic.co/t/is-store-log-file-in-elastic-search-is-a-best-practice/199746)

<div class="topic-metadata">

**Author:** [@atline](https://discuss.elastic.co/u/atline)\
**Replies:** 1\
**Last updated:** [September 18, 2019, 8:42am UTC](https://discuss.elastic.co/t/is-store-log-file-in-elastic-search-is-a-best-practice/199746 "2019-09-18T08:42:28Z")

</div>

I have next scenario: One system will run a lots of application and generate logs. Everytime when one application finish, I will send the log to elasticsearch. There are 2 choice here: Every application first genera…

---

## [How resilient is snapshot if one node fails and restarts?](https://discuss.elastic.co/t/how-resilient-is-snapshot-if-one-node-fails-and-restarts/199933)

<div class="topic-metadata">

**Author:** [@aqiank](https://discuss.elastic.co/u/aqiank)\
**Replies:** 0\
**Last updated:** [September 18, 2019, 7:30am UTC](https://discuss.elastic.co/t/how-resilient-is-snapshot-if-one-node-fails-and-restarts/199933 "2019-09-18T07:30:33Z")

</div>

Hi guys, I want to know if Elasticsearch snapshot is resilient against one node failing and restarting. Or maybe the NFS mount lost connection for an hour. It happened to me and the snapshot seems to be still in progre…

---

## [QueryBuilders rangeQuery with null date or values](https://discuss.elastic.co/t/querybuilders-rangequery-with-null-date-or-values/199931)

<div class="topic-metadata">

**Author:** [@Daniel\_Rod](https://discuss.elastic.co/u/Daniel_Rod)\
**Replies:** 0\
**Last updated:** [September 18, 2019, 7:25am UTC](https://discuss.elastic.co/t/querybuilders-rangequery-with-null-date-or-values/199931 "2019-09-18T07:25:42Z")

</div>

Hello! trying to found a solution for range query using QueryBuilders.rangeQuery Problem: DateFrom can be null or higher than today DateTill can be null or smaller than today quantyti remaining can be null or value…

---

## [Using Painless script to save integer range dynamically when reindexing](https://discuss.elastic.co/t/using-painless-script-to-save-integer-range-dynamically-when-reindexing/199856)

<div class="topic-metadata">

**Author:** [@Anurup\_Borah](https://discuss.elastic.co/u/Anurup_Borah)\
**Replies:** 2\
**Last updated:** [September 18, 2019, 7:20am UTC](https://discuss.elastic.co/t/using-painless-script-to-save-integer-range-dynamically-when-reindexing/199856 "2019-09-18T07:20:27Z")

</div>

Hi, I am having trouble to dynamically add integer range (https://www.elastic.co/guide/en/elasticsearch/reference/current/range.html) to a field dynamically when I am reindexing to a new Elasticsearch cluster. I have …

---

## [Trying to work out the best memory setup for my cluster](https://discuss.elastic.co/t/trying-to-work-out-the-best-memory-setup-for-my-cluster/199907)

<div class="topic-metadata">

**Author:** [@matthew.whill](https://discuss.elastic.co/u/matthew.whill)\
**Replies:** 4\
**Last updated:** [September 18, 2019, 7:08am UTC](https://discuss.elastic.co/t/trying-to-work-out-the-best-memory-setup-for-my-cluster/199907 "2019-09-18T07:08:06Z")

</div>

Hi All, BACKGROUND I have a 6 node cluster setup (3 x data nodes and 3 x master nodes). The cluster is running 6.8.0 on each node with x-pack enabled for SSL communication and security. Each node is running on Ubunt…

---

## [Cannot bootstrap a new cluster: master not discovered or elected yet](https://discuss.elastic.co/t/cannot-bootstrap-a-new-cluster-master-not-discovered-or-elected-yet/199861)

<div class="topic-metadata">

**Author:** [@decibel83](https://discuss.elastic.co/u/decibel83)\
**Replies:** 3\
**Last updated:** [September 18, 2019, 7:07am UTC](https://discuss.elastic.co/t/cannot-bootstrap-a-new-cluster-master-not-discovered-or-elected-yet/199861 "2019-09-18T07:07:12Z")

</div>

Hi, after having some problems on another test cluster (I asked help on this post) I'm trying to setup a new cluster from scratch to understand what's happening. I'm stuck because this it the third time I'm trying to r…

---

## [Is there any out of box use elastic search ui?](https://discuss.elastic.co/t/is-there-any-out-of-box-use-elastic-search-ui/199915)

<div class="topic-metadata">

**Author:** [@atline](https://discuss.elastic.co/u/atline)\
**Replies:** 1\
**Last updated:** [September 18, 2019, 7:00am UTC](https://discuss.elastic.co/t/is-there-any-out-of-box-use-elastic-search-ui/199915 "2019-09-18T07:00:31Z")

</div>

See this topic: Which web ui is mostly used for ElasticSearch? For user-facing applications people tend to develop their own. For logs people tend to use Kibana directly What I need is some out of box use user-facing…

---

## [Aggregating by a given item in array](https://discuss.elastic.co/t/aggregating-by-a-given-item-in-array/197995)

<div class="topic-metadata">

**Author:** [@Yonatan\_Omer](https://discuss.elastic.co/u/Yonatan_Omer)\
**Replies:** 4\
**Last updated:** [September 18, 2019, 6:54am UTC](https://discuss.elastic.co/t/aggregating-by-a-given-item-in-array/197995 "2019-09-18T06:54:43Z")

</div>

My big documents contain arrays of objects, for example: \_doc : { countries: { \[ {"country":"czechia", "name":"novak", ...}, {"country":"england", "name":"jonson", ...} \] }, ... } In my query, I specif…

---

## [Monitoring cluster](https://discuss.elastic.co/t/monitoring-cluster/199222)

<div class="topic-metadata">

**Author:** [@akshay\_singh2](https://discuss.elastic.co/u/akshay_singh2)\
**Replies:** 8\
**Last updated:** [September 18, 2019, 6:09am UTC](https://discuss.elastic.co/t/monitoring-cluster/199222 "2019-09-18T06:09:56Z")

</div>

Hello Team, I have deployed elastic monitoring cluster for my production cluster, now I can see monitoring data to new cluster, but cant see the same data in production cluster monitoring tab of kibana. Is this normal,…

---

## [Geo\_point problems with multiple indexes and Logstash](https://discuss.elastic.co/t/geo-point-problems-with-multiple-indexes-and-logstash/197121)

<div class="topic-metadata">

**Author:** [@jjfbcn](https://discuss.elastic.co/u/jjfbcn)\
**Replies:** 15\
**Last updated:** [September 18, 2019, 6:01am UTC](https://discuss.elastic.co/t/geo-point-problems-with-multiple-indexes-and-logstash/197121 "2019-09-18T06:01:18Z")

</div>

Hi, We have a problem loading geo\_point data, the index template, after some tests, now is configured as: location..........conflict location.lat.....number location.lon....number So, when I try to create a map vis…

---

## [Search timeout through tribe node occasionally when add a specific cluser](https://discuss.elastic.co/t/search-timeout-through-tribe-node-occasionally-when-add-a-specific-cluser/199906)

<div class="topic-metadata">

**Author:** [@shjdwxy](https://discuss.elastic.co/u/shjdwxy)\
**Replies:** 0\
**Last updated:** [September 18, 2019, 3:31am UTC](https://discuss.elastic.co/t/search-timeout-through-tribe-node-occasionally-when-add-a-specific-cluser/199906 "2019-09-18T03:31:00Z")

</div>

Es version: 5.4.3 Problem: We use tribe node as proxy to search cross multi clusters (6 cluster now). When add one specific cluster to the tribe node, we occasionally meet search failure (timeout) when the index b…

---

## [How should I store favorited posts?](https://discuss.elastic.co/t/how-should-i-store-favorited-posts/199892)

<div class="topic-metadata">

**Author:** [@jonjonjon](https://discuss.elastic.co/u/jonjonjon)\
**Replies:** 3\
**Last updated:** [September 18, 2019, 12:40am UTC](https://discuss.elastic.co/t/how-should-i-store-favorited-posts/199892 "2019-09-18T00:40:13Z")

</div>

I have a simple website that allows users "like" posts that other users have submitted. As a user, I want to be able to search the posts that I have liked. How should I structure my data, assuming my data looks like th…

---

## [Elasticsearch 7.3 logging hierarchies and levels](https://discuss.elastic.co/t/elasticsearch-7-3-logging-hierarchies-and-levels/199483)

<div class="topic-metadata">

**Author:** [@gdamico](https://discuss.elastic.co/u/gdamico)\
**Replies:** 2\
**Last updated:** [September 17, 2019, 9:49pm UTC](https://discuss.elastic.co/t/elasticsearch-7-3-logging-hierarchies-and-levels/199483 "2019-09-17T21:49:07Z")

</div>

Hi, I'd like to get a greater detail on discovery process when a node starts. I found this: ES 7.3 Logging configuration So, I think this is the best approach: ./bin/elasticsearch -E \<name of logging hierarchy\>=\<level\>…

---

## [Index Lifecycle Maanagement / Policy - how does it work?](https://discuss.elastic.co/t/index-lifecycle-maanagement-policy-how-does-it-work/199501)

<div class="topic-metadata">

**Author:** [@collse](https://discuss.elastic.co/u/collse)\
**Replies:** 3\
**Last updated:** [September 17, 2019, 6:19pm UTC](https://discuss.elastic.co/t/index-lifecycle-maanagement-policy-how-does-it-work/199501 "2019-09-17T18:19:56Z")

</div>

Hi there, I have been trying to get this to work but it seems it isnt applied properly but I cant figure out what the issue is: What I want to achieve, as previously with Curator I would like to control the overall sto…

---

## [Elastic search Bulk Delete Java HighLevelClient](https://discuss.elastic.co/t/elastic-search-bulk-delete-java-highlevelclient/199866)

<div class="topic-metadata">

**Author:** [@Dv\_Thiyanesh](https://discuss.elastic.co/u/Dv_Thiyanesh)\
**Replies:** 5\
**Last updated:** [September 17, 2019, 6:09pm UTC](https://discuss.elastic.co/t/elastic-search-bulk-delete-java-highlevelclient/199866 "2019-09-17T18:09:52Z")

</div>

I am using Java High level client i have done delete index by using indices and by id but i need to delete more than one document using condition. HOW DO I PERFORM THIS. there is any methods to do this?

---

## [DeleteRequest Throttling](https://discuss.elastic.co/t/deleterequest-throttling/199869)

<div class="topic-metadata">

**Author:** [@gormanst](https://discuss.elastic.co/u/gormanst)\
**Replies:** 0\
**Last updated:** [September 17, 2019, 5:59pm UTC](https://discuss.elastic.co/t/deleterequest-throttling/199869 "2019-09-17T17:59:23Z")

</div>

I just noticed the DeleteByQuery API has a throttling mechanism. Do I need to worry about when using RestHighLevelClient.bulkAsync and deleting several thousand documents in an index?

---

## [Upgrade Elastic Search 1.7 to a newer version](https://discuss.elastic.co/t/upgrade-elastic-search-1-7-to-a-newer-version/199852)

<div class="topic-metadata">

**Author:** [@elabedouss](https://discuss.elastic.co/u/elabedouss)\
**Replies:** 1\
**Last updated:** [September 17, 2019, 5:50pm UTC](https://discuss.elastic.co/t/upgrade-elastic-search-1-7-to-a-newer-version/199852 "2019-09-17T17:50:38Z")

</div>

Hi team, We are preparing to upgrade Elastic Search 1.7 to a newer version. What we should be caring of before starting the upgrade, also is there any suggestions about the version that we should upgrade to it? Is it …

---

## [Can an external Client directly query a data node?](https://discuss.elastic.co/t/can-an-external-client-directly-query-a-data-node/199854)

<div class="topic-metadata">

**Author:** [@ashyo98](https://discuss.elastic.co/u/ashyo98)\
**Replies:** 1\
**Last updated:** [September 17, 2019, 4:10pm UTC](https://discuss.elastic.co/t/can-an-external-client-directly-query-a-data-node/199854 "2019-09-17T16:10:21Z")

</div>

Hello everyone, I followed this article to configure certain nodes in my cluster as data nodes. I then ran this API call GET /\_all/\_search on the data node and was able to receive a response. So wanted to check if thi…

---

## [Ingest Pipelines - drop empty string fields](https://discuss.elastic.co/t/ingest-pipelines-drop-empty-string-fields/199857)

<div class="topic-metadata">

**Author:** [@stevenstevensod](https://discuss.elastic.co/u/stevenstevensod)\
**Replies:** 0\
**Last updated:** [September 17, 2019, 4:07pm UTC](https://discuss.elastic.co/t/ingest-pipelines-drop-empty-string-fields/199857 "2019-09-17T16:07:45Z")

</div>

I've got an ingest pipeline that receives very similar messages from a few different log files. These logfiles have delimiters ";" where some of the fields have no value, but the context of each delimited value does not …

[Previous page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=1151)

[Next page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=1153)
