# Elasticsearch

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

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

**Page:** 1236

---

## [ElasticSearch on Hubblestack](https://discuss.elastic.co/t/elasticsearch-on-hubblestack/189415)

<div class="topic-metadata">

**Author:** [@SpiritualMadMan](https://discuss.elastic.co/u/SpiritualMadMan)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 8:49pm UTC](https://discuss.elastic.co/t/elasticsearch-on-hubblestack/189415 "2019-07-08T20:49:54Z")

</div>

Newbie in so many ways... Please help if you can... Has anyone here used ElasticSearch ("E") on hubblestack? Can we use "E" without installing Kibana and Logstash? We are getting the following error: KeyError: u'elas…

---

## [Attempted to resurrect connection to dead ES instance. 401 Error](https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-401-error/189167)

<div class="topic-metadata">

**Author:** [@VeeT](https://discuss.elastic.co/u/VeeT)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 8:49pm UTC](https://discuss.elastic.co/t/attempted-to-resurrect-connection-to-dead-es-instance-401-error/189167 "2019-07-08T20:49:15Z")

</div>

Hi, I'm getting the following error in the logstash log file. Attempted to resurrect connection to dead ES instance, but got an error. {:url=\>"http://000.00.00.02:9200/", :error\_type=\>LogStash::Outputs::Ela sticSearch…

---

## [Copy a single index from ES 5.6 to ES 7.2](https://discuss.elastic.co/t/copy-a-single-index-from-es-5-6-to-es-7-2/189419)

<div class="topic-metadata">

**Author:** [@o1o1o11o1](https://discuss.elastic.co/u/o1o1o11o1)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 8:43pm UTC](https://discuss.elastic.co/t/copy-a-single-index-from-es-5-6-to-es-7-2/189419 "2019-07-08T20:43:12Z")

</div>

I have a 5.6 and 7.2 ES clusters. I need to copy an index from the 5.6 to the 7.2 cluster. What is the best way to approach this ? I see that it is not possible to create a snapshot from 5.6 and restore it to a running …

---

## [Why is the http compression setting not dynamic? Is there any specific reason?](https://discuss.elastic.co/t/why-is-the-http-compression-setting-not-dynamic-is-there-any-specific-reason/189428)

<div class="topic-metadata">

**Author:** [@vamshi1252](https://discuss.elastic.co/u/vamshi1252)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 8:18pm UTC](https://discuss.elastic.co/t/why-is-the-http-compression-setting-not-dynamic-is-there-any-specific-reason/189428 "2019-07-08T20:18:23Z")

</div>

Hi Team, I see that http.compression setting is not dynamic because of which we may need to restart the nodes to change the setting. Any specific reason for not making this setting dynamic would be really helpful?

---

## [Having trouble creating aggregation](https://discuss.elastic.co/t/having-trouble-creating-aggregation/189421)

<div class="topic-metadata">

**Author:** [@rgelb](https://discuss.elastic.co/u/rgelb)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 7:53pm UTC](https://discuss.elastic.co/t/having-trouble-creating-aggregation/189421 "2019-07-08T19:53:20Z")

</div>

I have an index with following fields, among others: yearBuilt (a number like 1975 that indicates the year a house was constructed) zipCode I want to create an aggregation which shows the average YearBuilt by each Zip…

---

## [How to reindex using date field in source index?](https://discuss.elastic.co/t/how-to-reindex-using-date-field-in-source-index/189371)

<div class="topic-metadata">

**Author:** [@praveengadugin1](https://discuss.elastic.co/u/praveengadugin1)\
**Replies:** 5\
**Last updated:** [July 8, 2019, 7:17pm UTC](https://discuss.elastic.co/t/how-to-reindex-using-date-field-in-source-index/189371 "2019-07-08T19:17:02Z")

</div>

I have a source index with 14 million docs (2.5 TB). Reindexing it all at once is destabilizing the cluster and it stops midway. there is no way of tracking the progress and resuming . So i would like to know how to rei…

---

## [How "conflicts": "proceed", works in reindex API?](https://discuss.elastic.co/t/how-conflicts-proceed-works-in-reindex-api/189402)

<div class="topic-metadata">

**Author:** [@praveengadugin1](https://discuss.elastic.co/u/praveengadugin1)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 6:24pm UTC](https://discuss.elastic.co/t/how-conflicts-proceed-works-in-reindex-api/189402 "2019-07-08T18:24:03Z")

</div>

how "conflicts": "proceed", works in reindex API. Documentation of reindex API is not clear about it. What it actually treats as conflicts ? etc What it actually does when it comes across documents with same elastic id…

---

## [Significant Terms "No Results Found"?](https://discuss.elastic.co/t/significant-terms-no-results-found/189388)

<div class="topic-metadata">

**Author:** [@ParkerShamblin](https://discuss.elastic.co/u/ParkerShamblin)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 5:24pm UTC](https://discuss.elastic.co/t/significant-terms-no-results-found/189388 "2019-07-08T17:24:48Z")

</div>

I'm trying to use the "Significance Terms" aggregation on Twitter post, however, each time I try to I receive "No Results Found" (picture attached). When I try to use the Significant Terms aggregation on the text in the…

---

## [Issue with select \* from indexname in tableau connected to elasticsearch using JDBC](https://discuss.elastic.co/t/issue-with-select-from-indexname-in-tableau-connected-to-elasticsearch-using-jdbc/187692)

<div class="topic-metadata">

**Author:** [@ivar](https://discuss.elastic.co/u/ivar)\
**Replies:** 9\
**Last updated:** [July 8, 2019, 4:10pm UTC](https://discuss.elastic.co/t/issue-with-select-from-indexname-in-tableau-connected-to-elasticsearch-using-jdbc/187692 "2019-07-08T16:10:11Z")

</div>

I'm using elasticsearch 6.8 and JDBC client for 6.8 when connecting to elasticsearch from tableau, and executing select \* from indexname it is failing with following error An error occurred while communicating with t…

---

## [2 node cluster on Elasticsearch 7.0.1](https://discuss.elastic.co/t/2-node-cluster-on-elasticsearch-7-0-1/189127)

<div class="topic-metadata">

**Author:** [@duncRed](https://discuss.elastic.co/u/duncRed)\
**Replies:** 5\
**Last updated:** [July 8, 2019, 3:41pm UTC](https://discuss.elastic.co/t/2-node-cluster-on-elasticsearch-7-0-1/189127 "2019-07-08T15:41:41Z")

</div>

Hi We had configured a 2 node cluster on Elasticsearch 6.x with both nodes configured as master eligible and the minimum number of master nodes configured to 1. We found this worked for our requirements particularly wh…

---

## [Alert kibana](https://discuss.elastic.co/t/alert-kibana/189343)

<div class="topic-metadata">

**Author:** [@zmira\_meriem](https://discuss.elastic.co/u/zmira_meriem)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 3:40pm UTC](https://discuss.elastic.co/t/alert-kibana/189343 "2019-07-08T15:40:59Z")

</div>

Hi plzz how can i configure alerts in basic licence of kibana 7.2??? i need u r help thx for your answers

---

## [Cloud Elastic with Azure AD Authentication](https://discuss.elastic.co/t/cloud-elastic-with-azure-ad-authentication/189154)

<div class="topic-metadata">

**Author:** [@RxJcollins](https://discuss.elastic.co/u/RxJcollins)\
**Replies:** 4\
**Last updated:** [July 8, 2019, 3:09pm UTC](https://discuss.elastic.co/t/cloud-elastic-with-azure-ad-authentication/189154 "2019-07-08T15:09:08Z")

</div>

I am currently evaluating the Cloud Elastic Service as cloud.elastic.co for my organization. I have created my deployment and would like to connect it to our Azure AD to use AD as authentication to Kibana and map Elastic…

---

## [Custom serialization with 7.0.0 Elasticsearch NEST](https://discuss.elastic.co/t/custom-serialization-with-7-0-0-elasticsearch-nest/188535)

<div class="topic-metadata">

**Author:** [@Slade](https://discuss.elastic.co/u/Slade)\
**Replies:** 5\
**Last updated:** [July 8, 2019, 2:29pm UTC](https://discuss.elastic.co/t/custom-serialization-with-7-0-0-elasticsearch-nest/188535 "2019-07-08T14:29:06Z")

</div>

The documentation for custom-serialization in 7.x (current) doesn't seem to be updated as it doesn't seem to mention anything regarding the switch to Utf8Json in the 7.x version. It also talks about the current version …

---

## [NEST 7 ConnectionSettings DefaultMappingFor doesn't support base class mapping anymore](https://discuss.elastic.co/t/nest-7-connectionsettings-defaultmappingfor-doesnt-support-base-class-mapping-anymore/188742)

<div class="topic-metadata">

**Author:** [@Slade](https://discuss.elastic.co/u/Slade)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 2:25pm UTC](https://discuss.elastic.co/t/nest-7-connectionsettings-defaultmappingfor-doesnt-support-base-class-mapping-anymore/188742 "2019-07-08T14:25:42Z")

</div>

After upgrading to NEST 7 I noticed that properties which were ignored in 6.4.2 were no longer ignored. I'm not sure that the it was supposed to work in the first place though. I've looking though the breaking changes f…

---

## [Java api : how to append/add a object to array using java highlevel client](https://discuss.elastic.co/t/java-api-how-to-append-add-a-object-to-array-using-java-highlevel-client/188944)

<div class="topic-metadata">

**Author:** [@gangakrishhh](https://discuss.elastic.co/u/gangakrishhh)\
**Replies:** 6\
**Last updated:** [July 8, 2019, 2:13pm UTC](https://discuss.elastic.co/t/java-api-how-to-append-add-a-object-to-array-using-java-highlevel-client/188944 "2019-07-08T14:13:42Z")

</div>

I've nested type in mappings and below doc looks like { "id" : 1, "blog": "something.." users : \[ { "name","xyz", "id": 123 }, { "name","abc", "id": 235 } \] I want to add one more user to users array how to d…

---

## [How to Get a specific Field Id from JSON Index using Low Level Rest Client API](https://discuss.elastic.co/t/how-to-get-a-specific-field-id-from-json-index-using-low-level-rest-client-api/189318)

<div class="topic-metadata">

**Author:** [@samyo](https://discuss.elastic.co/u/samyo)\
**Replies:** 3\
**Last updated:** [July 8, 2019, 1:53pm UTC](https://discuss.elastic.co/t/how-to-get-a-specific-field-id-from-json-index-using-low-level-rest-client-api/189318 "2019-07-08T13:53:34Z")

</div>

Hello Folks, i have this JSON DATA in Elasticsearch , and i want to get a specific "id" from it using Low Level Rest Clien API in java. this is the JSON DATA , { "took": 2, "timed\_out": false, "\_shards": { "total": 5…

---

## [How to index (and search) large strings](https://discuss.elastic.co/t/how-to-index-and-search-large-strings/187646)

<div class="topic-metadata">

**Author:** [@denmcktr](https://discuss.elastic.co/u/denmcktr)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 1:43pm UTC](https://discuss.elastic.co/t/how-to-index-and-search-large-strings/187646 "2019-07-08T13:43:27Z")

</div>

Need some advice in dealing with large strings of data. It is our goal to OCR documents and make their text fully searchable. So far, we've been indexing the text without any issues, but recently have run into Lucene e…

---

## [I get the error "No processor type exists with name \[attachment\]"](https://discuss.elastic.co/t/i-get-the-error-no-processor-type-exists-with-name-attachment/188935)

<div class="topic-metadata">

**Author:** [@FeizNouri](https://discuss.elastic.co/u/FeizNouri)\
**Replies:** 19\
**Last updated:** [July 8, 2019, 1:28pm UTC](https://discuss.elastic.co/t/i-get-the-error-no-processor-type-exists-with-name-attachment/188935 "2019-07-08T13:28:49Z")

</div>

i get { "error": { "root\_cause": \[ { "type": "parse\_exception", "reason": "No processor type exists with name \[attachment\]", "processor\_type": "attachment" } \], "type": "parse\_exception", "reason": "No process…

---

## [Filtering/Querying by indexed geo\_shapes](https://discuss.elastic.co/t/filtering-querying-by-indexed-geo-shapes/188800)

<div class="topic-metadata">

**Author:** [@BenjaminHenry](https://discuss.elastic.co/u/BenjaminHenry)\
**Replies:** 7\
**Last updated:** [July 8, 2019, 1:28pm UTC](https://discuss.elastic.co/t/filtering-querying-by-indexed-geo-shapes/188800 "2019-07-08T13:28:44Z")

</div>

Hi there, I am attempting to filter or query a index with geo points by using a geo\_shape I have indexed already. For context, the "ais\_2016\_nov\_zone11\_enriched5" index is the one with geo points and the "ben\_clusters" …

---

## [Elastic - sharing experience in upgrading a cluster](https://discuss.elastic.co/t/elastic-sharing-experience-in-upgrading-a-cluster/189358)

<div class="topic-metadata">

**Author:** [@JimJ](https://discuss.elastic.co/u/JimJ)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 1:27pm UTC](https://discuss.elastic.co/t/elastic-sharing-experience-in-upgrading-a-cluster/189358 "2019-07-08T13:27:35Z")

</div>

Hi everybody, I am new in Elasticsearch. And I would like to get some feedback from experienced users/admins about the best way upgrading a cluster. I manage 2 small clusters 3 nodes each. First cluster in version 6.…

---

## [Upload Billions data to ES in less time](https://discuss.elastic.co/t/upload-billions-data-to-es-in-less-time/188925)

<div class="topic-metadata">

**Author:** [@inandi](https://discuss.elastic.co/u/inandi)\
**Replies:** 6\
**Last updated:** [July 8, 2019, 1:13pm UTC](https://discuss.elastic.co/t/upload-billions-data-to-es-in-less-time/188925 "2019-07-08T13:13:54Z")

</div>

Suppose I have 2 billion data in another database i.e. MySQL. I want to upload this amount of data to ES. The calculation is showing almost 10 days it will take to upload. But I need to do this task within a few hours. …

---

## [What is the difference between interval and span queries?](https://discuss.elastic.co/t/what-is-the-difference-between-interval-and-span-queries/189348)

<div class="topic-metadata">

**Author:** [@princesahu04](https://discuss.elastic.co/u/princesahu04)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 1:07pm UTC](https://discuss.elastic.co/t/what-is-the-difference-between-interval-and-span-queries/189348 "2019-07-08T13:07:02Z")

</div>

In both the query we control over the order and proximity of matching terms then what is the actual difference between them?

---

## [How my config file should be on publish mode with a single node?](https://discuss.elastic.co/t/how-my-config-file-should-be-on-publish-mode-with-a-single-node/189034)

<div class="topic-metadata">

**Author:** [@emrealtan](https://discuss.elastic.co/u/emrealtan)\
**Replies:** 12\
**Last updated:** [July 8, 2019, 11:10am UTC](https://discuss.elastic.co/t/how-my-config-file-should-be-on-publish-mode-with-a-single-node/189034 "2019-07-08T11:10:59Z")

</div>

Hello, I'm trying to setup Elasticsearch on our porduction server. Initially, we'll use only one server, which means we'll have only one node. But I couldn't figure out how the configuration should be on a production se…

---

## [Setting parent child relation](https://discuss.elastic.co/t/setting-parent-child-relation/189322)

<div class="topic-metadata">

**Author:** [@Vinit\_Pillai](https://discuss.elastic.co/u/Vinit_Pillai)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 10:14am UTC](https://discuss.elastic.co/t/setting-parent-child-relation/189322 "2019-07-08T10:14:04Z")

</div>

I'm using indexRequestBuilder and I want to use setParent(). I have to migrate a code which was written on ES 5.4.0. where setParent() was present. but now I'm using 7.2.0 Where the parent field has been replaced with jo…

---

## [Elastic 5.6.5 - Force Merge how many segments need to configure](https://discuss.elastic.co/t/elastic-5-6-5-force-merge-how-many-segments-need-to-configure/189293)

<div class="topic-metadata">

**Author:** [@Sathish\_kumar\_Marimu](https://discuss.elastic.co/u/Sathish_kumar_Marimu)\
**Replies:** 8\
**Last updated:** [July 8, 2019, 9:18am UTC](https://discuss.elastic.co/t/elastic-5-6-5-force-merge-how-many-segments-need-to-configure/189293 "2019-07-08T09:18:52Z")

</div>

Hi, I have more than 1 billion documents in one index with 1 shard and 2 replica. My use case is to update elastic document frequently, so i have more than six hundred fifty million deleted documents in the index which …

---

## [Rollup Job not working on ES 6.6.1](https://discuss.elastic.co/t/rollup-job-not-working-on-es-6-6-1/188861)

<div class="topic-metadata">

**Author:** [@Fabio-sama](https://discuss.elastic.co/u/Fabio-sama)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 8:19am UTC](https://discuss.elastic.co/t/rollup-job-not-working-on-es-6-6-1/188861 "2019-07-08T08:19:07Z")

</div>

Hi there! Weeks ago I opened a discussion about a similar problem but then I found a workaround. Now I can't find one (I do not want to use external script when there's a specific ES function for aggregating data). No…

---

## [Optimization for heavy Elasticsearch terms aggregation](https://discuss.elastic.co/t/optimization-for-heavy-elasticsearch-terms-aggregation/189096)

<div class="topic-metadata">

**Author:** [@Prasiddha](https://discuss.elastic.co/u/Prasiddha)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 8:11am UTC](https://discuss.elastic.co/t/optimization-for-heavy-elasticsearch-terms-aggregation/189096 "2019-07-08T08:11:51Z")

</div>

I am using Elasticsearch 2.4 and upgrading it is not possible at the moment, since the mappings have to be changed. So directly to the question. I am trying to get different metrics for around 50 groups. I am using ter…

---

## [Variable \[clock\] is not defined](https://discuss.elastic.co/t/variable-clock-is-not-defined/189102)

<div class="topic-metadata">

**Author:** [@Kohinor](https://discuss.elastic.co/u/Kohinor)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 8:07am UTC](https://discuss.elastic.co/t/variable-clock-is-not-defined/189102 "2019-07-08T08:07:10Z")

</div>

Hi, there. Zabbix use script to aggregation "aggregations": { "group\_by\_script": { "terms": { "script": { "source": "Math.floor((params.width\*((doc\['clock.data'\].getMillis()/1000+params.delta)%params.size))/params.…

---

## [Issue on writting elasticsearch queries for nested field](https://discuss.elastic.co/t/issue-on-writting-elasticsearch-queries-for-nested-field/188926)

<div class="topic-metadata">

**Author:** [@kahoni](https://discuss.elastic.co/u/kahoni)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 7:43am UTC](https://discuss.elastic.co/t/issue-on-writting-elasticsearch-queries-for-nested-field/188926 "2019-07-08T07:43:23Z")

</div>

Hi everyone, I have an issue writing elasticsearch queries with nested field. I think you could help me because I'm the only one using Elastic in my company and I don't know how to solve my problem alone. Here are how …

---

## [Elastic nodes goes down Out of Memory as gc kicks in](https://discuss.elastic.co/t/elastic-nodes-goes-down-out-of-memory-as-gc-kicks-in/189060)

<div class="topic-metadata">

**Author:** [@Prashant\_Rana](https://discuss.elastic.co/u/Prashant_Rana)\
**Replies:** 10\
**Last updated:** [July 8, 2019, 7:36am UTC](https://discuss.elastic.co/t/elastic-nodes-goes-down-out-of-memory-as-gc-kicks-in/189060 "2019-07-08T07:36:42Z")

</div>

I am facing the same problem as described in this discussion ES version 5.6.4. With ES 2.2.0 everything was working fine. The bulk index queue is full and the index requests are spread across many indices. We are gett…

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

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