# Elasticsearch

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

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

**Page:** 1216

---

## [Set up load balance for ES cluster](https://discuss.elastic.co/t/set-up-load-balance-for-es-cluster/192062)

<div class="topic-metadata">

**Author:** [@spdoes](https://discuss.elastic.co/u/spdoes)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 2:55pm UTC](https://discuss.elastic.co/t/set-up-load-balance-for-es-cluster/192062 "2019-07-24T14:55:12Z")

</div>

I have a ES cluster with all nodes in same sub-network, so if this network goes down, my load balance will redirect traffic to a different IP, so this IP should be a extra node in the cluster HOWEVER in regular use I do…

---

## [Delete unsupported or deprecated static index settings created with a previous release?](https://discuss.elastic.co/t/delete-unsupported-or-deprecated-static-index-settings-created-with-a-previous-release/190272)

<div class="topic-metadata">

**Author:** [@mkonold](https://discuss.elastic.co/u/mkonold)\
**Replies:** 4\
**Last updated:** [July 24, 2019, 2:29pm UTC](https://discuss.elastic.co/t/delete-unsupported-or-deprecated-static-index-settings-created-with-a-previous-release/190272 "2019-07-24T14:29:00Z")

</div>

How to delete static settings from an index if this setting is not supported/known anymore to the running ES version. Indices created with ES 5.2.2 or 5.3.0 have been subject to shrinking with a hot-warm strategy in ord…

---

## [Unable to create hdfs repository for elastic snapshot creations](https://discuss.elastic.co/t/unable-to-create-hdfs-repository-for-elastic-snapshot-creations/192054)

<div class="topic-metadata">

**Author:** [@raja\_augstin](https://discuss.elastic.co/u/raja_augstin)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 2:17pm UTC](https://discuss.elastic.co/t/unable-to-create-hdfs-repository-for-elastic-snapshot-creations/192054 "2019-07-24T14:17:18Z")

</div>

I wants to store the elastic index into hdfs. And I'm using following version elastic version: 5.6.3 snapshot : 2.8.1 when we use following command to create hdfs type repository we facing error. can someone help on t…

---

## [Count and Scroll don't return same docCount - NodeJS](https://discuss.elastic.co/t/count-and-scroll-dont-return-same-doccount-nodejs/192051)

<div class="topic-metadata">

**Author:** [@Gregoire\_Rouet](https://discuss.elastic.co/u/Gregoire_Rouet)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 2:11pm UTC](https://discuss.elastic.co/t/count-and-scroll-dont-return-same-doccount-nodejs/192051 "2019-07-24T14:11:55Z")

</div>

Hello! I am using scroll and count in a nodeJS environment. And for some reason I don't get, the count method doesn't return the same number of documents as the scroll (by incrementing a counter). And that happens at di…

---

## [Delete data from index](https://discuss.elastic.co/t/delete-data-from-index/192049)

<div class="topic-metadata">

**Author:** [@Vlad\_Buralov](https://discuss.elastic.co/u/Vlad_Buralov)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 2:03pm UTC](https://discuss.elastic.co/t/delete-data-from-index/192049 "2019-07-24T14:03:54Z")

</div>

I need to remove all data from index without deleting it. Could I do this using php?

---

## [Searching nested objects with parent-child relationship](https://discuss.elastic.co/t/searching-nested-objects-with-parent-child-relationship/191687)

<div class="topic-metadata">

**Author:** [@Slobbard](https://discuss.elastic.co/u/Slobbard)\
**Replies:** 8\
**Last updated:** [July 24, 2019, 1:54pm UTC](https://discuss.elastic.co/t/searching-nested-objects-with-parent-child-relationship/191687 "2019-07-24T13:54:46Z")

</div>

Here's the mapping: { "mappings":{ "\_doc":{ "properties":{ "person":{ "type": "nested", "properties":{ "name": { "type": "text" } } }, "item": { "type": "nested",…

---

## [Elastic stack upgrade to 7.1 or 7.2](https://discuss.elastic.co/t/elastic-stack-upgrade-to-7-1-or-7-2/192042)

<div class="topic-metadata">

**Author:** [@kamatbipin17](https://discuss.elastic.co/u/kamatbipin17)\
**Replies:** 1\
**Last updated:** [July 24, 2019, 1:49pm UTC](https://discuss.elastic.co/t/elastic-stack-upgrade-to-7-1-or-7-2/192042 "2019-07-24T13:49:59Z")

</div>

I need some inputs on upgrading ES stack specifically with my project and let me know if you can help anyways we have search platform ( Elastic search and Kibana) on 6.1.3 version . WE have around 125 million document…

---

## [Return a matched element of an array when searching](https://discuss.elastic.co/t/return-a-matched-element-of-an-array-when-searching/192026)

<div class="topic-metadata">

**Author:** [@Diego\_Jota](https://discuss.elastic.co/u/Diego_Jota)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 12:39pm UTC](https://discuss.elastic.co/t/return-a-matched-element-of-an-array-when-searching/192026 "2019-07-24T12:39:56Z")

</div>

I indexed documents like "dialogue":\[ { "text": "ELASTIC", "value": 10 }, { "text": "KIBANA", "value": 12 }, { "text": "TRELLO", "value": 14 } \] Then I sea…

---

## [Elasticsearch stops working, says failed to update shard information](https://discuss.elastic.co/t/elasticsearch-stops-working-says-failed-to-update-shard-information/188617)

<div class="topic-metadata">

**Author:** [@subhas](https://discuss.elastic.co/u/subhas)\
**Replies:** 4\
**Last updated:** [July 24, 2019, 12:27pm UTC](https://discuss.elastic.co/t/elasticsearch-stops-working-says-failed-to-update-shard-information/188617 "2019-07-24T12:27:27Z")

</div>

I am running elasticsearch 6.8.1 on centos 7. Out of a sudden, elasticsearch service stopped working giving the following error in the elasticsearch.log file. I restarted the service then it is working normally. But how …

---

## [Docker Curator is not working](https://discuss.elastic.co/t/docker-curator-is-not-working/191341)

<div class="topic-metadata">

**Author:** [@pred](https://discuss.elastic.co/u/pred)\
**Replies:** 11\
**Last updated:** [July 24, 2019, 12:26pm UTC](https://discuss.elastic.co/t/docker-curator-is-not-working/191341 "2019-07-24T12:26:25Z")

</div>

Hello, I got the exact same issue of this post : Which is : Traceback (most recent call last): File "/usr/bin/curator", line 11, in load\_entry\_point('elasticsearch-curator==5.7.3', 'console\_scripts', 'curator')() …

---

## [Insert/Update operations makes queries slow?](https://discuss.elastic.co/t/insert-update-operations-makes-queries-slow/189105)

<div class="topic-metadata">

**Author:** [@JF2018](https://discuss.elastic.co/u/JF2018)\
**Replies:** 5\
**Last updated:** [July 24, 2019, 12:09pm UTC](https://discuss.elastic.co/t/insert-update-operations-makes-queries-slow/189105 "2019-07-24T12:09:31Z")

</div>

Hi I am using elastic 1.7 (I know I should update, but it is currently not possible) I have an index with the following setup: ~70GB, 4 shards 2 replica 1756260 documents I have an ingestor, which inserts/updates ~2…

---

## [Watcher for absence of data in given time](https://discuss.elastic.co/t/watcher-for-absence-of-data-in-given-time/192019)

<div class="topic-metadata">

**Author:** [@ghost3h](https://discuss.elastic.co/u/ghost3h)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 12:02pm UTC](https://discuss.elastic.co/t/watcher-for-absence-of-data-in-given-time/192019 "2019-07-24T12:02:28Z")

</div>

I have been trying to write a watcher for when my logstash instances go down. Obviously I cant write one to query a field, but need to write it for the lack of data for a given index for a period of time. I have tried se…

---

## [Aggregations slow after inserts/updates](https://discuss.elastic.co/t/aggregations-slow-after-inserts-updates/191352)

<div class="topic-metadata">

**Author:** [@JF2018](https://discuss.elastic.co/u/JF2018)\
**Replies:** 10\
**Last updated:** [July 24, 2019, 12:06pm UTC](https://discuss.elastic.co/t/aggregations-slow-after-inserts-updates/191352 "2019-07-24T12:06:02Z")

</div>

Hi I have a query, where part of it is a terms-aggregation. The query takes \<500ms normally, but after inserts/updates to the index, the query takes ~2-3000ms the first couple of times . If I remove the aggregation p…

---

## [Field mapping using Spring Data Elastic Search on ES 6.8](https://discuss.elastic.co/t/field-mapping-using-spring-data-elastic-search-on-es-6-8/192014)

<div class="topic-metadata">

**Author:** [@vinitp](https://discuss.elastic.co/u/vinitp)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 11:39am UTC](https://discuss.elastic.co/t/field-mapping-using-spring-data-elastic-search-on-es-6-8/192014 "2019-07-24T11:39:17Z")

</div>

Hi, I use Spring Boot 2.1 ElasticSearch to communicate with Elastic Search 6.8. Earlier I used Spring Boot 2.0 on ES 6.4. Recently I upgraded both Spring Boot to 2.1 and ES to 6.8. Here is the code snippet of my Java c…

---

## [Adding other nodes](https://discuss.elastic.co/t/adding-other-nodes/191057)

<div class="topic-metadata">

**Author:** [@rihad](https://discuss.elastic.co/u/rihad)\
**Replies:** 14\
**Last updated:** [July 24, 2019, 11:18am UTC](https://discuss.elastic.co/t/adding-other-nodes/191057 "2019-07-24T11:18:30Z")

</div>

Hi, all. We want to add 2 more (master-eligible) nodes to our single-server cluster. Some experimentation on multiple dummy servers showed that the only thing I need to do for that is add discovery.zen.ping.unicast.hosts…

---

## [Text with &nbsp not searchable](https://discuss.elastic.co/t/text-with-nbsp-not-searchable/192012)

<div class="topic-metadata">

**Author:** [@Anurag\_Yadav](https://discuss.elastic.co/u/Anurag_Yadav)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 10:58am UTC](https://discuss.elastic.co/t/text-with-nbsp-not-searchable/192012 "2019-07-24T10:58:47Z")

</div>

if I index doc as in the image, nor hello or the world is searchable. though had it been really &nbsp I could have used html\_strip char filter to remove it. Note: the tokens generated for the above text are still hel…

---

## [Max aggregation adding decimals](https://discuss.elastic.co/t/max-aggregation-adding-decimals/192002)

<div class="topic-metadata">

**Author:** [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 10:11am UTC](https://discuss.elastic.co/t/max-aggregation-adding-decimals/192002 "2019-07-24T10:11:32Z")

</div>

Hi, I'm doing a very simple aggregation, but I do not understand the results I have 4 documents with a numeric field value called risk\_score with values 0, 5, 4 and 6.4 When I perform a max aggregation GET index-2019…

---

## [How to filter punctuation in fields when I do aggregate queries](https://discuss.elastic.co/t/how-to-filter-punctuation-in-fields-when-i-do-aggregate-queries/192005)

<div class="topic-metadata">

**Author:** [@Hengheng1](https://discuss.elastic.co/u/Hengheng1)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 10:22am UTC](https://discuss.elastic.co/t/how-to-filter-punctuation-in-fields-when-i-do-aggregate-queries/192005 "2019-07-24T10:22:49Z")

</div>

How to filter punctuation in fields when I do aggregate queries.

---

## [Unwanted Upgrade ElasticSearch version](https://discuss.elastic.co/t/unwanted-upgrade-elasticsearch-version/191841)

<div class="topic-metadata">

**Author:** [@pred](https://discuss.elastic.co/u/pred)\
**Replies:** 6\
**Last updated:** [July 24, 2019, 10:02am UTC](https://discuss.elastic.co/t/unwanted-upgrade-elasticsearch-version/191841 "2019-07-24T10:02:19Z")

</div>

I made a mistake by trying to upgrade my elasticsearch version from 6.3.2 to 7.2.0. I launched my container with the new version but I realized that kibana does not work anymore. So I decided to downgrade elasticsearch…

---

## [Query hierarchical data](https://discuss.elastic.co/t/query-hierarchical-data/191355)

<div class="topic-metadata">

**Author:** [@Borwick\_5576](https://discuss.elastic.co/u/Borwick_5576)\
**Replies:** 4\
**Last updated:** [July 24, 2019, 9:59am UTC](https://discuss.elastic.co/t/query-hierarchical-data/191355 "2019-07-24T09:59:02Z")

</div>

I'm working in creating and simplifying probabilistic topic models for large corpora of data. Every document I would index will contain a field having the following format: ... "topics" : { "level0" : \["keywords"\], …

---

## [ECS: Schema for IBM Mainframe und IBM MQ](https://discuss.elastic.co/t/ecs-schema-for-ibm-mainframe-und-ibm-mq/189795)

<div class="topic-metadata">

**Author:** [@FBRA](https://discuss.elastic.co/u/FBRA)\
**Replies:** 2\
**Last updated:** [July 24, 2019, 8:54am UTC](https://discuss.elastic.co/t/ecs-schema-for-ibm-mainframe-und-ibm-mq/189795 "2019-07-24T08:54:45Z")

</div>

we are ingesting MQ data into Elastic and are planning to ingest IBM mainframe data. We believe that for correlations of cross-plattform application events ECS is needed. Both objects have strcutures which are not incl…

---

## [How to apply criterias on Rest call url](https://discuss.elastic.co/t/how-to-apply-criterias-on-rest-call-url/191979)

<div class="topic-metadata">

**Author:** [@Lokesh\_Gorrela](https://discuss.elastic.co/u/Lokesh_Gorrela)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 8:08am UTC](https://discuss.elastic.co/t/how-to-apply-criterias-on-rest-call-url/191979 "2019-07-24T08:08:24Z")

</div>

Hi All My Rest Call Url is: http://localhost:9200/liferay-20100/\_search?size=100&q=EmpName:James AND Country:India I need to apply same like below database criterias with my elasticsearch rest url. != LIKE NOT LI…

---

## [How highlight a text without index it](https://discuss.elastic.co/t/how-highlight-a-text-without-index-it/191476)

<div class="topic-metadata">

**Author:** [@ahmad\_Hashemi](https://discuss.elastic.co/u/ahmad_Hashemi)\
**Replies:** 12\
**Last updated:** [July 24, 2019, 7:55am UTC](https://discuss.elastic.co/t/how-highlight-a-text-without-index-it/191476 "2019-07-24T07:55:50Z")

</div>

Is there any way to highlight a text without indexing it? such as lucene highlighter that get text and query as a parameter an highlight it.

---

## [Wildcard search across multiple fields using RestHighLevelClient](https://discuss.elastic.co/t/wildcard-search-across-multiple-fields-using-resthighlevelclient/191972)

<div class="topic-metadata">

**Author:** [@saia](https://discuss.elastic.co/u/saia)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 7:49am UTC](https://discuss.elastic.co/t/wildcard-search-across-multiple-fields-using-resthighlevelclient/191972 "2019-07-24T07:49:06Z")

</div>

I have documents like the following in my Elasticsearch index: { "id": 3, "name": "Jon Loyens", "age" : 33, "address": "104, Hillside Avenue", "city": "London" "geo": { "code": 44, "country" : "UK" } } Given …

---

## [Rollups for entity-centric data](https://discuss.elastic.co/t/rollups-for-entity-centric-data/191935)

<div class="topic-metadata">

**Author:** [@seanziee](https://discuss.elastic.co/u/seanziee)\
**Replies:** 1\
**Last updated:** [July 24, 2019, 7:36am UTC](https://discuss.elastic.co/t/rollups-for-entity-centric-data/191935 "2019-07-24T07:36:46Z")

</div>

Hey guys, I've been testing the rollups API and still am not sure if it can do what I'd like. I'm interested in creating an entity-centric data model as discussed by @Mark\_Harwood from my event data. I have 1000's of ev…

---

## [Elasticsearch master node replacment](https://discuss.elastic.co/t/elasticsearch-master-node-replacment/191901)

<div class="topic-metadata">

**Author:** [@ali\_tavakoli](https://discuss.elastic.co/u/ali_tavakoli)\
**Replies:** 9\
**Last updated:** [July 24, 2019, 7:15am UTC](https://discuss.elastic.co/t/elasticsearch-master-node-replacment/191901 "2019-07-24T07:15:44Z")

</div>

Hi guys I run elasticsearch on 8 nodes with 2 different rack-id for shard replication awareness. i have 4 nodes on rack-1 and other 4 nodes on rack-2 and i have 1 master eligible node on each rack. so i have 2 master …

---

## [Nested inner hits in FreeText search use case](https://discuss.elastic.co/t/nested-inner-hits-in-freetext-search-use-case/191947)

<div class="topic-metadata">

**Author:** [@ros](https://discuss.elastic.co/u/ros)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 5:28am UTC](https://discuss.elastic.co/t/nested-inner-hits-in-freetext-search-use-case/191947 "2019-07-24T05:28:58Z")

</div>

I building a standard free text search on a site that sells cars. In the search box the user can enter a search word that are passed on to the query where it is used to match both nested and non-nested properties. I'm …

---

## [Automatically create an index based on an alias](https://discuss.elastic.co/t/automatically-create-an-index-based-on-an-alias/191941)

<div class="topic-metadata">

**Author:** [@Vladimir\_Jaric](https://discuss.elastic.co/u/Vladimir_Jaric)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 4:30am UTC](https://discuss.elastic.co/t/automatically-create-an-index-based-on-an-alias/191941 "2019-07-24T04:30:48Z")

</div>

Hi, I am trying to automatically create an index that does not already exist by applying an index template with an alias definition. Template looks like this: PUT \_template/my\_template { "index\_patterns" : \["\*"\], …

---

## [Set \_id value to an existing field value of \_source](https://discuss.elastic.co/t/set-id-value-to-an-existing-field-value-of-source/191944)

<div class="topic-metadata">

**Author:** [@MKU](https://discuss.elastic.co/u/MKU)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 4:40am UTC](https://discuss.elastic.co/t/set-id-value-to-an-existing-field-value-of-source/191944 "2019-07-24T04:40:06Z")

</div>

Hi , I have a situation where i have to use the existing field value as an \_id ,as described here https://www.elastic.co/guide/en/elasticsearch/reference/1.4/mapping-id-field.html I know it is not supported in latest v…

---

## [SocketTimeoutException while retrieving or inserting data into Elastic Search by using Rest High Level Client](https://discuss.elastic.co/t/sockettimeoutexception-while-retrieving-or-inserting-data-into-elastic-search-by-using-rest-high-level-client/191943)

<div class="topic-metadata">

**Author:** [@iAshwinK](https://discuss.elastic.co/u/iAshwinK)\
**Replies:** 1\
**Last updated:** [July 24, 2019, 4:40am UTC](https://discuss.elastic.co/t/sockettimeoutexception-while-retrieving-or-inserting-data-into-elastic-search-by-using-rest-high-level-client/191943 "2019-07-24T04:40:46Z")

</div>

I'm facing SocketTimeoutException while retrieving/inserting data from/to elastic. This is happening when there are around 10-30 request/second. These requests are combination of get/put. Here is my elastic configuratio…

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

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