# Elasticsearch

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

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

**Page:** 1220

---

## [Can such cluster work fine?](https://discuss.elastic.co/t/can-such-cluster-work-fine/191594)

<div class="topic-metadata">

**Author:** [@The](https://discuss.elastic.co/u/The)\
**Replies:** 0\
**Last updated:** [July 22, 2019, 7:36am UTC](https://discuss.elastic.co/t/can-such-cluster-work-fine/191594 "2019-07-22T07:36:19Z")

</div>

I am aware that there is no definite answer to the question how many shards, nodes etc should my cluster have, but I would like to ask you if the numbers I will show you might be normal or is this extremely bad organized…

---

## [Multiple Elasticsearch Data Centers solution](https://discuss.elastic.co/t/multiple-elasticsearch-data-centers-solution/191591)

<div class="topic-metadata">

**Author:** [@xodn0812](https://discuss.elastic.co/u/xodn0812)\
**Replies:** 0\
**Last updated:** [July 22, 2019, 7:24am UTC](https://discuss.elastic.co/t/multiple-elasticsearch-data-centers-solution/191591 "2019-07-22T07:24:32Z")

</div>

I have seen some posts, but there is no other way to look better than replicating through kafka. But I do not want to introduce Kafka for this problem. The second solution is "cross-cluster replication" I am not sure …

---

## [Data encryption in Elasticsearch](https://discuss.elastic.co/t/data-encryption-in-elasticsearch/191583)

<div class="topic-metadata">

**Author:** [@Javier\_Parrondo](https://discuss.elastic.co/u/Javier_Parrondo)\
**Replies:** 4\
**Last updated:** [July 22, 2019, 7:34am UTC](https://discuss.elastic.co/t/data-encryption-in-elasticsearch/191583 "2019-07-22T07:34:37Z")

</div>

I would like to know if is possible to encrypt data with Elasticsearch. In afirmative case, from which major version is possible? Thanks in advance. Best Regards

---

## [Unable to join two nodes in cluster](https://discuss.elastic.co/t/unable-to-join-two-nodes-in-cluster/191390)

<div class="topic-metadata">

**Author:** [@enVolt](https://discuss.elastic.co/u/enVolt)\
**Replies:** 4\
**Last updated:** [July 22, 2019, 6:32am UTC](https://discuss.elastic.co/t/unable-to-join-two-nodes-in-cluster/191390 "2019-07-22T06:32:45Z")

</div>

Hello, I'm trying to set up two ES node in cluster nodes, and has absolutely given up as I'm posting this. I've two instance running, with following configs - # es-01 cluster.name: dc-world node.name: smallville path.…

---

## [Elasticsearch terms aggregation taking 5 seconds on 5 million documents](https://discuss.elastic.co/t/elasticsearch-terms-aggregation-taking-5-seconds-on-5-million-documents/191314)

<div class="topic-metadata">

**Author:** [@Aakash\_Bhardwaj](https://discuss.elastic.co/u/Aakash_Bhardwaj)\
**Replies:** 6\
**Last updated:** [July 22, 2019, 5:26am UTC](https://discuss.elastic.co/t/elasticsearch-terms-aggregation-taking-5-seconds-on-5-million-documents/191314 "2019-07-22T05:26:41Z")

</div>

I'm using elasticsearch hosted service (elasticsearch.co) with 3 machines. The query has a bool query and then an aggregation query. The bool query almost select 2M out of the 5M documents and then we run a terms Agg…

---

## [How to set thread number of es transport client?](https://discuss.elastic.co/t/how-to-set-thread-number-of-es-transport-client/191574)

<div class="topic-metadata">

**Author:** [@pa101](https://discuss.elastic.co/u/pa101)\
**Replies:** 0\
**Last updated:** [July 22, 2019, 5:55am UTC](https://discuss.elastic.co/t/how-to-set-thread-number-of-es-transport-client/191574 "2019-07-22T05:55:08Z")

</div>

how to set thread number of es transport client ?

---

## [Specify More than one clusters's data NodeNames when Indexing](https://discuss.elastic.co/t/specify-more-than-one-clusterss-data-nodenames-when-indexing/191573)

<div class="topic-metadata">

**Author:** [@examin](https://discuss.elastic.co/u/examin)\
**Replies:** 0\
**Last updated:** [July 22, 2019, 5:44am UTC](https://discuss.elastic.co/t/specify-more-than-one-clusterss-data-nodenames-when-indexing/191573 "2019-07-22T05:44:32Z")

</div>

When indexing data i want to specify two data node. How can i do this , if this is possible? Note : I do not want to have two replicas of same index, But i want data to be divided in two data nodes i will specify. Ple…

---

## [java.lang.NoClassDefFoundError: org/elasticsearch/index/query/QueryBuilder](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-index-query-querybuilder/191311)

<div class="topic-metadata">

**Author:** [@kalyanikolimali93](https://discuss.elastic.co/u/kalyanikolimali93)\
**Replies:** 6\
**Last updated:** [July 22, 2019, 5:10am UTC](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-index-query-querybuilder/191311 "2019-07-22T05:10:33Z")

</div>

Hi Sir, I am Kalyani Naidu, Working as an IT Professional in India. I am facing a problem java.lang.ClassNotFoundException: org.elasticsearch.index.query.QueryBuilder --- It is happening when an trying to build a cu…

---

## [Elasticsearch not handle autodiscover after master node down](https://discuss.elastic.co/t/elasticsearch-not-handle-autodiscover-after-master-node-down/191546)

<div class="topic-metadata">

**Author:** [@rizkan\_abadi](https://discuss.elastic.co/u/rizkan_abadi)\
**Replies:** 1\
**Last updated:** [July 22, 2019, 4:58am UTC](https://discuss.elastic.co/t/elasticsearch-not-handle-autodiscover-after-master-node-down/191546 "2019-07-22T04:58:56Z")

</div>

Node1 cluster.name: trinix-cluster node.name: es-node-01 node.data: true node.master: true cluster.initial\_master\_nodes: es-node-01 es-node-02 indices.memory.index\_buffer\_size: 1gb indices.fielddata.cache.size: 1…

---

## [Rename index in Elasticsearch](https://discuss.elastic.co/t/rename-index-in-elasticsearch/190166)

<div class="topic-metadata">

**Author:** [@smerzlyakov](https://discuss.elastic.co/u/smerzlyakov)\
**Replies:** 10\
**Last updated:** [July 22, 2019, 4:36am UTC](https://discuss.elastic.co/t/rename-index-in-elasticsearch/190166 "2019-07-22T04:36:26Z")

</div>

Hello. Why it is not possible to do in Kibana? You can delete index, but cannot rename. Will you plan to add this feature? How to rename index in Elasticsearch easilly?

---

## [Error running elasticsearch by docker permission](https://discuss.elastic.co/t/error-running-elasticsearch-by-docker-permission/191563)

<div class="topic-metadata">

**Author:** [@ChenSijia](https://discuss.elastic.co/u/ChenSijia)\
**Replies:** 0\
**Last updated:** [July 22, 2019, 3:52am UTC](https://discuss.elastic.co/t/error-running-elasticsearch-by-docker-permission/191563 "2019-07-22T03:52:47Z")

</div>

Hi,I use elasticsearch by command： docker run -p 9200:9200 -p 9300:9300 -v /elasticsearch/data:/usr/share/elasticsearch/data --name ES01 93109ce1d590 I chmod the elasticsearch file : I think I do the correct operator …

---

## [Sorted indices and early termination](https://discuss.elastic.co/t/sorted-indices-and-early-termination/191553)

<div class="topic-metadata">

**Author:** [@krish1](https://discuss.elastic.co/u/krish1)\
**Replies:** 0\
**Last updated:** [July 22, 2019, 1:14am UTC](https://discuss.elastic.co/t/sorted-indices-and-early-termination/191553 "2019-07-22T01:14:51Z")

</div>

I have gone about reading this documentation and blog on index sorting and early termination and I have a couple of questions. I have an index with multiple fields(Simplified mappings below) most of which are text fields…

---

## [I cant display arabic text from images using fsrcrawler](https://discuss.elastic.co/t/i-cant-display-arabic-text-from-images-using-fsrcrawler/191514)

<div class="topic-metadata">

**Author:** [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Replies:** 2\
**Last updated:** [July 22, 2019, 12:42am UTC](https://discuss.elastic.co/t/i-cant-display-arabic-text-from-images-using-fsrcrawler/191514 "2019-07-22T00:42:23Z")

</div>

i use fsrcawrler to extract text from images but i cant get arabic data and dsiplay it in kibana , i have no problem in english and frensh caracter but i cant diplay arabic text in images thank you

---

## ['IElasticClient' does not contain a definition for 'CreateIndex' Error](https://discuss.elastic.co/t/ielasticclient-does-not-contain-a-definition-for-createindex-error/191472)

<div class="topic-metadata">

**Author:** [@Ilyoskhuja](https://discuss.elastic.co/u/Ilyoskhuja)\
**Replies:** 1\
**Last updated:** [July 21, 2019, 11:12pm UTC](https://discuss.elastic.co/t/ielasticclient-does-not-contain-a-definition-for-createindex-error/191472 "2019-07-21T23:12:46Z")

</div>

I removed my nest 6.5 from asp.net core project , and add nest 7.1.0 ( package "Elasticsearch.Net/7.1.0")but i have error like ( 'IElasticClient' does not contain a definition for 'CreateIndex' ) . How Fix this error?

---

## [Range Aggregation over Range type fields](https://discuss.elastic.co/t/range-aggregation-over-range-type-fields/191543)

<div class="topic-metadata">

**Author:** [@roytmana](https://discuss.elastic.co/u/roytmana)\
**Replies:** 0\
**Last updated:** [July 21, 2019, 9:16pm UTC](https://discuss.elastic.co/t/range-aggregation-over-range-type-fields/191543 "2019-07-21T21:16:59Z")

</div>

Maybe I missed it but only query over Range fields are supported not aggregations. A range Aggregation over a Range field would be very useful as well. Consider examples A bank account was open from Jan 1 to Dec 30 201…

---

## [Storing blobs: binary type vs. enabled=false](https://discuss.elastic.co/t/storing-blobs-binary-type-vs-enabled-false/191545)

<div class="topic-metadata">

**Author:** [@jetnet](https://discuss.elastic.co/u/jetnet)\
**Replies:** 0\
**Last updated:** [July 21, 2019, 10:23pm UTC](https://discuss.elastic.co/t/storing-blobs-binary-type-vs-enabled-false/191545 "2019-07-21T22:23:29Z")

</div>

hello All, I'd like to store binary content in the index, to be able to fetch data later on. There are two ways to do that: binary data type via mapping enabled: false Do they store the data in the same way? Why d…

---

## [Elasticsearch 6.5.4 - Kibana Coord Nodes OutOfMemory Errors And General Cluster Improvement Questions](https://discuss.elastic.co/t/elasticsearch-6-5-4-kibana-coord-nodes-outofmemory-errors-and-general-cluster-improvement-questions/187676)

<div class="topic-metadata">

**Author:** [@jstubbington](https://discuss.elastic.co/u/jstubbington)\
**Replies:** 4\
**Last updated:** [July 19, 2019, 9:20pm UTC](https://discuss.elastic.co/t/elasticsearch-6-5-4-kibana-coord-nodes-outofmemory-errors-and-general-cluster-improvement-questions/187676 "2019-07-19T21:20:05Z")

</div>

I have tried my best to solve these issues myself and have learned a lot in trying to do so, but I'm having trouble knowing what to tackle first and the best way to go about it. I believe that the cluster setup below is…

---

## [Elasticsearch 7.2 slow query after update](https://discuss.elastic.co/t/elasticsearch-7-2-slow-query-after-update/189784)

<div class="topic-metadata">

**Author:** [@roytmana](https://discuss.elastic.co/u/roytmana)\
**Replies:** 14\
**Last updated:** [July 21, 2019, 9:03pm UTC](https://discuss.elastic.co/t/elasticsearch-7-2-slow-query-after-update/189784 "2019-07-21T21:03:50Z")

</div>

I noticed that after posting update to even single document when I search on that index for this single document (query is not trivial but not especially complex either but it has nested element) there is a perceptible …

---

## [Aggregartion by Elastic Uri](https://discuss.elastic.co/t/aggregartion-by-elastic-uri/191538)

<div class="topic-metadata">

**Author:** [@software\_developer](https://discuss.elastic.co/u/software_developer)\
**Replies:** 1\
**Last updated:** [July 21, 2019, 8:46pm UTC](https://discuss.elastic.co/t/aggregartion-by-elastic-uri/191538 "2019-07-21T20:46:26Z")

</div>

I am using Elastic uri to search documents but i want its aggregations by using url based on url structure Is this possible? My Url is: http://localhost:9200/my\_index/type/\_search?q=f\_name=human i want to just get agg…

---

## [Elasticsearch upgrade from 5.2 to 7.2](https://discuss.elastic.co/t/elasticsearch-upgrade-from-5-2-to-7-2/191392)

<div class="topic-metadata">

**Author:** [@Moka](https://discuss.elastic.co/u/Moka)\
**Replies:** 2\
**Last updated:** [July 21, 2019, 8:45pm UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-5-2-to-7-2/191392 "2019-07-21T20:45:22Z")

</div>

Hello , I'm trying to upgrade elasticsearch cluster from 5.2 to 7.2 After reading the docs ( correct me if I'm wrong ) , here's what I concluded: upgrade from 5.2 to 5.6 upgrade from 5.6 to 6.x upgrade from 6.x to 7.…

---

## [Resthighlevelclient configuration on application.yml](https://discuss.elastic.co/t/resthighlevelclient-configuration-on-application-yml/191497)

<div class="topic-metadata">

**Author:** [@Buta\_Kota](https://discuss.elastic.co/u/Buta_Kota)\
**Replies:** 8\
**Last updated:** [July 21, 2019, 7:27pm UTC](https://discuss.elastic.co/t/resthighlevelclient-configuration-on-application-yml/191497 "2019-07-21T19:27:37Z")

</div>

Hi there, I am trying to connect to elasticsearch with Resthighlevelclient and it is was working ok when i hard code the host, port and schema inside the code. But when I am using application.yml for defining the port, …

---

## [Kibana login page with 6.5.1 version](https://discuss.elastic.co/t/kibana-login-page-with-6-5-1-version/189720)

<div class="topic-metadata">

**Author:** [@Sou](https://discuss.elastic.co/u/Sou)\
**Replies:** 5\
**Last updated:** [July 21, 2019, 7:22pm UTC](https://discuss.elastic.co/t/kibana-login-page-with-6-5-1-version/189720 "2019-07-21T19:22:41Z")

</div>

Hi, I want to use Logstash, ElasticSearch and Kibana. To do so I installed Logstash, ElasticSearch and Kibana in my linux environment with 6.5.1 version. In elasticsearch 6.5.1 version xpack comes along with the instal…

---

## [Dot in field name? Scripting issue](https://discuss.elastic.co/t/dot-in-field-name-scripting-issue/191534)

<div class="topic-metadata">

**Author:** [@fb-l](https://discuss.elastic.co/u/fb-l)\
**Replies:** 1\
**Last updated:** [July 21, 2019, 7:18pm UTC](https://discuss.elastic.co/t/dot-in-field-name-scripting-issue/191534 "2019-07-21T19:18:03Z")

</div>

Hi everybody, I'm reading various opinions / best practices re: field names. Apparently dots are fully supported but not recommended " \* usage of point "." is discouraged but possible". Is that correct? Most of the bea…

---

## [Escaping user input for search queries](https://discuss.elastic.co/t/escaping-user-input-for-search-queries/191526)

<div class="topic-metadata">

**Author:** [@DevStack](https://discuss.elastic.co/u/DevStack)\
**Replies:** 4\
**Last updated:** [July 21, 2019, 6:47pm UTC](https://discuss.elastic.co/t/escaping-user-input-for-search-queries/191526 "2019-07-21T18:47:28Z")

</div>

In mysql/mariadb you have the escape\_string for making user input search strings more secure. What is the best way to escape user input or make the user input safer when searching with match and match\_all and taking use…

---

## [Elasticsearch fails very shortly after launch](https://discuss.elastic.co/t/elasticsearch-fails-very-shortly-after-launch/191460)

<div class="topic-metadata">

**Author:** [@james-r](https://discuss.elastic.co/u/james-r)\
**Replies:** 5\
**Last updated:** [July 21, 2019, 2:05pm UTC](https://discuss.elastic.co/t/elasticsearch-fails-very-shortly-after-launch/191460 "2019-07-21T14:05:05Z")

</div>

Running Ubuntu 18.04.2 LTS, fresh install. Some output from terminal: user@guest:~$ java --version openjdk 11.0.3 2019-04-16 OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1) OpenJDK 64-Bit Server VM …

---

## [Adding new field in multifields of a existing field in elasticsearch index](https://discuss.elastic.co/t/adding-new-field-in-multifields-of-a-existing-field-in-elasticsearch-index/191312)

<div class="topic-metadata">

**Author:** [@ivar](https://discuss.elastic.co/u/ivar)\
**Replies:** 2\
**Last updated:** [July 21, 2019, 1:44pm UTC](https://discuss.elastic.co/t/adding-new-field-in-multifields-of-a-existing-field-in-elasticsearch-index/191312 "2019-07-21T13:44:25Z")

</div>

Hello, I am using elasticsearch 6.5.4 version I have an index ex: testindex ,which has a field title my index has some data, I need to add a new analyzer to the index ,and a new field in fields of title I closed the…

---

## [Magento 2.3.2 elastic search issue with Greek words](https://discuss.elastic.co/t/magento-2-3-2-elastic-search-issue-with-greek-words/191523)

<div class="topic-metadata">

**Author:** [@ioannigz](https://discuss.elastic.co/u/ioannigz)\
**Replies:** 0\
**Last updated:** [July 21, 2019, 1:40pm UTC](https://discuss.elastic.co/t/magento-2-3-2-elastic-search-issue-with-greek-words/191523 "2019-07-21T13:40:03Z")

</div>

Hi...I am using Elasticsearch 6.8.1 with magento 2.3.2 instance. Although in English store my search is working fine, in Greek store I am having some issues with the words having accents. For example: Word: room in …

---

## [Connection pooling in Python](https://discuss.elastic.co/t/connection-pooling-in-python/189725)

<div class="topic-metadata">

**Author:** [@ssharma7884](https://discuss.elastic.co/u/ssharma7884)\
**Replies:** 7\
**Last updated:** [July 21, 2019, 12:45pm UTC](https://discuss.elastic.co/t/connection-pooling-in-python/189725 "2019-07-21T12:45:45Z")

</div>

Hi, I am using python to connect to elastic search DB cluster. No. of nodes = 3, each node has a user id and password I am trying to implement connection pooling, referred the documentation for python api at: https:/…

---

## [Extracting texts from audio and video files in kibana](https://discuss.elastic.co/t/extracting-texts-from-audio-and-video-files-in-kibana/191500)

<div class="topic-metadata">

**Author:** [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Replies:** 5\
**Last updated:** [July 21, 2019, 11:39am UTC](https://discuss.elastic.co/t/extracting-texts-from-audio-and-video-files-in-kibana/191500 "2019-07-21T11:39:45Z")

</div>

hi, i have mp3 and mp4 files i want to index them and visulaize the text corresponding to speech in kibana interface, how i can do that thank you

---

## [Path\_match object name in Dynamic templates](https://discuss.elastic.co/t/path-match-object-name-in-dynamic-templates/191512)

<div class="topic-metadata">

**Author:** [@tomeri](https://discuss.elastic.co/u/tomeri)\
**Replies:** 0\
**Last updated:** [July 21, 2019, 11:08am UTC](https://discuss.elastic.co/t/path-match-object-name-in-dynamic-templates/191512 "2019-07-21T11:08:37Z")

</div>

Hello, I created the following dynamic template to apply a custom mapping on the "kubernetes" object and it's subobjects and fields: It should match these: kubernetes.container.name kubernetes.pod.name kubernetes.po…

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

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