# Elasticsearch

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

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

**Page:** 1002

---

## [Elasticsearch and reliability](https://discuss.elastic.co/t/elasticsearch-and-reliability/221589)

<div class="topic-metadata">

**Author:** [@dollboot](https://discuss.elastic.co/u/dollboot)\
**Replies:** 0\
**Last updated:** [March 1, 2020, 5:51pm UTC](https://discuss.elastic.co/t/elasticsearch-and-reliability/221589 "2020-03-01T17:51:25Z")

</div>

For a while i've been using Elasticsearch and I have a few questions regarding reliability, replication and ingest processors. I read the following page: https://www.elastic.co/guide/en/elasticsearch/reference/current/…

---

## [Set node's id](https://discuss.elastic.co/t/set-nodes-id/221559)

<div class="topic-metadata">

**Author:** [@oengel](https://discuss.elastic.co/u/oengel)\
**Replies:** 1\
**Last updated:** [March 1, 2020, 7:35am UTC](https://discuss.elastic.co/t/set-nodes-id/221559 "2020-03-01T07:35:02Z")

</div>

Hi, I want to set the node id by myself. It won't overlap other nodes ids. Ive tried configuring it in the yml using 'name', but it's not working (found an old page stating that this is the way to do so) How can I se…

---

## [Custom Bundle - synonyms\_path not working](https://discuss.elastic.co/t/custom-bundle-synonyms-path-not-working/220209)

<div class="topic-metadata">

**Author:** [@acuitymd](https://discuss.elastic.co/u/acuitymd)\
**Replies:** 5\
**Last updated:** [March 1, 2020, 1:57am UTC](https://discuss.elastic.co/t/custom-bundle-synonyms-path-not-working/220209 "2020-03-01T01:57:28Z")

</div>

Hi, I'm trying to upload custom bundles of synonym files to my cluster, and I've followed these instructions to a T. https://www.elastic.co/guide/en/cloud/current/ec-custom-bundles.html I have a zip file with the stru…

---

## [Proper way to index entity data from event logs](https://discuss.elastic.co/t/proper-way-to-index-entity-data-from-event-logs/221546)

<div class="topic-metadata">

**Author:** [@LuisB](https://discuss.elastic.co/u/LuisB)\
**Replies:** 0\
**Last updated:** [February 29, 2020, 11:16pm UTC](https://discuss.elastic.co/t/proper-way-to-index-entity-data-from-event-logs/221546 "2020-02-29T23:16:22Z")

</div>

I'm trying to create a solution to analyze logs for an application that runs tasks specified by the user, that can each take up to a few hours to complete, and can be ran in parallel. I would like to be able to report th…

---

## [Obtaining individual scores from each query inside of a bool query](https://discuss.elastic.co/t/obtaining-individual-scores-from-each-query-inside-of-a-bool-query/221545)

<div class="topic-metadata">

**Author:** [@mhnamaki](https://discuss.elastic.co/u/mhnamaki)\
**Replies:** 0\
**Last updated:** [February 29, 2020, 11:12pm UTC](https://discuss.elastic.co/t/obtaining-individual-scores-from-each-query-inside-of-a-bool-query/221545 "2020-02-29T23:12:01Z")

</div>

Assume I have a compound bool query with various "must" and "should" statements that each may include different leaf queries including "multi-match" and "match\_phrase" queries such as below. How can I get the score from…

---

## [Datamodeling question about having a single index vs multiple](https://discuss.elastic.co/t/datamodeling-question-about-having-a-single-index-vs-multiple/221538)

<div class="topic-metadata">

**Author:** [@ottoo](https://discuss.elastic.co/u/ottoo)\
**Replies:** 0\
**Last updated:** [February 29, 2020, 8:35pm UTC](https://discuss.elastic.co/t/datamodeling-question-about-having-a-single-index-vs-multiple/221538 "2020-02-29T20:35:31Z")

</div>

We are building a chat application and indexing different types of chat messages for searching purposes to ElasticSearch. I'm wondering, would it be better to have a single index with different type field for each messa…

---

## [Indice documents count goes up after update](https://discuss.elastic.co/t/indice-documents-count-goes-up-after-update/221325)

<div class="topic-metadata">

**Author:** [@Goran](https://discuss.elastic.co/u/Goran)\
**Replies:** 3\
**Last updated:** [February 29, 2020, 5:22pm UTC](https://discuss.elastic.co/t/indice-documents-count-goes-up-after-update/221325 "2020-02-29T17:22:43Z")

</div>

After documents update, documents count is doubled but I still have the same number of docs when I query indice. Deleted docs show the number before update and that's expected, but I didn't expects documents count to be …

---

## [Nested Aggregation filter seems not working](https://discuss.elastic.co/t/nested-aggregation-filter-seems-not-working/221529)

<div class="topic-metadata">

**Author:** [@Indy](https://discuss.elastic.co/u/Indy)\
**Replies:** 0\
**Last updated:** [February 29, 2020, 3:56pm UTC](https://discuss.elastic.co/t/nested-aggregation-filter-seems-not-working/221529 "2020-02-29T15:56:53Z")

</div>

Hello I try to make a movies / actor / tag aggregation for filter a list of movies. For exemple, I want to see all movie's tag for Robert Deni Jr with filter like this : taf (nbMovie) ex : action (10) blockbuster (4) …

---

## [SOS! How it is possible to implement filtering of nested objects depending on the values of the parent nested object](https://discuss.elastic.co/t/sos-how-it-is-possible-to-implement-filtering-of-nested-objects-depending-on-the-values-of-the-parent-nested-object/220247)

<div class="topic-metadata">

**Author:** [@iva3682](https://discuss.elastic.co/u/iva3682)\
**Replies:** 2\
**Last updated:** [February 29, 2020, 12:45pm UTC](https://discuss.elastic.co/t/sos-how-it-is-possible-to-implement-filtering-of-nested-objects-depending-on-the-values-of-the-parent-nested-object/220247 "2020-02-29T12:45:44Z")

</div>

Good afternoon! Thanks for such a wonderful product! There is the following question: how it is possible to implement filtering of nested objects depending on the values ​​of the parent nested object. For example, ther…

---

## [Field with \`enabled: false\` in nested](https://discuss.elastic.co/t/field-with-enabled-false-in-nested/221520)

<div class="topic-metadata">

**Author:** [@iva3682](https://discuss.elastic.co/u/iva3682)\
**Replies:** 0\
**Last updated:** [February 29, 2020, 12:38pm UTC](https://discuss.elastic.co/t/field-with-enabled-false-in-nested/221520 "2020-02-29T12:38:57Z")

</div>

Good afternoon! Such a question: if you set the enabled: false flag to the field located in the nested object, when updating with painless, will the whole document be reindexed? There is a scheme: 'mappings' =\> \[ …

---

## [How to use phonetic analyzer using AWS Elasticsearch?](https://discuss.elastic.co/t/how-to-use-phonetic-analyzer-using-aws-elasticsearch/218008)

<div class="topic-metadata">

**Author:** [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Replies:** 8\
**Last updated:** [February 29, 2020, 10:46am UTC](https://discuss.elastic.co/t/how-to-use-phonetic-analyzer-using-aws-elasticsearch/218008 "2020-02-29T10:46:46Z")

</div>

I am currently using AWS Elasticsearch. Currently making the following query to search for the data: { "query": { "multi\_match" : { "query" : "murder", "fields" : \["content", "title^1…

---

## [Elasticsearch multi nested query](https://discuss.elastic.co/t/elasticsearch-multi-nested-query/221505)

<div class="topic-metadata">

**Author:** [@Onkar\_Kore](https://discuss.elastic.co/u/Onkar_Kore)\
**Replies:** 0\
**Last updated:** [February 29, 2020, 4:57am UTC](https://discuss.elastic.co/t/elasticsearch-multi-nested-query/221505 "2020-02-29T04:57:36Z")

</div>

I have an elastic index with the below mapping. It has an array of vehicle and each array element contains array of info elements. PUT test\_nested\_query { "mappings": { "\_doc": { "properties": { "veh…

---

## [Issue with Multihost Docker Setup Docker Compose](https://discuss.elastic.co/t/issue-with-multihost-docker-setup-docker-compose/220504)

<div class="topic-metadata">

**Author:** [@jibsonline](https://discuss.elastic.co/u/jibsonline)\
**Replies:** 6\
**Last updated:** [February 29, 2020, 3:11am UTC](https://discuss.elastic.co/t/issue-with-multihost-docker-setup-docker-compose/220504 "2020-02-29T03:11:10Z")

</div>

I am trying to run 2(1x2) masters nodes across two physical hosts via docker-compose Dockerfile FROM docker.elastic.co/elasticsearch/elasticsearch:7.6.0 RUN mkdir /usr/share/elasticsearch/data{1..2} RUN cho…

---

## [Specifying types in bulk requests is deprecated: No data at Elasticsearch 7.6.0 - Logstash is still sending data:](https://discuss.elastic.co/t/specifying-types-in-bulk-requests-is-deprecated-no-data-at-elasticsearch-7-6-0-logstash-is-still-sending-data/221496)

<div class="topic-metadata">

**Author:** [@m.a\_farazuddin](https://discuss.elastic.co/u/m.a_farazuddin)\
**Replies:** 0\
**Last updated:** [February 28, 2020, 10:49pm UTC](https://discuss.elastic.co/t/specifying-types-in-bulk-requests-is-deprecated-no-data-at-elasticsearch-7-6-0-logstash-is-still-sending-data/221496 "2020-02-28T22:49:56Z")

</div>

I am using Elastic stack container set up to monitor database There is no data at elasticsearch after the below error - logs on elastic - logstash version - 7.6.0 elasticsearch - 7.6.0 kibana - 7.6.0 What do I need …

---

## [Troubles with docker compose + image elasticsearch:6.8.0](https://discuss.elastic.co/t/troubles-with-docker-compose-image-elasticsearch-6-8-0/221493)

<div class="topic-metadata">

**Author:** [@Andres\_Guerrero](https://discuss.elastic.co/u/Andres_Guerrero)\
**Replies:** 0\
**Last updated:** [February 28, 2020, 9:47pm UTC](https://discuss.elastic.co/t/troubles-with-docker-compose-image-elasticsearch-6-8-0/221493 "2020-02-28T21:47:38Z")

</div>

Hello, i was trying to upgrade the version from my elastic image, from 5.6 to 6.8.0 but when i run ddev start, the ES container was not getting up. Then, i checked my logs and found this: OpenJDK 64-Bit Server VM w…

---

## [Es7: Can the seed\_hosts value be dynamically updated?](https://discuss.elastic.co/t/es7-can-the-seed-hosts-value-be-dynamically-updated/221482)

<div class="topic-metadata">

**Author:** [@UDixit](https://discuss.elastic.co/u/UDixit)\
**Replies:** 3\
**Last updated:** [February 28, 2020, 8:57pm UTC](https://discuss.elastic.co/t/es7-can-the-seed-hosts-value-be-dynamically-updated/221482 "2020-02-28T20:57:47Z")

</div>

During scaledowns, I want to update the seed\_hosts value (to remove the deprovisoing nodes). I want to apply this new value to all the nodes which are still remaining in the cluster. Is it required to update the seed\_…

---

## [Use match keyword with sort](https://discuss.elastic.co/t/use-match-keyword-with-sort/221388)

<div class="topic-metadata">

**Author:** [@nhattaihuynh](https://discuss.elastic.co/u/nhattaihuynh)\
**Replies:** 5\
**Last updated:** [February 28, 2020, 8:56pm UTC](https://discuss.elastic.co/t/use-match-keyword-with-sort/221388 "2020-02-28T20:56:11Z")

</div>

Hi everyone, Right now I'm stuck with keeping old logic sort from MySQL to Elastic. In MySQL, I have a project table with field 'projectName'. When user search project using keyword, I use Match function with Boolean …

---

## [Auto Index and auto deletion of index](https://discuss.elastic.co/t/auto-index-and-auto-deletion-of-index/221484)

<div class="topic-metadata">

**Author:** [@somebody](https://discuss.elastic.co/u/somebody)\
**Replies:** 0\
**Last updated:** [February 28, 2020, 8:05pm UTC](https://discuss.elastic.co/t/auto-index-and-auto-deletion-of-index/221484 "2020-02-28T20:05:07Z")

</div>

Hi, We have the following requirement: Every month a new index(collection) have to be created: comany\_details-\<year\_month\> in ES cluster. We need to delete older index which is greater than 2 Months. Example: compa…

---

## [Sorting by specific nested object](https://discuss.elastic.co/t/sorting-by-specific-nested-object/221481)

<div class="topic-metadata">

**Author:** [@mattiacareddu](https://discuss.elastic.co/u/mattiacareddu)\
**Replies:** 0\
**Last updated:** [February 28, 2020, 7:49pm UTC](https://discuss.elastic.co/t/sorting-by-specific-nested-object/221481 "2020-02-28T19:49:35Z")

</div>

Hi everyone, I'm trying to sort by a nested object without any results. This is the mapping of the object: { "settings" : { "number\_of\_shards" : 5, "number\_of\_replicas": 1 }, "mappings" : { …

---

## [Term aggregation that return documents matching two different nested value on the same field](https://discuss.elastic.co/t/term-aggregation-that-return-documents-matching-two-different-nested-value-on-the-same-field/221347)

<div class="topic-metadata">

**Author:** [@Charles\_Drolet](https://discuss.elastic.co/u/Charles_Drolet)\
**Replies:** 1\
**Last updated:** [February 28, 2020, 1:36pm UTC](https://discuss.elastic.co/t/term-aggregation-that-return-documents-matching-two-different-nested-value-on-the-same-field/221347 "2020-02-28T13:36:03Z")

</div>

Hello, I’m running on 6.8 and I’m unable to build a working term aggregation that can return a document matching two different specific value on the same nested field. My filtering needs to occur on the aggregation its…

---

## [Cluster found only one node](https://discuss.elastic.co/t/cluster-found-only-one-node/221339)

<div class="topic-metadata">

**Author:** [@darkangel](https://discuss.elastic.co/u/darkangel)\
**Replies:** 2\
**Last updated:** [February 28, 2020, 7:38pm UTC](https://discuss.elastic.co/t/cluster-found-only-one-node/221339 "2020-02-28T19:38:47Z")

</div>

Hi, Where is my bad? I try to configure a cluster of 2 nodes on my computer. I have used 7.5.0 version Below my config files : elasticsearch.yml I have tried discovery.seed\_hosts and discovery.zen.ping.unicast.hos…

---

## [CancelTasksRequest](https://discuss.elastic.co/t/canceltasksrequest/221480)

<div class="topic-metadata">

**Author:** [@waallee](https://discuss.elastic.co/u/waallee)\
**Replies:** 0\
**Last updated:** [February 28, 2020, 7:22pm UTC](https://discuss.elastic.co/t/canceltasksrequest/221480 "2020-02-28T19:22:58Z")

</div>

Hi guys, Recently I'm trying to try the task management API. I have some places confused a little bit, so hope I can get some ideas from you. What's the difference between .setTaskId() and .setParentTaskId()? I'm as…

---

## [Adding label-type metadata to indices for monitoring agregation](https://discuss.elastic.co/t/adding-label-type-metadata-to-indices-for-monitoring-agregation/221474)

<div class="topic-metadata">

**Author:** [@vbr](https://discuss.elastic.co/u/vbr)\
**Replies:** 0\
**Last updated:** [February 28, 2020, 6:37pm UTC](https://discuss.elastic.co/t/adding-label-type-metadata-to-indices-for-monitoring-agregation/221474 "2020-02-28T18:37:08Z")

</div>

Hi. I have daily indices, named on the patern \<project\>-\<client\_id\>-\<date\>. I have monitoring enabled, and I am trying to create dashboards to figure out how much disk space is used by my indices. The raw data is avai…

---

## [Elasticsearch cluster - 7.6 Error start](https://discuss.elastic.co/t/elasticsearch-cluster-7-6-error-start/221137)

<div class="topic-metadata">

**Author:** [@bruno\_aleixo](https://discuss.elastic.co/u/bruno_aleixo)\
**Replies:** 4\
**Last updated:** [February 28, 2020, 3:31pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-7-6-error-start/221137 "2020-02-28T15:31:24Z")

</div>

Hi, first sorry my english not be good, but i have a doubt, i am creating a cluster of elasticsearch,where I have 3 nodes, but there is an error in the climb Conf Master node: cluster.name: elk\_lab node.master: true …

---

## [How to enable the template tab in UI?](https://discuss.elastic.co/t/how-to-enable-the-template-tab-in-ui/221452)

<div class="topic-metadata">

**Author:** [@Jezal\_dan\_Luthar](https://discuss.elastic.co/u/Jezal_dan_Luthar)\
**Replies:** 0\
**Last updated:** [February 28, 2020, 3:08pm UTC](https://discuss.elastic.co/t/how-to-enable-the-template-tab-in-ui/221452 "2020-02-28T15:08:56Z")

</div>

I can see indexes and other pages but do not see the Template tab which i saw on some screenshots under Management -\> Index management. How do i enable this so i can edit my templates? Also what's the command to get on…

---

## [Matching the middle or the end part of a word elasticsearch](https://discuss.elastic.co/t/matching-the-middle-or-the-end-part-of-a-word-elasticsearch/221444)

<div class="topic-metadata">

**Author:** [@Yassine\_Nifa](https://discuss.elastic.co/u/Yassine_Nifa)\
**Replies:** 1\
**Last updated:** [February 28, 2020, 2:49pm UTC](https://discuss.elastic.co/t/matching-the-middle-or-the-end-part-of-a-word-elasticsearch/221444 "2020-02-28T14:49:20Z")

</div>

Hello I am new to elasticsearch, I use it to store my dataset. I created a IHM search engine where I can type a query and get the response I would like to know if there is a way to match the middle or the end part of …

---

## [How to enrich documents with geo data](https://discuss.elastic.co/t/how-to-enrich-documents-with-geo-data/221276)

<div class="topic-metadata">

**Author:** [@wifi](https://discuss.elastic.co/u/wifi)\
**Replies:** 4\
**Last updated:** [February 28, 2020, 2:15pm UTC](https://discuss.elastic.co/t/how-to-enrich-documents-with-geo-data/221276 "2020-02-28T14:15:28Z")

</div>

I have lots of documents that contain zip-codes. I want to visualize the data on a map so i need to add a geo location. To achieve this i created an index that contains coordinates for every zip-code. How can i enrich t…

---

## [Unable to resolve ip for complex ES hostname](https://discuss.elastic.co/t/unable-to-resolve-ip-for-complex-es-hostname/221329)

<div class="topic-metadata">

**Author:** [@kkshah](https://discuss.elastic.co/u/kkshah)\
**Replies:** 0\
**Last updated:** [February 27, 2020, 9:29pm UTC](https://discuss.elastic.co/t/unable-to-resolve-ip-for-complex-es-hostname/221329 "2020-02-27T21:29:56Z")

</div>

I have an Elasticsearch URL with embedded username/password that looks something like this: https://USERNAME:PASSWORD@ADDRESS/some/path/to/elasticsearch Of course, I have no issues submitting queries to this address us…

---

## [Unable to setup built user password for elastic search 6.2.2](https://discuss.elastic.co/t/unable-to-setup-built-user-password-for-elastic-search-6-2-2/221370)

<div class="topic-metadata">

**Author:** [@ajit519](https://discuss.elastic.co/u/ajit519)\
**Replies:** 6\
**Last updated:** [February 28, 2020, 2:00pm UTC](https://discuss.elastic.co/t/unable-to-setup-built-user-password-for-elastic-search-6-2-2/221370 "2020-02-28T14:00:32Z")

</div>

Hi I am running single node elasticsearch and try to run elasticsearch in https. I was following the url https://www.elastic.co/blog/how-to-setup-tls-for-elasticsearch-kibana-logstash-filebeat-with-offline-install-in-li…

---

## [Use docker-container or not use it](https://discuss.elastic.co/t/use-docker-container-or-not-use-it/221305)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 1\
**Last updated:** [February 28, 2020, 1:51pm UTC](https://discuss.elastic.co/t/use-docker-container-or-not-use-it/221305 "2020-02-28T13:51:08Z")

</div>

I have few high end servers 192gig ram, multicore cpu, 20gig network bandwidth and few SSD in them. should I use it as bare metal system as elasticsearch data-node or use container? plan was to use three new system ha…

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

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