# Elasticsearch

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

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

**Page:** 1517

---

## [Current license is non-compliant for \[jdbc\]](https://discuss.elastic.co/t/current-license-is-non-compliant-for-jdbc/152594)

<div class="topic-metadata">

**Author:** [@prashantmipl](https://discuss.elastic.co/u/prashantmipl)\
**Replies:** 9\
**Last updated:** [October 16, 2018, 7:39am UTC](https://discuss.elastic.co/t/current-license-is-non-compliant-for-jdbc/152594 "2018-10-16T07:39:19Z")

</div>

current license is non-compliant for \[jdbc\] try{ Class.forName("org.elasticsearch.xpack.sql.jdbc.jdbc.JdbcDriver"); Connection con=DriverManager.getConnection("jdbc:es://http://localhost:9200/text"); //here s…

---

## [Performance changes when setting index.blocks.write / read\_only?](https://discuss.elastic.co/t/performance-changes-when-setting-index-blocks-write-read-only/152539)

<div class="topic-metadata">

**Author:** [@iamredlus](https://discuss.elastic.co/u/iamredlus)\
**Replies:** 1\
**Last updated:** [October 16, 2018, 7:02am UTC](https://discuss.elastic.co/t/performance-changes-when-setting-index-blocks-write-read-only/152539 "2018-10-16T07:02:56Z")

</div>

Hi, As part of our timeseries data management, we open new daily indices and ingest to them only once they are opened. Old indices are kept on our hot nodes for an additional day (for faster queries on these monstrous l…

---

## [Issue with search in Bitbucket Data Center](https://discuss.elastic.co/t/issue-with-search-in-bitbucket-data-center/152269)

<div class="topic-metadata">

**Author:** [@Q-factor](https://discuss.elastic.co/u/Q-factor)\
**Replies:** 3\
**Last updated:** [October 16, 2018, 6:55am UTC](https://discuss.elastic.co/t/issue-with-search-in-bitbucket-data-center/152269 "2018-10-16T06:55:56Z")

</div>

I was able to install and configure Elasticsearch 5.5.3 on Ubuntu 14.04. I was able to connect to Bitbucket Data Center. However, when running a search I get: Server Busy The server couldn't process your request, please…

---

## [How to find out if replication is in progress in a cluster](https://discuss.elastic.co/t/how-to-find-out-if-replication-is-in-progress-in-a-cluster/152193)

<div class="topic-metadata">

**Author:** [@sss](https://discuss.elastic.co/u/sss)\
**Replies:** 5\
**Last updated:** [October 16, 2018, 6:55am UTC](https://discuss.elastic.co/t/how-to-find-out-if-replication-is-in-progress-in-a-cluster/152193 "2018-10-16T06:55:53Z")

</div>

hello, I am looking for a reliable way where we can say that replication is in progress on a node ? From the below output, what are the parameters based on which i can reliably tell that replication is in progress/com…

---

## [Nested type field not found in Nested Script Filter Query](https://discuss.elastic.co/t/nested-type-field-not-found-in-nested-script-filter-query/152591)

<div class="topic-metadata">

**Author:** [@Rahul\_Garg1](https://discuss.elastic.co/u/Rahul_Garg1)\
**Replies:** 0\
**Last updated:** [October 16, 2018, 6:42am UTC](https://discuss.elastic.co/t/nested-type-field-not-found-in-nested-script-filter-query/152591 "2018-10-16T06:42:54Z")

</div>

Mapping is given below:- "properties": { "id": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore\_above": 256 } } }, …

---

## [Is now possible to use G1GC with ES 6.4.x](https://discuss.elastic.co/t/is-now-possible-to-use-g1gc-with-es-6-4-x/150681)

<div class="topic-metadata">

**Author:** [@michaelsogos](https://discuss.elastic.co/u/michaelsogos)\
**Replies:** 2\
**Last updated:** [October 16, 2018, 1:10am UTC](https://discuss.elastic.co/t/is-now-possible-to-use-g1gc-with-es-6-4-x/150681 "2018-10-16T01:10:24Z")

</div>

Dear, Reading this official page seems that G1GC is still avoided, at the same time seems that it is an old page from the far past. Someone can confirm it is stable or not yet?

---

## [What about ES 6.2.4 with G1GC?](https://discuss.elastic.co/t/what-about-es-6-2-4-with-g1gc/152562)

<div class="topic-metadata">

**Author:** [@AvivCohn](https://discuss.elastic.co/u/AvivCohn)\
**Replies:** 2\
**Last updated:** [October 16, 2018, 1:09am UTC](https://discuss.elastic.co/t/what-about-es-6-2-4-with-g1gc/152562 "2018-10-16T01:09:29Z")

</div>

What is the current stance of Elastic on large heaps, ES 6.2.4 with G1GC? Is it still not recommended? Thank you

---

## [Processing concentration on some cluster nodes - The return](https://discuss.elastic.co/t/processing-concentration-on-some-cluster-nodes-the-return/152537)

<div class="topic-metadata">

**Author:** [@Claudio\_Ranieri](https://discuss.elastic.co/u/Claudio_Ranieri)\
**Replies:** 6\
**Last updated:** [October 15, 2018, 9:29pm UTC](https://discuss.elastic.co/t/processing-concentration-on-some-cluster-nodes-the-return/152537 "2018-10-15T21:29:08Z")

</div>

Hi, I had opened the topic Processing concentration on some cluster nodes about the concentration of processing on a few nodes of the elasticsearch cluster. We performed several tests and noticed the following behavior:…

---

## [Shingles vs phrases for index size](https://discuss.elastic.co/t/shingles-vs-phrases-for-index-size/152137)

<div class="topic-metadata">

**Author:** [@doaks](https://discuss.elastic.co/u/doaks)\
**Replies:** 5\
**Last updated:** [October 15, 2018, 8:54pm UTC](https://discuss.elastic.co/t/shingles-vs-phrases-for-index-size/152137 "2018-10-15T20:54:08Z")

</div>

I am looking at using either shingles or phrases to allow phrase queries, however it seems to me that shingles must have a massive impact on index size. This is acknowledged in the documentation (https://www.elastic.co/b…

---

## [Distress: Elasticsearch does not start](https://discuss.elastic.co/t/distress-elasticsearch-does-not-start/152288)

<div class="topic-metadata">

**Author:** [@rsmoorthy](https://discuss.elastic.co/u/rsmoorthy)\
**Replies:** 3\
**Last updated:** [October 15, 2018, 8:04pm UTC](https://discuss.elastic.co/t/distress-elasticsearch-does-not-start/152288 "2018-10-15T20:04:43Z")

</div>

Current status: Elasticsearch (5.4.1) does not start, stays in Red. The log messages show the following error: \[2018-10-12T18:11:50,720\]\[WARN \]\[o.e.c.s.ClusterService \] \[5awoLm1\] failed to notify ClusterStateApplier …

---

## [Find Segment memory By Field](https://discuss.elastic.co/t/find-segment-memory-by-field/152554)

<div class="topic-metadata">

**Author:** [@djtecha](https://discuss.elastic.co/u/djtecha)\
**Replies:** 1\
**Last updated:** [October 15, 2018, 7:59pm UTC](https://discuss.elastic.co/t/find-segment-memory-by-field/152554 "2018-10-15T19:59:45Z")

</div>

I understand that I can get the semement memory per index in elasticsearch, but is there a way to get the breakdown by field? It would be very useful if I could get the layout of an index and determine if a specific fiel…

---

## [Illegal\_argument\_exception while creating mapping in ES 6.4](https://discuss.elastic.co/t/illegal-argument-exception-while-creating-mapping-in-es-6-4/152546)

<div class="topic-metadata">

**Author:** [@thinkdffrnt](https://discuss.elastic.co/u/thinkdffrnt)\
**Replies:** 3\
**Last updated:** [October 15, 2018, 7:53pm UTC](https://discuss.elastic.co/t/illegal-argument-exception-while-creating-mapping-in-es-6-4/152546 "2018-10-15T19:53:16Z")

</div>

Hi, I'm trying to create a date mapping in ES 6.4 version. I keep getting the below error. Can someone please guide me {"error":{"root\_cause":\[{"type":"mapper\_parsing\_exception","reason":"Failed to parse mapping \[myma…

---

## [Is elasticsearch client is thread safe?](https://discuss.elastic.co/t/is-elasticsearch-client-is-thread-safe/151745)

<div class="topic-metadata">

**Author:** [@rohit\_kumar\_Jain](https://discuss.elastic.co/u/rohit_kumar_Jain)\
**Replies:** 2\
**Last updated:** [October 15, 2018, 7:29pm UTC](https://discuss.elastic.co/t/is-elasticsearch-client-is-thread-safe/151745 "2018-10-15T19:29:34Z")

</div>

Hi Geeks, My question is if elasticsearch client (or es go client) is thread-safe or not? I mean say suppose I have one es instance is running on 127.0.0.1:9200 and I have multiple indexes and multiple queries to fetch…

---

## [Does creating snapshot make cluster slow?](https://discuss.elastic.co/t/does-creating-snapshot-make-cluster-slow/152149)

<div class="topic-metadata">

**Author:** [@Jianzhou\_Z](https://discuss.elastic.co/u/Jianzhou_Z)\
**Replies:** 5\
**Last updated:** [October 15, 2018, 6:48pm UTC](https://discuss.elastic.co/t/does-creating-snapshot-make-cluster-slow/152149 "2018-10-15T18:48:31Z")

</div>

I use ElasticSearch 5.6. When running snapshot, I run http://localhost:9200/\_cluster/health but did not get response for more than 10 sec. I can also see when snapshot runs, machines have a lot of costs at disk/network …

---

## [Es.update.script.inline and es.write.operation](https://discuss.elastic.co/t/es-update-script-inline-and-es-write-operation/152192)

<div class="topic-metadata">

**Author:** [@werowe](https://discuss.elastic.co/u/werowe)\
**Replies:** 2\
**Last updated:** [October 15, 2018, 6:37pm UTC](https://discuss.elastic.co/t/es-update-script-inline-and-es-write-operation/152192 "2018-10-15T18:37:41Z")

</div>

Trying to update a document using the elasticsearch-hadoop jar and Spark. This works find: ´´´ curl -XPOST --header 'Content-Type: application/json' http://localhost:9200/walker\_pandas/\_doc/1/\_update -d '{ curl -XPOS…

---

## [How fast can elastic search records be read?](https://discuss.elastic.co/t/how-fast-can-elastic-search-records-be-read/152494)

<div class="topic-metadata">

**Author:** [@Arik\_Halperin](https://discuss.elastic.co/u/Arik_Halperin)\
**Replies:** 5\
**Last updated:** [October 15, 2018, 6:11pm UTC](https://discuss.elastic.co/t/how-fast-can-elastic-search-records-be-read/152494 "2018-10-15T18:11:30Z")

</div>

We have a system that from one side writes information, and on the other sides reads the data. I synchronize the data based on a timestamp. I read data from a point in time, arrange it according to the timestamp and con…

---

## [How to setup parent child relationship](https://discuss.elastic.co/t/how-to-setup-parent-child-relationship/152528)

<div class="topic-metadata">

**Author:** [@abhijitnt](https://discuss.elastic.co/u/abhijitnt)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 3:58pm UTC](https://discuss.elastic.co/t/how-to-setup-parent-child-relationship/152528 "2018-10-15T15:58:55Z")

</div>

I have 2 different lines in the log for each search and response. We identify respective serach and its response by "conn" and "op" number. Want to setup parent child relationship on "conn" and "op" so when I search ou=1…

---

## [Repository-s3: snapshot\_creation\_exception, unable to load object](https://discuss.elastic.co/t/repository-s3-snapshot-creation-exception-unable-to-load-object/146780)

<div class="topic-metadata">

**Author:** [@DNM](https://discuss.elastic.co/u/DNM)\
**Replies:** 5\
**Last updated:** [October 15, 2018, 3:51pm UTC](https://discuss.elastic.co/t/repository-s3-snapshot-creation-exception-unable-to-load-object/146780 "2018-10-15T15:51:31Z")

</div>

ES version: 5.6.4, using Docker 18.03 We have a large index (1.1TB, compressed) set up to take snapshots to S3 using the repository-s3 plugin, and have already successfully snapshotted a previous version of the index. W…

---

## [Elasticsearch: Analyzer not working](https://discuss.elastic.co/t/elasticsearch-analyzer-not-working/152485)

<div class="topic-metadata">

**Author:** [@rahulnama](https://discuss.elastic.co/u/rahulnama)\
**Replies:** 2\
**Last updated:** [October 15, 2018, 3:35pm UTC](https://discuss.elastic.co/t/elasticsearch-analyzer-not-working/152485 "2018-10-15T15:35:15Z")

</div>

Hi Team I'm not sure why this is not working PUT my\_index { "settings": { "analysis": { "analyzer": { "test\_analyzer": { "type": "standard", "stopwords": "\_english\_" } } …

---

## [nGram ordered partial/phrase matching - how to split search token by length?](https://discuss.elastic.co/t/ngram-ordered-partial-phrase-matching-how-to-split-search-token-by-length/152520)

<div class="topic-metadata">

**Author:** [@tomekit](https://discuss.elastic.co/u/tomekit)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 2:57pm UTC](https://discuss.elastic.co/t/ngram-ordered-partial-phrase-matching-how-to-split-search-token-by-length/152520 "2018-10-15T14:57:43Z")

</div>

I am trying to implement autocomplete for chemical substance names, e.g. 1-Methyl-1,3,4,5-tetrahydropyrrolo(4,3,2-de)isoquinoline where it's possible to search using partial name. E.g. yrrolo(4,3,2 I've got this workin…

---

## [Angular + Elastic : Upload Json file and create an index from it](https://discuss.elastic.co/t/angular-elastic-upload-json-file-and-create-an-index-from-it/152075)

<div class="topic-metadata">

**Author:** [@CodeWalker](https://discuss.elastic.co/u/CodeWalker)\
**Replies:** 6\
**Last updated:** [October 15, 2018, 2:54pm UTC](https://discuss.elastic.co/t/angular-elastic-upload-json-file-and-create-an-index-from-it/152075 "2018-10-15T14:54:24Z")

</div>

Hi, I am coding in Angular. I would like to create a form where the user can upload a json file which will be passed to Elastic to be indexed and dashboarded in KIbana with predetermined widgets. The result dashboard w…

---

## [Not getting whitelist confirmation email - Cloud](https://discuss.elastic.co/t/not-getting-whitelist-confirmation-email-cloud/152108)

<div class="topic-metadata">

**Author:** [@jenyphur](https://discuss.elastic.co/u/jenyphur)\
**Replies:** 1\
**Last updated:** [October 15, 2018, 1:36pm UTC](https://discuss.elastic.co/t/not-getting-whitelist-confirmation-email-cloud/152108 "2018-10-15T13:36:28Z")

</div>

Hello there, I'm trying to set up an alert and from what I've read I must first add the email address to the whitelist. I go to the cloud profile and enter address and it says it's sent the email but I never receive it. …

---

## [Get first N values, then aggregate](https://discuss.elastic.co/t/get-first-n-values-then-aggregate/151950)

<div class="topic-metadata">

**Author:** [@moisesjbc](https://discuss.elastic.co/u/moisesjbc)\
**Replies:** 8\
**Last updated:** [October 15, 2018, 1:25pm UTC](https://discuss.elastic.co/t/get-first-n-values-then-aggregate/151950 "2018-10-15T13:25:37Z")

</div>

Good night I have test documents like the following: PUT /megacorp/employees/1 { "text": "text1", "number": 1 } PUT /megacorp/employees/2 { "text": "text1", "number": 2 } PUT /megacorp/employees/3 { "text":…

---

## [Copy analyzed text into another field](https://discuss.elastic.co/t/copy-analyzed-text-into-another-field/152488)

<div class="topic-metadata">

**Author:** [@das\_boot](https://discuss.elastic.co/u/das_boot)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 11:59am UTC](https://discuss.elastic.co/t/copy-analyzed-text-into-another-field/152488 "2018-10-15T11:59:03Z")

</div>

We are trying to build a WordCloud over four Text-Fields. Each field has its own Stop Analyzer. For example TextFr with a French Stop Analyzer, TextDe with a German Stop Analyzer. The analyzed result should be copied in…

---

## [Optimize Action in Alerts to trigger only once for a detected anomaly](https://discuss.elastic.co/t/optimize-action-in-alerts-to-trigger-only-once-for-a-detected-anomaly/152008)

<div class="topic-metadata">

**Author:** [@Elango-mas](https://discuss.elastic.co/u/Elango-mas)\
**Replies:** 3\
**Last updated:** [October 15, 2018, 12:23pm UTC](https://discuss.elastic.co/t/optimize-action-in-alerts-to-trigger-only-once-for-a-detected-anomaly/152008 "2018-10-15T12:23:37Z")

</div>

Hi Experts, I need to optimize the alerts as triggered in scheduled interval in which the action is to be executed only once for detected anomalies and the same alert should not execute the action until the anomaly is r…

---

## [Sorting by the opposite direction is very slow](https://discuss.elastic.co/t/sorting-by-the-opposite-direction-is-very-slow/152132)

<div class="topic-metadata">

**Author:** [@Jason\_Baumgartner](https://discuss.elastic.co/u/Jason_Baumgartner)\
**Replies:** 1\
**Last updated:** [October 15, 2018, 11:41am UTC](https://discuss.elastic.co/t/sorting-by-the-opposite-direction-is-very-slow/152132 "2018-10-15T11:41:50Z")

</div>

I have an index where I used the new Lucene feature of indexing on a specific field. In my mapping, I have the following: "sort.field": "created\_utc", "sort.order": "desc", When I request documents using the same sort…

---

## [Add comment to watch definition](https://discuss.elastic.co/t/add-comment-to-watch-definition/152221)

<div class="topic-metadata">

**Author:** [@ypid-geberit](https://discuss.elastic.co/u/ypid-geberit)\
**Replies:** 1\
**Last updated:** [October 15, 2018, 11:39am UTC](https://discuss.elastic.co/t/add-comment-to-watch-definition/152221 "2018-10-15T11:39:37Z")

</div>

On Kibana 6.2.4 under Management/Elasticsearch/Watcher there is the table of watches with the columns: ID, Name, State, Comment, Last Fired, Last Triggered My question is how can I define a comment for a watch? I figure…

---

## [Not finding wanted result in query string](https://discuss.elastic.co/t/not-finding-wanted-result-in-query-string/152020)

<div class="topic-metadata">

**Author:** [@anon99430464](https://discuss.elastic.co/u/anon99430464)\
**Replies:** 1\
**Last updated:** [October 15, 2018, 11:22am UTC](https://discuss.elastic.co/t/not-finding-wanted-result-in-query-string/152020 "2018-10-15T11:22:14Z")

</div>

Hello We have an Elasticsearch 5.5 setup. We use nest to perform our queries through C#. When executing the following query: { "query": { "bool": { "must": \[ { "query\_string": { …

---

## [Total Hits in elastic Search prepareSearch() behaves in an inconsistent manner](https://discuss.elastic.co/t/total-hits-in-elastic-search-preparesearch-behaves-in-an-inconsistent-manner/150963)

<div class="topic-metadata">

**Author:** [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Replies:** 14\
**Last updated:** [October 15, 2018, 11:21am UTC](https://discuss.elastic.co/t/total-hits-in-elastic-search-preparesearch-behaves-in-an-inconsistent-manner/150963 "2018-10-15T11:21:15Z")

</div>

I'm new to ElasticSearch and my scenario is something like, there is an index with some 100 documents. I'm using following snippet to retrieve those ListenableActionFuture f = esClient.prepareSearch(index) .setTypes(typ…

---

## [Help understanding hot threads (CPU 100% for several hours)](https://discuss.elastic.co/t/help-understanding-hot-threads-cpu-100-for-several-hours/152069)

<div class="topic-metadata">

**Author:** [@carasel](https://discuss.elastic.co/u/carasel)\
**Replies:** 1\
**Last updated:** [October 15, 2018, 11:20am UTC](https://discuss.elastic.co/t/help-understanding-hot-threads-cpu-100-for-several-hours/152069 "2018-10-15T11:20:49Z")

</div>

I indexed a lot of data into my elasticsearch cluster several hours ago. The CPU utilization went to 100% while this was happening, but now that it has finished (about 3 hours ago) the CPU utilization is still 100%. I h…

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

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