# Elasticsearch

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

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

**Page:** 1159

---

## [Converting string to date fields](https://discuss.elastic.co/t/converting-string-to-date-fields/199287)

<div class="topic-metadata">

**Author:** [@moti.mor](https://discuss.elastic.co/u/moti.mor)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 8:13pm UTC](https://discuss.elastic.co/t/converting-string-to-date-fields/199287 "2019-09-12T20:13:22Z")

</div>

Hi, I have two fields that are tagged as string I want to produce the same fields that will be as a date field. (I have no problem creating new fields from existing fields). Attached Image. Would appreciate help many …

---

## [Elasticsearch 7.2.1 startup failed load search guard plugin with java.lang.ClassNotFoundException: io.netty.internal.tcnative.SSLPrivateKeyMethod](https://discuss.elastic.co/t/elasticsearch-7-2-1-startup-failed-load-search-guard-plugin-with-java-lang-classnotfoundexception-io-netty-internal-tcnative-sslprivatekeymethod/197776)

<div class="topic-metadata">

**Author:** [@Rachangouda](https://discuss.elastic.co/u/Rachangouda)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 8:09pm UTC](https://discuss.elastic.co/t/elasticsearch-7-2-1-startup-failed-load-search-guard-plugin-with-java-lang-classnotfoundexception-io-netty-internal-tcnative-sslprivatekeymethod/197776 "2019-09-12T20:09:30Z")

</div>

Hi, I have followed below steps to start elasticsearch 7.2.1 with search guard version-36.1.0 as mentioned in https://docs.search-guard.com/latest/search-guard-versions created elasticsearch image from elasticsearch-7…

---

## [Servlet to load Elastic search Data](https://discuss.elastic.co/t/servlet-to-load-elastic-search-data/199266)

<div class="topic-metadata">

**Author:** [@Velliyangiri](https://discuss.elastic.co/u/Velliyangiri)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 2:01pm UTC](https://discuss.elastic.co/t/servlet-to-load-elastic-search-data/199266 "2019-09-12T14:01:41Z")

</div>

Servlet couldn't load the Elastic search class . I can call the insert method in the queries class ..But that method was not loaded. So what will be the solution ?

---

## [Upsert is throwing DocumentMissingException](https://discuss.elastic.co/t/upsert-is-throwing-documentmissingexception/199307)

<div class="topic-metadata">

**Author:** [@ygoel](https://discuss.elastic.co/u/ygoel)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 6:17pm UTC](https://discuss.elastic.co/t/upsert-is-throwing-documentmissingexception/199307 "2019-09-12T18:17:17Z")

</div>

I am using Spring Boot and ElasticSearch. When I am trying to upsert using Spring, it is throwing DocumentMissingException when there is no document present in the ElasticSearch. The same code works fine when there is a …

---

## [Send message failed from dedicated ingest nodes to masters 7.3.1](https://discuss.elastic.co/t/send-message-failed-from-dedicated-ingest-nodes-to-masters-7-3-1/198454)

<div class="topic-metadata">

**Author:** [@Doc\_Kaos](https://discuss.elastic.co/u/Doc_Kaos)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 6:03pm UTC](https://discuss.elastic.co/t/send-message-failed-from-dedicated-ingest-nodes-to-masters-7-3-1/198454 "2019-09-12T18:03:18Z")

</div>

We have 3 dedicated ingest nodes in a cluster. They are functioning and data is coming into ES, but they are logging constantly "send messsage failed". No idea why ... logs about every few seconds from each ingest node a…

---

## [Index has exceeded \[xxx\] - maximum allowed to be analyzed for highlighting](https://discuss.elastic.co/t/index-has-exceeded-xxx-maximum-allowed-to-be-analyzed-for-highlighting/199303)

<div class="topic-metadata">

**Author:** [@oobi89](https://discuss.elastic.co/u/oobi89)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 5:59pm UTC](https://discuss.elastic.co/t/index-has-exceeded-xxx-maximum-allowed-to-be-analyzed-for-highlighting/199303 "2019-09-12T17:59:48Z")

</div>

Hello, I've came across strange problem when trying to get postgresql logs using Filebeats to elasticsearch and displaying it using kibana. I've previously asked about it on kibana forum but I've been told to ask here. …

---

## [Multiple language analyzers for one field](https://discuss.elastic.co/t/multiple-language-analyzers-for-one-field/199271)

<div class="topic-metadata">

**Author:** [@May](https://discuss.elastic.co/u/May)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 5:30pm UTC](https://discuss.elastic.co/t/multiple-language-analyzers-for-one-field/199271 "2019-09-12T17:30:50Z")

</div>

Hi there, I am logstashing a table with a column that contains multiple languages into Elasticsearch. There is another column that can be used to indicate the language. So how can I use different language analyzers for o…

---

## [How to set passwords for built-in users with docker-compose setup](https://discuss.elastic.co/t/how-to-set-passwords-for-built-in-users-with-docker-compose-setup/198096)

<div class="topic-metadata">

**Author:** [@apt-get\_install\_skil](https://discuss.elastic.co/u/apt-get_install_skil)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 4:59pm UTC](https://discuss.elastic.co/t/how-to-set-passwords-for-built-in-users-with-docker-compose-setup/198096 "2019-09-12T16:59:49Z")

</div>

Hey there, I am running an Elasticsearch 7.3.0 cluster with three nodes (on three different machines) via a docker-compose setup. Here is my elasticsearch and kibana service defined in docker-compose.yml: services: e…

---

## [Unable to start ES 7.3.1 after configuring internode communication encryption](https://discuss.elastic.co/t/unable-to-start-es-7-3-1-after-configuring-internode-communication-encryption/199150)

<div class="topic-metadata">

**Author:** [@gdamico](https://discuss.elastic.co/u/gdamico)\
**Replies:** 4\
**Last updated:** [September 12, 2019, 3:35pm UTC](https://discuss.elastic.co/t/unable-to-start-es-7-3-1-after-configuring-internode-communication-encryption/199150 "2019-09-12T15:35:16Z")

</div>

Hi, After completing "Getting started with the Elastic Stack" and "Securing the Elastic Stack" tutorials, I'm trying to complete "Encrypting Communications". After CA and certificate creation, Keystore and Truststore pa…

---

## [Failed to connect to server\_name:9200 connection refused](https://discuss.elastic.co/t/failed-to-connect-to-server-name-9200-connection-refused/199211)

<div class="topic-metadata">

**Author:** [@prakashdev](https://discuss.elastic.co/u/prakashdev)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 3:11pm UTC](https://discuss.elastic.co/t/failed-to-connect-to-server-name-9200-connection-refused/199211 "2019-09-12T15:11:48Z")

</div>

Hi, I am using elastic search 7.3.1 in windows server 2012. I am able to use all functionalities in the localhost, but I want to access es outside of the server. I am having the IP and port configuration in the elastics…

---

## [Bound or publishing to a non-loopback address, enforcing bootstrap checks](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-address-enforcing-bootstrap-checks/199276)

<div class="topic-metadata">

**Author:** [@Ersoy\_Vatansever](https://discuss.elastic.co/u/Ersoy_Vatansever)\
**Replies:** 6\
**Last updated:** [September 12, 2019, 2:59pm UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-address-enforcing-bootstrap-checks/199276 "2019-09-12T14:59:14Z")

</div>

Hi , i decied to use elastic on linux centos but i cant resolved below issue. I have two servers with same configurations. Elastic works separately but cannot be cluster and i see log below. Elasticsearch version is 7.…

---

## [Is it possible to get basic license for Elasticsearch 1.x?](https://discuss.elastic.co/t/is-it-possible-to-get-basic-license-for-elasticsearch-1-x/199263)

<div class="topic-metadata">

**Author:** [@Domas\_Stockus](https://discuss.elastic.co/u/Domas_Stockus)\
**Replies:** 5\
**Last updated:** [September 12, 2019, 2:56pm UTC](https://discuss.elastic.co/t/is-it-possible-to-get-basic-license-for-elasticsearch-1-x/199263 "2019-09-12T14:56:16Z")

</div>

Basically, the main question is in the title. I registered here https://license.elastic.co/registration/ and got the email with the link to download the license. Only there is no 1.x version. In the Email next to the 1.x…

---

## [Error while trying to connect elastic search with curator](https://discuss.elastic.co/t/error-while-trying-to-connect-elastic-search-with-curator/199269)

<div class="topic-metadata">

**Author:** [@Prafull](https://discuss.elastic.co/u/Prafull)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 2:35pm UTC](https://discuss.elastic.co/t/error-while-trying-to-connect-elastic-search-with-curator/199269 "2019-09-12T14:35:44Z")

</div>

Hi , "I have installed curator using sudo apt-get update && sudo apt-get install elasticsearch-curator" When i am trying to run the following command curator --dry-run snapshot.yml --config curator.yml. Getting belo…

---

## [Pin search results in a specific order](https://discuss.elastic.co/t/pin-search-results-in-a-specific-order/199267)

<div class="topic-metadata">

**Author:** [@pocguy](https://discuss.elastic.co/u/pocguy)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 2:20pm UTC](https://discuss.elastic.co/t/pin-search-results-in-a-specific-order/199267 "2019-09-12T14:20:09Z")

</div>

Suppose a search for a query "test" return results based on the relevancy , e.g : Page 1, Page 3, Page 2, Page 4. Is it possible that we could within a single Elasticsearch query API order the results as Page 1, Page 2…

---

## [Pause Following on all Indices in cluster](https://discuss.elastic.co/t/pause-following-on-all-indices-in-cluster/199215)

<div class="topic-metadata">

**Author:** [@kley](https://discuss.elastic.co/u/kley)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 1:58pm UTC](https://discuss.elastic.co/t/pause-following-on-all-indices-in-cluster/199215 "2019-09-12T13:58:03Z")

</div>

:wave: everybody! So, I'm currently testing some edge cases within cross cluster replication and upgrading elasticsearch. The thing is, when you upgrade an elasticsearch cluster (bi-directional setup), you have to pau…

---

## [How do I combine 2 index data in elasticsearch?](https://discuss.elastic.co/t/how-do-i-combine-2-index-data-in-elasticsearch/199044)

<div class="topic-metadata">

**Author:** [@mr\_searchng](https://discuss.elastic.co/u/mr_searchng)\
**Replies:** 21\
**Last updated:** [September 12, 2019, 1:53pm UTC](https://discuss.elastic.co/t/how-do-i-combine-2-index-data-in-elasticsearch/199044 "2019-09-12T13:53:23Z")

</div>

How do I combine 2 index data in elasticsearch? Example; 1.index data = {appId,name,clasId} 2.index data={clasId,name,description} 1.index via clasId 2.index class name how do I pull ?

---

## [Elasticsearch exceptions while trying to update geoshape field](https://discuss.elastic.co/t/elasticsearch-exceptions-while-trying-to-update-geoshape-field/199176)

<div class="topic-metadata">

**Author:** [@avinash\_07](https://discuss.elastic.co/u/avinash_07)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 1:47pm UTC](https://discuss.elastic.co/t/elasticsearch-exceptions-while-trying-to-update-geoshape-field/199176 "2019-09-12T13:47:16Z")

</div>

Hi I have been getting the following elasticsearch exception when i try to update a geo\_shape field from circle to polygon using java high level rest client. Can someone please help? {"error":{"root\_cause":\[{"type":"pa…

---

## [7.2.0 spend more time on query \`next\_doc\` and aggregation \`collect\` than 6.8.0](https://discuss.elastic.co/t/7-2-0-spend-more-time-on-query-next-doc-and-aggregation-collect-than-6-8-0/196489)

<div class="topic-metadata">

**Author:** [@hackerwin7](https://discuss.elastic.co/u/hackerwin7)\
**Replies:** 13\
**Last updated:** [September 12, 2019, 1:46pm UTC](https://discuss.elastic.co/t/7-2-0-spend-more-time-on-query-next-doc-and-aggregation-collect-than-6-8-0/196489 "2019-09-12T13:46:55Z")

</div>

Recently，we upgrade our es cluster to 7.2.0 and find the same search took time is longer than 6.8.0 . so we prepare for two cluster (7.2 and 6.8) with same index data set , same mapping, and execute same search. we fou…

---

## [X-Pack watcher permissions](https://discuss.elastic.co/t/x-pack-watcher-permissions/199234)

<div class="topic-metadata">

**Author:** [@bhaniel](https://discuss.elastic.co/u/bhaniel)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 1:39pm UTC](https://discuss.elastic.co/t/x-pack-watcher-permissions/199234 "2019-09-12T13:39:11Z")

</div>

Hello, I wanted to understand how the watcher permissions is working . for example i am a user with permission to index x but i don't have a permission to index y . currently i have permission watcher/admin , does t…

---

## [Java to connect elastic search](https://discuss.elastic.co/t/java-to-connect-elastic-search/199013)

<div class="topic-metadata">

**Author:** [@Velliyangiri](https://discuss.elastic.co/u/Velliyangiri)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 12:52pm UTC](https://discuss.elastic.co/t/java-to-connect-elastic-search/199013 "2019-09-12T12:52:53Z")

</div>

Is there any way to connect our java program to elastic search without using maven dependencies and any other third party libraries?.Please give me the solution.

---

## [\[Index management\] Only hot nodes : Does it makes sense?](https://discuss.elastic.co/t/index-management-only-hot-nodes-does-it-makes-sense/198872)

<div class="topic-metadata">

**Author:** [@Travis](https://discuss.elastic.co/u/Travis)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 12:37pm UTC](https://discuss.elastic.co/t/index-management-only-hot-nodes-does-it-makes-sense/198872 "2019-09-12T12:37:08Z")

</div>

Hello, I'm asking what is the better way to rotate my index. I heard about ILM policy. I did some test but as I have only 3 data nodes, and as I want one replica, I can't have a Hot/Warm/Cold architecture because this …

---

## [Is there a way to query all child and grandchild documents by using the parent/grandparentID?](https://discuss.elastic.co/t/is-there-a-way-to-query-all-child-and-grandchild-documents-by-using-the-parent-grandparentid/199240)

<div class="topic-metadata">

**Author:** [@Prasanth\_Rajendran](https://discuss.elastic.co/u/Prasanth_Rajendran)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 11:09am UTC](https://discuss.elastic.co/t/is-there-a-way-to-query-all-child-and-grandchild-documents-by-using-the-parent-grandparentid/199240 "2019-09-12T11:09:48Z")

</div>

I have a below scenario: I am creating index called company where I am creating multilevel relationship company | |---------------| department supplier | employee I have created below…

---

## [How to create query to match child collection attributes using NEST .net client library for ElasticSearch?](https://discuss.elastic.co/t/how-to-create-query-to-match-child-collection-attributes-using-nest-net-client-library-for-elasticsearch/199236)

<div class="topic-metadata">

**Author:** [@vinodres](https://discuss.elastic.co/u/vinodres)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 11:01am UTC](https://discuss.elastic.co/t/how-to-create-query-to-match-child-collection-attributes-using-nest-net-client-library-for-elasticsearch/199236 "2019-09-12T11:01:44Z")

</div>

I have following 4 documents located at http://xyzserver:9200/mydocs/brands in ElasticSearch 7.3 Each document represents some details of a Brand. A brand can be associated with multiple Groups and can be active for 0 o…

---

## [How much memory must my server have to manage 50000 documents?](https://discuss.elastic.co/t/how-much-memory-must-my-server-have-to-manage-50000-documents/199216)

<div class="topic-metadata">

**Author:** [@Isi](https://discuss.elastic.co/u/Isi)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 10:49am UTC](https://discuss.elastic.co/t/how-much-memory-must-my-server-have-to-manage-50000-documents/199216 "2019-09-12T10:49:55Z")

</div>

What about cpu storage and network? Thanks for helping.

---

## [Esrally can't running 1.3.0](https://discuss.elastic.co/t/esrally-cant-running-1-3-0/199159)

<div class="topic-metadata">

**Author:** [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Replies:** 5\
**Last updated:** [September 12, 2019, 10:44am UTC](https://discuss.elastic.co/t/esrally-cant-running-1-3-0/199159 "2019-09-12T10:44:48Z")

</div>

\[root@xxxx ~\]# esrally --track=http\_logs --challenge=append-index-only-with-ingest-pipeline --car=24gheap --track-repository=zqc --offline --load-driver-hosts=xxxxx --target-hosts=309dc001bce946d0ab90b7082f61448c.xxx.x…

---

## [Limit query to field](https://discuss.elastic.co/t/limit-query-to-field/199204)

<div class="topic-metadata">

**Author:** [@Escalus](https://discuss.elastic.co/u/Escalus)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 9:24am UTC](https://discuss.elastic.co/t/limit-query-to-field/199204 "2019-09-12T09:24:18Z")

</div>

Hello, I have an index with document and organizations who published this documents. One document can have multiple organizations. "organization" : \[ "Carnegie Mellon Univ, Dept Mat Sci & Engn", "US Steel Corp, US St…

---

## [While mapping stop words analyzer, index is not creating?](https://discuss.elastic.co/t/while-mapping-stop-words-analyzer-index-is-not-creating/199207)

<div class="topic-metadata">

**Author:** [@Ramkumar\_Kaalisetti](https://discuss.elastic.co/u/Ramkumar_Kaalisetti)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 8:54am UTC](https://discuss.elastic.co/t/while-mapping-stop-words-analyzer-index-is-not-creating/199207 "2019-09-12T08:54:43Z")

</div>

localhost:9200/my\_index { "settings":{ "analysis":{ "analyzer":{ "my\_analyzer":{ "type":"custom", "tokenizer":"standard", "filter":\[ "lowercase" \] }, "my\_stop\_analyzer":{ "type":"custom", "tokenizer":"stand…

---

## [Exception in thread "main" java.nio.file.AccessDeniedException while run ./bin/elasticsearch](https://discuss.elastic.co/t/exception-in-thread-main-java-nio-file-accessdeniedexception-while-run-bin-elasticsearch/199177)

<div class="topic-metadata">

**Author:** [@Tje](https://discuss.elastic.co/u/Tje)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 8:19am UTC](https://discuss.elastic.co/t/exception-in-thread-main-java-nio-file-accessdeniedexception-while-run-bin-elasticsearch/199177 "2019-09-12T08:19:20Z")

</div>

I'm trying to install ElasticSearch in to my server.When i run ./bin/elasticsearch got bellow error Exception in thread "main" java.nio.file.AccessDeniedException: /var/www/elasticsearch-7.3.1/config/jvm.options at jav…

---

## [Path Hierarchy Tokenizer with doc values](https://discuss.elastic.co/t/path-hierarchy-tokenizer-with-doc-values/199186)

<div class="topic-metadata">

**Author:** [@robmartin11](https://discuss.elastic.co/u/robmartin11)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 7:20am UTC](https://discuss.elastic.co/t/path-hierarchy-tokenizer-with-doc-values/199186 "2019-09-12T07:20:47Z")

</div>

Im splitting a category field using the Path Hierarchy Tokenizer which I want to use for aggregations. Since the field must be text so that the content is analyzed (using the Path Hierarchy Tokenizer), I cannot use doc v…

---

## [How many workers to parallel bulk indexing in cluster?](https://discuss.elastic.co/t/how-many-workers-to-parallel-bulk-indexing-in-cluster/199139)

<div class="topic-metadata">

**Author:** [@misam](https://discuss.elastic.co/u/misam)\
**Replies:** 3\
**Last updated:** [September 12, 2019, 7:08am UTC](https://discuss.elastic.co/t/how-many-workers-to-parallel-bulk-indexing-in-cluster/199139 "2019-09-12T07:08:43Z")

</div>

I have a cluster with 8 nodes. I want to index a lot of docs. For the best performance, how many workers (to parallel bulk indexing) must run on each node?

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

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