# Elasticsearch

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

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

**Page:** 1279

---

## [Elasticsearch 5.4 - illegal\_argument\_exception al crear un index con custom analyzer](https://discuss.elastic.co/t/elasticsearch-5-4-illegal-argument-exception-al-crear-un-index-con-custom-analyzer/183575)

<div class="topic-metadata">

**Author:** [@Lautaro\_Aguirre](https://discuss.elastic.co/u/Lautaro_Aguirre)\
**Replies:** 1\
**Last updated:** [June 2, 2019, 3:19am UTC](https://discuss.elastic.co/t/elasticsearch-5-4-illegal-argument-exception-al-crear-un-index-con-custom-analyzer/183575 "2019-06-02T03:19:58Z")

</div>

Hi, i am using the Elasticsearch's PHP API and Advanced REST Client (ARC), both to test the ES API. When i try to create a new index with a custom analyzer, i get this error: "error": { "root\_cause": \[ { "type": "ille…

---

## [Extract arabic caracters from images sing teseract\_ocr](https://discuss.elastic.co/t/extract-arabic-caracters-from-images-sing-teseract-ocr/183836)

<div class="topic-metadata">

**Author:** [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Replies:** 5\
**Last updated:** [June 2, 2019, 3:11am UTC](https://discuss.elastic.co/t/extract-arabic-caracters-from-images-sing-teseract-ocr/183836 "2019-06-02T03:11:35Z")

</div>

i am using teseract\_ocr to extract text (fresnsh and english) from images but te texte that are not frens or english cant be displayed in kibana , what shoud i do to diplay them

---

## [Elasticsearch query and dicover how data is stored](https://discuss.elastic.co/t/elasticsearch-query-and-dicover-how-data-is-stored/183833)

<div class="topic-metadata">

**Author:** [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Replies:** 1\
**Last updated:** [June 2, 2019, 3:11am UTC](https://discuss.elastic.co/t/elasticsearch-query-and-dicover-how-data-is-stored/183833 "2019-06-02T03:11:05Z")

</div>

i ma using kibana to visulaiz my logs and my stored documents (image , pdf) using fscrawler and logstash but now i want to know how my data is stored in elasticsearch (the real storage since ES is like a database) is the…

---

## [Visualize indexed images](https://discuss.elastic.co/t/visualize-indexed-images/183835)

<div class="topic-metadata">

**Author:** [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Replies:** 1\
**Last updated:** [June 2, 2019, 3:08am UTC](https://discuss.elastic.co/t/visualize-indexed-images/183835 "2019-06-02T03:08:56Z")

</div>

i have serahced for a long time but i foud that its not possible to visulaize images in kibana, but now i want to know if anyone has implemented the functionality of searching similar images and compare them we suppose t…

---

## [Auto-configure fields as term\_vectors if they cross max length](https://discuss.elastic.co/t/auto-configure-fields-as-term-vectors-if-they-cross-max-length/183834)

<div class="topic-metadata">

**Author:** [@elk11](https://discuss.elastic.co/u/elk11)\
**Replies:** 0\
**Last updated:** [June 1, 2019, 8:45pm UTC](https://discuss.elastic.co/t/auto-configure-fields-as-term-vectors-if-they-cross-max-length/183834 "2019-06-01T20:45:09Z")

</div>

Hi, I see many of the fields in my indices have large text data. Because of this after upgrading from 5.x to 7.0 I'm seeing shard failures in kibana. I found that i can use term\_vector for such field in the index mappi…

---

## [Setting xpack.security.enabled = true](https://discuss.elastic.co/t/setting-xpack-security-enabled-true/182791)

<div class="topic-metadata">

**Author:** [@Hooman\_Bahreini](https://discuss.elastic.co/u/Hooman_Bahreini)\
**Replies:** 7\
**Last updated:** [June 1, 2019, 6:50pm UTC](https://discuss.elastic.co/t/setting-xpack-security-enabled-true/182791 "2019-06-01T18:50:00Z")

</div>

I have installed Elasticsearch 7, on Ubuntu. I believe x-pack is installed by default, buy I need to enable it. in which file should I set this setting? My cluster settings are in:/etc/elasticsearch/elasticsearch.yml a…

---

## [X-Pack Document Level Security issue](https://discuss.elastic.co/t/x-pack-document-level-security-issue/183788)

<div class="topic-metadata">

**Author:** [@Aharon](https://discuss.elastic.co/u/Aharon)\
**Replies:** 2\
**Last updated:** [June 1, 2019, 5:44pm UTC](https://discuss.elastic.co/t/x-pack-document-level-security-issue/183788 "2019-06-01T17:44:34Z")

</div>

We are using ElasticSearch 6.5.4 and recently implemented Document Level security on all indexes (prior to this we were using our own internal custom developed solution). Since going live we see increased utilization of …

---

## [Range + Boolean Queries on Nested Objects](https://discuss.elastic.co/t/range-boolean-queries-on-nested-objects/183792)

<div class="topic-metadata">

**Author:** [@jerryt](https://discuss.elastic.co/u/jerryt)\
**Replies:** 1\
**Last updated:** [June 1, 2019, 2:52pm UTC](https://discuss.elastic.co/t/range-boolean-queries-on-nested-objects/183792 "2019-06-01T14:52:38Z")

</div>

Hi, I am new to ES. Have looked around for an answer, but was unable to find one... Say, I have a data index like this listing (parent) availabilities (nested objects) boolean date For a given date range, I'd lik…

---

## [Problem with index restoration](https://discuss.elastic.co/t/problem-with-index-restoration/183813)

<div class="topic-metadata">

**Author:** [@Arkadiusz\_Porada](https://discuss.elastic.co/u/Arkadiusz_Porada)\
**Replies:** 9\
**Last updated:** [June 1, 2019, 2:21pm UTC](https://discuss.elastic.co/t/problem-with-index-restoration/183813 "2019-06-01T14:21:59Z")

</div>

Hello, Today, I've noticed a strange behaviour of my elasticsearch server (7.1.0). When I tried to restore an index from a tar archive nothing happened. Later I noticed that my index didn't exist at elasticearch reposit…

---

## [Concurrency control of Update](https://discuss.elastic.co/t/concurrency-control-of-update/183816)

<div class="topic-metadata">

**Author:** [@shayantabrizi](https://discuss.elastic.co/u/shayantabrizi)\
**Replies:** 5\
**Last updated:** [June 1, 2019, 1:09pm UTC](https://discuss.elastic.co/t/concurrency-control-of-update/183816 "2019-06-01T13:09:29Z")

</div>

I'm confused about the concurrency control of update. It seems that update does check for conflicts: In between the get and indexing phases of the update, it is possible that another process might have already updated …

---

## [After upgrading to 7x certs dont work](https://discuss.elastic.co/t/after-upgrading-to-7x-certs-dont-work/183746)

<div class="topic-metadata">

**Author:** [@perezjasonr](https://discuss.elastic.co/u/perezjasonr)\
**Replies:** 4\
**Last updated:** [June 1, 2019, 12:35pm UTC](https://discuss.elastic.co/t/after-upgrading-to-7x-certs-dont-work/183746 "2019-06-01T12:35:32Z")

</div>

Hello, I had a functioning pki realm, and native realm with working certs. I upgraded to 7x from 6x and now suddenly I'm trying to test authentication using the xpac authenticate endpoint and those very same certs that …

---

## [Update upsert and concurrency control](https://discuss.elastic.co/t/update-upsert-and-concurrency-control/183805)

<div class="topic-metadata">

**Author:** [@shayantabrizi](https://discuss.elastic.co/u/shayantabrizi)\
**Replies:** 4\
**Last updated:** [June 1, 2019, 12:02pm UTC](https://discuss.elastic.co/t/update-upsert-and-concurrency-control/183805 "2019-06-01T12:02:10Z")

</div>

Is upsert in Update API atomic? Assume that client 1 sends an update request with an upsert document and client 2 sends another request with the same upsert document. Is it possible that the first request checks if the o…

---

## [Cannot get nodes to join same cluster](https://discuss.elastic.co/t/cannot-get-nodes-to-join-same-cluster/183796)

<div class="topic-metadata">

**Author:** [@perezjasonr](https://discuss.elastic.co/u/perezjasonr)\
**Replies:** 4\
**Last updated:** [June 1, 2019, 11:24am UTC](https://discuss.elastic.co/t/cannot-get-nodes-to-join-same-cluster/183796 "2019-06-01T11:24:57Z")

</div>

Ive been going in circles for days now cannot get these two nodes to join the same cluster, any help would be appreciated: config for node 1: cluster.name: my-elastic node.name: node-1 path.data: /var/lib/elasticsearch…

---

## [IP expose stratigy of Elasticsearch cluster](https://discuss.elastic.co/t/ip-expose-stratigy-of-elasticsearch-cluster/183809)

<div class="topic-metadata">

**Author:** [@clement\_zuo](https://discuss.elastic.co/u/clement_zuo)\
**Replies:** 6\
**Last updated:** [June 1, 2019, 9:56am UTC](https://discuss.elastic.co/t/ip-expose-stratigy-of-elasticsearch-cluster/183809 "2019-06-01T09:56:58Z")

</div>

I‘ve setup a cluster which contains 3 master node and 3 data node. They are: 192.168.100.1 master node 192.168.100.2 master node 192.168.100.3 master node 192.168.100.4 data node 192.168.100.5 data node 192.168.100.6 d…

---

## [Cluster bootstrapping fundamentals and using cnames for cluster.initial\_master\_nodes](https://discuss.elastic.co/t/cluster-bootstrapping-fundamentals-and-using-cnames-for-cluster-initial-master-nodes/183797)

<div class="topic-metadata">

**Author:** [@zorah](https://discuss.elastic.co/u/zorah)\
**Replies:** 1\
**Last updated:** [June 1, 2019, 8:58am UTC](https://discuss.elastic.co/t/cluster-bootstrapping-fundamentals-and-using-cnames-for-cluster-initial-master-nodes/183797 "2019-06-01T08:58:24Z")

</div>

A few questions about the fundamentals of the use of cluster.initial\_master\_nodes and cluster bootstrapping and master election. The documentation mentions that the cluster.initial\_master\_nodes setting is used for initia…

---

## [Error while starting elasticsearch](https://discuss.elastic.co/t/error-while-starting-elasticsearch/180551)

<div class="topic-metadata">

**Author:** [@Vikash\_Singh1](https://discuss.elastic.co/u/Vikash_Singh1)\
**Replies:** 16\
**Last updated:** [May 31, 2019, 7:38am UTC](https://discuss.elastic.co/t/error-while-starting-elasticsearch/180551 "2019-05-31T07:38:18Z")

</div>

Whenever I am trying to start elasticsearch7.0 via systemctl it give me an error: elasticsearch.service - Elasticsearch Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled) …

---

## [Records aren't getting queried](https://discuss.elastic.co/t/records-arent-getting-queried/183801)

<div class="topic-metadata">

**Author:** [@snacks](https://discuss.elastic.co/u/snacks)\
**Replies:** 2\
**Last updated:** [June 1, 2019, 2:42am UTC](https://discuss.elastic.co/t/records-arent-getting-queried/183801 "2019-06-01T02:42:45Z")

</div>

I'm learning programming using a book and it is using elasticsearch with it as a project. I am trying to follow along the book but I am getting stuck querying records after bulk uploading records. For example, I have th…

---

## [Performance of many index aliases](https://discuss.elastic.co/t/performance-of-many-index-aliases/182529)

<div class="topic-metadata">

**Author:** [@mcfadden](https://discuss.elastic.co/u/mcfadden)\
**Replies:** 5\
**Last updated:** [May 31, 2019, 10:23pm UTC](https://discuss.elastic.co/t/performance-of-many-index-aliases/182529 "2019-05-31T22:23:05Z")

</div>

We're running a SAAS platform that utilizes Elasticsearch in a growing capacity. We're looking into improving our scaling ability and several approaches to help mitigate the noisy neighbor problem in shards. We really l…

---

## [Is it possible change creation\_date on reindexed Indexes to get Life cycle Management to work on old indexes](https://discuss.elastic.co/t/is-it-possible-change-creation-date-on-reindexed-indexes-to-get-life-cycle-management-to-work-on-old-indexes/183773)

<div class="topic-metadata">

**Author:** [@lmrc1r0](https://discuss.elastic.co/u/lmrc1r0)\
**Replies:** 5\
**Last updated:** [May 31, 2019, 8:43pm UTC](https://discuss.elastic.co/t/is-it-possible-change-creation-date-on-reindexed-indexes-to-get-life-cycle-management-to-work-on-old-indexes/183773 "2019-05-31T20:43:16Z")

</div>

Thanks in advance for any help. I just created and new setup of 6.7.2 ES / logstash / kibana. I used the reindex option to import the old data from the old 5.X cluster. Problem is I would like to start using the ILM o…

---

## [Knowing when and when not to retry a request based on ElasticsearchException or IOException with the RestHighLevelClient](https://discuss.elastic.co/t/knowing-when-and-when-not-to-retry-a-request-based-on-elasticsearchexception-or-ioexception-with-the-resthighlevelclient/183779)

<div class="topic-metadata">

**Author:** [@Forrest\_Townsend](https://discuss.elastic.co/u/Forrest_Townsend)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 7:23pm UTC](https://discuss.elastic.co/t/knowing-when-and-when-not-to-retry-a-request-based-on-elasticsearchexception-or-ioexception-with-the-resthighlevelclient/183779 "2019-05-31T19:23:56Z")

</div>

I would like to build in some retry logic on our Elasticsearch requests but I cannot find documentation to explain WHEN a request should be submitted again after a short delay. Also knowing if you are supposed to retry I…

---

## [Ingest pipeline to extract data](https://discuss.elastic.co/t/ingest-pipeline-to-extract-data/183516)

<div class="topic-metadata">

**Author:** [@nicks1993](https://discuss.elastic.co/u/nicks1993)\
**Replies:** 3\
**Last updated:** [May 31, 2019, 4:46pm UTC](https://discuss.elastic.co/t/ingest-pipeline-to-extract-data/183516 "2019-05-31T16:46:13Z")

</div>

if I want to extract the numeric duration value from words::words::words::words (duration=432, words) would this grok pipeline work PUT \_ingest/pipeline/parse { "description" : "parses the duration field", "process…

---

## [How to use pipelines and processors](https://discuss.elastic.co/t/how-to-use-pipelines-and-processors/183719)

<div class="topic-metadata">

**Author:** [@nicks1993](https://discuss.elastic.co/u/nicks1993)\
**Replies:** 12\
**Last updated:** [May 31, 2019, 4:19pm UTC](https://discuss.elastic.co/t/how-to-use-pipelines-and-processors/183719 "2019-05-31T16:19:32Z")

</div>

if I want to extract the numeric duration value from words::words::words::words (duration=432, words) would this grok pipeline work PUT \_ingest/pipeline/parse { "description" : "parses the duration field", "process…

---

## [Security setup on existing cluster failing](https://discuss.elastic.co/t/security-setup-on-existing-cluster-failing/183728)

<div class="topic-metadata">

**Author:** [@skaldenhoven](https://discuss.elastic.co/u/skaldenhoven)\
**Replies:** 4\
**Last updated:** [May 31, 2019, 3:50pm UTC](https://discuss.elastic.co/t/security-setup-on-existing-cluster-failing/183728 "2019-05-31T15:50:41Z")

</div>

Hi All, Since the latest versions of Elasticsearch support x-pack security by default I wanted to set it up. I have a 2 node cluster (just for some home use) setup on Ubuntu 16.04 with the elastic repo's. I followed t…

---

## [Indices keep appearing after deleting /data directory](https://discuss.elastic.co/t/indices-keep-appearing-after-deleting-data-directory/183559)

<div class="topic-metadata">

**Author:** [@javiroberts](https://discuss.elastic.co/u/javiroberts)\
**Replies:** 3\
**Last updated:** [May 31, 2019, 3:26pm UTC](https://discuss.elastic.co/t/indices-keep-appearing-after-deleting-data-directory/183559 "2019-05-31T15:26:02Z")

</div>

Hi everyone! I'm new here and relatively new in ES usage (I've been using it since v5.x). The last days I've come along the following issue: I want to make a fresh install of ES on the three VMs of my cluster, and for …

---

## [Elasticsearch vs relational database](https://discuss.elastic.co/t/elasticsearch-vs-relational-database/183706)

<div class="topic-metadata">

**Author:** [@shayantabrizi](https://discuss.elastic.co/u/shayantabrizi)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 2:50pm UTC](https://discuss.elastic.co/t/elasticsearch-vs-relational-database/183706 "2019-05-31T14:50:50Z")

</div>

If we want to index lots of data of the form \<Key, Value\> (all of the data have the same structure. For example, all of the keys contain values for the same two fields), and then just query them (lookup queries and not e…

---

## [Shards failure error on search](https://discuss.elastic.co/t/shards-failure-error-on-search/183556)

<div class="topic-metadata">

**Author:** [@elk11](https://discuss.elastic.co/u/elk11)\
**Replies:** 3\
**Last updated:** [May 31, 2019, 2:39pm UTC](https://discuss.elastic.co/t/shards-failure-error-on-search/183556 "2019-05-31T14:39:22Z")

</div>

Hi, I'm using elasticsearch 7.0.0, when on discover tab and query on an index pattern based on time period, I get x of y shards failed error. (1 on 10 shards failed). And returns no data. All indices are green and clus…

---

## [Setting variable http.port](https://discuss.elastic.co/t/setting-variable-http-port/182429)

<div class="topic-metadata">

**Author:** [@leobaiano](https://discuss.elastic.co/u/leobaiano)\
**Replies:** 2\
**Last updated:** [May 31, 2019, 2:33pm UTC](https://discuss.elastic.co/t/setting-variable-http-port/182429 "2019-05-31T14:33:00Z")

</div>

I need to set the http port dynamically using an environment variable to run my docker container on heroku, for that purpose I added the code below in my Dockerfile: CMD \["elasticsearch","-Ehttp.port=$PORT"\] It seems t…

---

## [Java security error after upgrading to 7.0](https://discuss.elastic.co/t/java-security-error-after-upgrading-to-7-0/183325)

<div class="topic-metadata">

**Author:** [@perezjasonr](https://discuss.elastic.co/u/perezjasonr)\
**Replies:** 2\
**Last updated:** [May 31, 2019, 2:31pm UTC](https://discuss.elastic.co/t/java-security-error-after-upgrading-to-7-0/183325 "2019-05-31T14:31:36Z")

</div>

Hello, I upgraded from 6.6 to latest 7.x everything was working fine before this but now I get a java security error: Blockquote ion: /etc/elasticsearch/certs/elastic-stack-ca.p12 May 29 11:39:09 598717Ubuntu1 elast…

---

## [Index data not being shown](https://discuss.elastic.co/t/index-data-not-being-shown/183371)

<div class="topic-metadata">

**Author:** [@robscott27](https://discuss.elastic.co/u/robscott27)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 2:27pm UTC](https://discuss.elastic.co/t/index-data-not-being-shown/183371 "2019-05-31T14:27:11Z")

</div>

Bit of a head scratcher here, as I wasn't sure which area to post this in. Up until May 28th, 11:59:50 PM I was able to view data from the only filebeat server running version 6.7.1 (the rest are running 7.0.1). For wee…

---

## [Updating analyzer settings in index template](https://discuss.elastic.co/t/updating-analyzer-settings-in-index-template/182386)

<div class="topic-metadata">

**Author:** [@malgi](https://discuss.elastic.co/u/malgi)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 1:23pm UTC](https://discuss.elastic.co/t/updating-analyzer-settings-in-index-template/182386 "2019-05-31T13:23:25Z")

</div>

Hi! I have updated analyzer setting in index template from "standard" to "simple" to change processing of text fields in my indexes. I have rolling indexes, new index being created every week, and at least a couple of n…

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

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