# Elasticsearch

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

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

**Page:** 1768

---

## [Too Many Requests error from bulk thread pool rather than index thread pool](https://discuss.elastic.co/t/too-many-requests-error-from-bulk-thread-pool-rather-than-index-thread-pool/122379)

<div class="topic-metadata">

**Author:** [@Jong\_Kim](https://discuss.elastic.co/u/Jong_Kim)\
**Replies:** 0\
**Last updated:** [March 3, 2018, 4:01pm UTC](https://discuss.elastic.co/t/too-many-requests-error-from-bulk-thread-pool-rather-than-index-thread-pool/122379 "2018-03-03T16:01:15Z")

</div>

I'm using Elasticsearch 5.5.1 with Java REST Client. My application adds documents only via regular API (i.e. POST /index/type/id). When I put the system under load test, I sometimes get the following errors. Caused by…

---

## [String to Keywords](https://discuss.elastic.co/t/string-to-keywords/122377)

<div class="topic-metadata">

**Author:** [@haldrich](https://discuss.elastic.co/u/haldrich)\
**Replies:** 0\
**Last updated:** [March 3, 2018, 3:54pm UTC](https://discuss.elastic.co/t/string-to-keywords/122377 "2018-03-03T15:54:19Z")

</div>

We have a situation where we used to use Not Analyzed string fields. The data in question looks like this: tag1,tag2,tag3 It is used for aggregation and got stored in an array of values e.g. \[tag1,tag2,tag3\] because i…

---

## [\[Solved\] Elastic shutdowns whenever he wants](https://discuss.elastic.co/t/solved-elastic-shutdowns-whenever-he-wants/122356)

<div class="topic-metadata">

**Author:** [@elaelaela](https://discuss.elastic.co/u/elaelaela)\
**Replies:** 2\
**Last updated:** [March 3, 2018, 3:34pm UTC](https://discuss.elastic.co/t/solved-elastic-shutdowns-whenever-he-wants/122356 "2018-03-03T15:34:25Z")

</div>

Hi! First of all I never used elastic search before, only mysql, but for searching 1m records I decided to use elastic. I'm using elastic php library to insert and get records and use only autosuggest feature. On type g…

---

## [How to run source builded elasticsearch?](https://discuss.elastic.co/t/how-to-run-source-builded-elasticsearch/122297)

<div class="topic-metadata">

**Author:** [@mover](https://discuss.elastic.co/u/mover)\
**Replies:** 3\
**Last updated:** [March 3, 2018, 1:50pm UTC](https://discuss.elastic.co/t/how-to-run-source-builded-elasticsearch/122297 "2018-03-03T13:50:33Z")

</div>

i checkout out elasticsearch sources with version v2.4.6, then compile sources using command: mvn clean install -Dcheckstyle.skip=true -DskipTests then i execute ./bin/elasticsearch, but failed, follow is the error inf…

---

## [See what is in the queue](https://discuss.elastic.co/t/see-what-is-in-the-queue/122331)

<div class="topic-metadata">

**Author:** [@mpax](https://discuss.elastic.co/u/mpax)\
**Replies:** 1\
**Last updated:** [March 3, 2018, 1:29pm UTC](https://discuss.elastic.co/t/see-what-is-in-the-queue/122331 "2018-03-03T13:29:22Z")

</div>

My queue is constantly overloading with queries. What would be tremendous, is if I could see what is in that queue, so I can backtrace to the source. Is there a way to do this?

---

## [Fuzzy Logic with Spark and elastic search](https://discuss.elastic.co/t/fuzzy-logic-with-spark-and-elastic-search/122372)

<div class="topic-metadata">

**Author:** [@kosmik5](https://discuss.elastic.co/u/kosmik5)\
**Replies:** 0\
**Last updated:** [March 3, 2018, 1:13pm UTC](https://discuss.elastic.co/t/fuzzy-logic-with-spark-and-elastic-search/122372 "2018-03-03T13:13:52Z")

</div>

Hi, Please suggest me right approach to solve this scenario …. I have a DB2 table called "part" to store all individuals points of interest alongside address subtle elements (segment name, for example, , street\_address…

---

## [\[SOLVED\] Thread pool for Painless aggregation](https://discuss.elastic.co/t/solved-thread-pool-for-painless-aggregation/121087)

<div class="topic-metadata">

**Author:** [@cbismuth](https://discuss.elastic.co/u/cbismuth)\
**Replies:** 7\
**Last updated:** [March 3, 2018, 12:48pm UTC](https://discuss.elastic.co/t/solved-thread-pool-for-painless-aggregation/121087 "2018-03-03T12:48:13Z")

</div>

Hi, We have 46% of idle CPU while executing heavy Painless aggregations. We wish we could consume this idle CPU time. Is there any thread pool to configure to do so? Thank you, Christophe

---

## [\[SOLVED\] Painless parameters passing from Java code](https://discuss.elastic.co/t/solved-painless-parameters-passing-from-java-code/117079)

<div class="topic-metadata">

**Author:** [@cbismuth](https://discuss.elastic.co/u/cbismuth)\
**Replies:** 5\
**Last updated:** [March 3, 2018, 12:28pm UTC](https://discuss.elastic.co/t/solved-painless-parameters-passing-from-java-code/117079 "2018-03-03T12:28:41Z")

</div>

Hi, We can't manage to pass parameters from Java to Painless runtime (Elasticsearch 6.1.2 - client and server). The error we got is: {"error":{"root\_cause":\[{"type":"script\_exception","reason":"runtime error","to\_stri…

---

## [Broken index](https://discuss.elastic.co/t/broken-index/122366)

<div class="topic-metadata">

**Author:** [@Ivan44785372](https://discuss.elastic.co/u/Ivan44785372)\
**Replies:** 1\
**Last updated:** [March 3, 2018, 11:59am UTC](https://discuss.elastic.co/t/broken-index/122366 "2018-03-03T11:59:18Z")

</div>

Hello. Every 4-7 days one of my indexes get broken. ES: 5.6.8 OS: Debian 9.3 4.9.0-6-amd64 curl -XGET http://hostname:9200/\_cat/indices | grep red red delivered HotrN1eGQpmxTkbJN0oL0g 5 1 36618688 1476436 1.8gb…

---

## [Virtualization Performance](https://discuss.elastic.co/t/virtualization-performance/121096)

<div class="topic-metadata">

**Author:** [@Cen\_giz](https://discuss.elastic.co/u/Cen_giz)\
**Replies:** 2\
**Last updated:** [March 3, 2018, 11:44am UTC](https://discuss.elastic.co/t/virtualization-performance/121096 "2018-03-03T11:44:49Z")

</div>

Dears, We are running Elastic on physical nodes with 24 Core/256 GB RAM - 1 Elastic Instance per machine and CPU utilization is around 10 %. I have virtualized the node with Hypervisor and split the machine into 2 and…

---

## [Docker restarting with security.enabled:false](https://discuss.elastic.co/t/docker-restarting-with-security-enabled-false/122052)

<div class="topic-metadata">

**Author:** [@User\_2\_Guest\_Incomin](https://discuss.elastic.co/u/User_2_Guest_Incomin)\
**Replies:** 4\
**Last updated:** [March 3, 2018, 7:52am UTC](https://discuss.elastic.co/t/docker-restarting-with-security-enabled-false/122052 "2018-03-03T07:52:06Z")

</div>

Hi ppl, I'm trying to enable login on kibana 6.1, I read i must set xpack.security.enabled: false I got it like you'll see now, but the docker don't stop restarting. \[imagen\] When i try to start it with -i it says : …

---

## [Exception while inserting data in to elastic search using apache spark (org.apache.spark.SparkException: Task not serializable)](https://discuss.elastic.co/t/exception-while-inserting-data-in-to-elastic-search-using-apache-spark-org-apache-spark-sparkexception-task-not-serializable/122352)

<div class="topic-metadata">

**Author:** [@Basim](https://discuss.elastic.co/u/Basim)\
**Replies:** 0\
**Last updated:** [March 3, 2018, 5:23am UTC](https://discuss.elastic.co/t/exception-while-inserting-data-in-to-elastic-search-using-apache-spark-org-apache-spark-sparkexception-task-not-serializable/122352 "2018-03-03T05:23:14Z")

</div>

I am using custom spark receiver for spark streaming. In javaCustomStream i am getting value in JavaDStream But when i try to save data into elasticsearch by using saveJsonToEs function it gives exception Apache spark ex…

---

## [Creating a dynamic swagger for an Elasticsearch API](https://discuss.elastic.co/t/creating-a-dynamic-swagger-for-an-elasticsearch-api/122345)

<div class="topic-metadata">

**Author:** [@Kamal\_Hafyane](https://discuss.elastic.co/u/Kamal_Hafyane)\
**Replies:** 1\
**Last updated:** [March 3, 2018, 1:03am UTC](https://discuss.elastic.co/t/creating-a-dynamic-swagger-for-an-elasticsearch-api/122345 "2018-03-03T01:03:18Z")

</div>

I want to create a dynamic swagger of an elasticsearch API since the response returned by Api is unexpected because it contains facets and I would like to know if there is way to generate the swagger automatically throug…

---

## [Why did Elasticsearch automatically rename all of my indices?](https://discuss.elastic.co/t/why-did-elasticsearch-automatically-rename-all-of-my-indices/122301)

<div class="topic-metadata">

**Author:** [@daved](https://discuss.elastic.co/u/daved)\
**Replies:** 5\
**Last updated:** [March 3, 2018, 12:59am UTC](https://discuss.elastic.co/t/why-did-elasticsearch-automatically-rename-all-of-my-indices/122301 "2018-03-03T00:59:09Z")

</div>

Hi, I have been trying to upgrade from 2.x to 6.x and am seeing very strange behavior. Most recently, I noticed that elasticsearch has renamed my indices from my human-readable names to some random uncomprehendable name…

---

## [High flood state disk watermark results in read only indexes](https://discuss.elastic.co/t/high-flood-state-disk-watermark-results-in-read-only-indexes/122335)

<div class="topic-metadata">

**Author:** [@ramarik](https://discuss.elastic.co/u/ramarik)\
**Replies:** 2\
**Last updated:** [March 3, 2018, 12:05am UTC](https://discuss.elastic.co/t/high-flood-state-disk-watermark-results-in-read-only-indexes/122335 "2018-03-03T00:05:33Z")

</div>

I have 1TB SSD on my notebook with 15GB free space at the moment. Although ES node data take only 130MB, all indexes inluding the .kibana are marked as read-only and any further work is blocked. I would consider that as…

---

## [SQL like query in ELasticsearch with AND OR](https://discuss.elastic.co/t/sql-like-query-in-elasticsearch-with-and-or/121319)

<div class="topic-metadata">

**Author:** [@bhowmick.pb](https://discuss.elastic.co/u/bhowmick.pb)\
**Replies:** 1\
**Last updated:** [March 2, 2018, 10:36pm UTC](https://discuss.elastic.co/t/sql-like-query-in-elasticsearch-with-and-or/121319 "2018-03-02T22:36:03Z")

</div>

Hi I am still playing around with elasticsearch(V6.1.3) and found it amazing but still struglling.I can do single term query search easily and code follows for my setup: from elasticsearch import Elasticsearch es = …

---

## [How does scoring works?](https://discuss.elastic.co/t/how-does-scoring-works/121230)

<div class="topic-metadata">

**Author:** [@Santiago\_Respane](https://discuss.elastic.co/u/Santiago_Respane)\
**Replies:** 1\
**Last updated:** [March 2, 2018, 10:29pm UTC](https://discuss.elastic.co/t/how-does-scoring-works/121230 "2018-03-02T22:29:18Z")

</div>

Hi guys, i dont seem to understand how does ES scoring works. I have a three values in a field: -Bean -Soybean -Winged bean. Why when i perform a wildcard search by bea sorted by score it retrieves the following: …

---

## [How to make ElasticSearch return results in sorted time order](https://discuss.elastic.co/t/how-to-make-elasticsearch-return-results-in-sorted-time-order/121129)

<div class="topic-metadata">

**Author:** [@aybhave](https://discuss.elastic.co/u/aybhave)\
**Replies:** 1\
**Last updated:** [March 2, 2018, 10:16pm UTC](https://discuss.elastic.co/t/how-to-make-elasticsearch-return-results-in-sorted-time-order/121129 "2018-03-02T22:16:40Z")

</div>

Hello, I have an index whose documents have a "timestamp" field. Each document represents a syslog line and the timestamp corresponds to the timestamp of the line. Now in my system, sometimes the log lines are printed s…

---

## [2 Nodes stuck in a starting state on cloud.elastic.co](https://discuss.elastic.co/t/2-nodes-stuck-in-a-starting-state-on-cloud-elastic-co/122324)

<div class="topic-metadata">

**Author:** [@kithsly](https://discuss.elastic.co/u/kithsly)\
**Replies:** 2\
**Last updated:** [March 2, 2018, 10:10pm UTC](https://discuss.elastic.co/t/2-nodes-stuck-in-a-starting-state-on-cloud-elastic-co/122324 "2018-03-02T22:10:40Z")

</div>

My Cluster ID is 9f1c18. We're seeing two instances stuck in a Starting state. They have been like this for a few days now. instance-0000000071 instance-0000000070 We've not got any response in the last 48 hours when …

---

## [Update index name in template](https://discuss.elastic.co/t/update-index-name-in-template/122311)

<div class="topic-metadata">

**Author:** [@fhalde](https://discuss.elastic.co/u/fhalde)\
**Replies:** 0\
**Last updated:** [March 2, 2018, 7:27pm UTC](https://discuss.elastic.co/t/update-index-name-in-template/122311 "2018-03-02T19:27:22Z")

</div>

Is it possible that when a template matches a index, we can update the index name? The reason is this We don't want to create index using the names our client provides. i.e. if client provides the index name as index1,…

---

## [Sudden spike then total failure](https://discuss.elastic.co/t/sudden-spike-then-total-failure/122300)

<div class="topic-metadata">

**Author:** [@mpax](https://discuss.elastic.co/u/mpax)\
**Replies:** 2\
**Last updated:** [March 2, 2018, 6:02pm UTC](https://discuss.elastic.co/t/sudden-spike-then-total-failure/122300 "2018-03-02T18:02:30Z")

</div>

Hi there. I am using ES 1.3.1 in a 3 node setup to power some search functionality on a website (in fact 45 websites) - each instance of ES is running on the JDK 1.8\_161 via the Elastic Search 64bit WIndows Service wrap…

---

## [Sudden 100% high CPU spikes and degraded performance for 10-15min](https://discuss.elastic.co/t/sudden-100-high-cpu-spikes-and-degraded-performance-for-10-15min/122302)

<div class="topic-metadata">

**Author:** [@Kaspars\_Sprogis](https://discuss.elastic.co/u/Kaspars_Sprogis)\
**Replies:** 0\
**Last updated:** [March 2, 2018, 5:43pm UTC](https://discuss.elastic.co/t/sudden-100-high-cpu-spikes-and-degraded-performance-for-10-15min/122302 "2018-03-02T17:43:58Z")

</div>

I am having 3 nodes ElasticSearch cluster on AWS. Facts: ElasticSearch 6.2.2 deployed using docker. 3x identical c5.large instances (2x vCPU, 3.6 GB RAM) All are identical master + data nodes and use same docker image…

---

## [Ingestion Pipeline not parsing out field values](https://discuss.elastic.co/t/ingestion-pipeline-not-parsing-out-field-values/122285)

<div class="topic-metadata">

**Author:** [@tonyz](https://discuss.elastic.co/u/tonyz)\
**Replies:** 0\
**Last updated:** [March 2, 2018, 3:12pm UTC](https://discuss.elastic.co/t/ingestion-pipeline-not-parsing-out-field-values/122285 "2018-03-02T15:12:27Z")

</div>

Hi, I am applying a new ingestion pipeline through Kibana Dev Tools to parse a specific field. However, when I created the pipeline the fields are not parsed out at all. I tried this in \_ingest/pipeline/\_simulate before…

---

## [How does elasticsearch store repeated values across documents?](https://discuss.elastic.co/t/how-does-elasticsearch-store-repeated-values-across-documents/122143)

<div class="topic-metadata">

**Author:** [@JonathanAaron](https://discuss.elastic.co/u/JonathanAaron)\
**Replies:** 3\
**Last updated:** [March 2, 2018, 5:15pm UTC](https://discuss.elastic.co/t/how-does-elasticsearch-store-repeated-values-across-documents/122143 "2018-03-02T17:15:22Z")

</div>

Say I have a document {"name":"first","class": "Type-A"} Then another document {"name":"second","class": "Type-A"} Does it store Type-A twice or does it reference repeated values. Lets say I have a million docs like…

---

## [Using Java High Level Rest client does not auto-retry Bulk requests](https://discuss.elastic.co/t/using-java-high-level-rest-client-does-not-auto-retry-bulk-requests/121724)

<div class="topic-metadata">

**Author:** [@jdewald](https://discuss.elastic.co/u/jdewald)\
**Replies:** 2\
**Last updated:** [March 2, 2018, 5:03pm UTC](https://discuss.elastic.co/t/using-java-high-level-rest-client-does-not-auto-retry-bulk-requests/121724 "2018-03-02T17:03:56Z")

</div>

This is possibly an intentional change, but there is an inconsistency in behavior when switching to using the Java High Level Rest client from the TransportClient in the case of handling of Bulk requests. Description of…

---

## [Bulk API Connection Timeouts and Frequent Long GC Pauses](https://discuss.elastic.co/t/bulk-api-connection-timeouts-and-frequent-long-gc-pauses/122296)

<div class="topic-metadata">

**Author:** [@jwheels](https://discuss.elastic.co/u/jwheels)\
**Replies:** 0\
**Last updated:** [March 2, 2018, 4:40pm UTC](https://discuss.elastic.co/t/bulk-api-connection-timeouts-and-frequent-long-gc-pauses/122296 "2018-03-02T16:40:58Z")

</div>

Hi there, I am having stability issues with a modest single-node ES deployment. The node is a beefy server with 500GB RAM and 72 hyperthreads. Several other data-intensive applications run on the server, so I am aware t…

---

## [Elasticsearch v6.0.0 soure build failed](https://discuss.elastic.co/t/elasticsearch-v6-0-0-soure-build-failed/122293)

<div class="topic-metadata">

**Author:** [@mover](https://discuss.elastic.co/u/mover)\
**Replies:** 0\
**Last updated:** [March 2, 2018, 4:10pm UTC](https://discuss.elastic.co/t/elasticsearch-v6-0-0-soure-build-failed/122293 "2018-03-02T16:10:03Z")

</div>

my build enviroment: $ gradle --version Gradle 4.5.1 Build time: 2018-02-05 13:22:49 UTC Revision: 37007e1c012001ff09973e0bd095139239ecd3b3 Groovy: 2.4.12 Ant: Apache Ant(TM) version 1.9.9 comp…

---

## [Only return object from query](https://discuss.elastic.co/t/only-return-object-from-query/122230)

<div class="topic-metadata">

**Author:** [@lh\_lw](https://discuss.elastic.co/u/lh_lw)\
**Replies:** 1\
**Last updated:** [March 2, 2018, 3:28pm UTC](https://discuss.elastic.co/t/only-return-object-from-query/122230 "2018-03-02T15:28:25Z")

</div>

I want Elasticsearch to return only the matched object if I index a document containing an array. For Example: PUT /testindex/books/1 { "Book" : \[ { "id": 12, "title" : "First book", "…

---

## [\[ERROR\]\[o.e.x.w.i.s.ExecutableSearchInput\] \[node-1\] failed to execute \[search\] input for watch](https://discuss.elastic.co/t/error-o-e-x-w-i-s-executablesearchinput-node-1-failed-to-execute-search-input-for-watch/121857)

<div class="topic-metadata">

**Author:** [@rcaicedo](https://discuss.elastic.co/u/rcaicedo)\
**Replies:** 6\
**Last updated:** [March 2, 2018, 3:20pm UTC](https://discuss.elastic.co/t/error-o-e-x-w-i-s-executablesearchinput-node-1-failed-to-execute-search-input-for-watch/121857 "2018-03-02T15:20:46Z")

</div>

Hi, i'm new using Elastic and we have an error 1 week ago, this error write in elasticsearch.log the next line: \[ERROR\]\[o.e.x.w.i.s.ExecutableSearchInput\] \[node-1\] failed to execute \[search\] input for watch \[eh-CXD5GQV6…

---

## [\[Spark\] saveToEs issue](https://discuss.elastic.co/t/spark-savetoes-issue/122283)

<div class="topic-metadata">

**Author:** [@sebastienf](https://discuss.elastic.co/u/sebastienf)\
**Replies:** 0\
**Last updated:** [March 2, 2018, 2:59pm UTC](https://discuss.elastic.co/t/spark-savetoes-issue/122283 "2018-03-02T14:59:01Z")

</div>

Hi, Considering the following example : JavaSparkContext jsc = new JavaSparkContext(sparkConf); Map\<String, ?\> numbers = ImmutableMap.of("one", 1, "two", 2); Map\<String,…

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

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