# Elasticsearch

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

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

**Page:** 1313

---

## [Intermittent NoNodeAvailableException - 2.4.1 Docker ES](https://discuss.elastic.co/t/intermittent-nonodeavailableexception-2-4-1-docker-es/179079)

<div class="topic-metadata">

**Author:** [@ArunANayagam](https://discuss.elastic.co/u/ArunANayagam)\
**Replies:** 7\
**Last updated:** [May 3, 2019, 1:09pm UTC](https://discuss.elastic.co/t/intermittent-nonodeavailableexception-2-4-1-docker-es/179079 "2019-05-03T13:09:45Z")

</div>

Hi, For some weird reason I am having to make a cluster out of 2.4.1 ES I have created a docker elasticsearch 2.4.1 cluster on AWS. I use cloud-aws for discovery and it seems to discover fine. A 3x node cluster. { …

---

## [Index getting deleted](https://discuss.elastic.co/t/index-getting-deleted/179331)

<div class="topic-metadata">

**Author:** [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 12:57pm UTC](https://discuss.elastic.co/t/index-getting-deleted/179331 "2019-05-03T12:57:47Z")

</div>

Is there any reason for Index getting deleted by itself. This index is heavier than the others (size = 300mb , rows= 100,000 +). Is there any mechanism that clears the index periodically. Or in any case , can the index …

---

## [Regex based query in elasticsearch 5.6](https://discuss.elastic.co/t/regex-based-query-in-elasticsearch-5-6/178803)

<div class="topic-metadata">

**Author:** [@Umang\_Mishra](https://discuss.elastic.co/u/Umang_Mishra)\
**Replies:** 5\
**Last updated:** [May 3, 2019, 12:55pm UTC](https://discuss.elastic.co/t/regex-based-query-in-elasticsearch-5-6/178803 "2019-05-03T12:55:31Z")

</div>

In elasticsearch 5.6, for getting the data, I am using values as regex in the query. The query is working for only lowercase regex values, even a single uppercase letter disqualifies the query. For Example \_search?q=r…

---

## [Setting \[cluster\] must not be empty](https://discuss.elastic.co/t/setting-cluster-must-not-be-empty/178739)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar\_Mohanty](https://discuss.elastic.co/u/Kiran_Kumar_Mohanty)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 1:14am UTC](https://discuss.elastic.co/t/setting-cluster-must-not-be-empty/178739 "2019-05-02T01:14:45Z")

</div>

Version - 7.0.0 While I am trying to start elasticsearch from the command line using below command getting an error "setting \[cluster\] must not be empty" Command ./bin/elasticsearch -Ecluster.name=my\_cluster -Enode.na…

---

## [Search + Scroll to be saved for later process](https://discuss.elastic.co/t/search-scroll-to-be-saved-for-later-process/179469)

<div class="topic-metadata">

**Author:** [@rikemSen](https://discuss.elastic.co/u/rikemSen)\
**Replies:** 6\
**Last updated:** [May 3, 2019, 12:14pm UTC](https://discuss.elastic.co/t/search-scroll-to-be-saved-for-later-process/179469 "2019-05-03T12:14:25Z")

</div>

Hi there :slight\_smile: , I am creating a system where the user can search for documents to be processed. This won't show to the user the documents, but only the amount of them. As the task on these documents will take …

---

## [Connect to Elasticsearch service with Elasticsearch-php](https://discuss.elastic.co/t/connect-to-elasticsearch-service-with-elasticsearch-php/179390)

<div class="topic-metadata">

**Author:** [@simple\_commentateur](https://discuss.elastic.co/u/simple_commentateur)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 12:10pm UTC](https://discuss.elastic.co/t/connect-to-elasticsearch-service-with-elasticsearch-php/179390 "2019-05-03T12:10:16Z")

</div>

I looked in several topics without finding solutions, so I put my problem directly there. i want to communicate with my trial account on Elastic Cloud using the Google Cloud Platform with a PHP scirpt : \<?php require\_…

---

## [Putting file from fscrawler in in web GUI](https://discuss.elastic.co/t/putting-file-from-fscrawler-in-in-web-gui/179520)

<div class="topic-metadata">

**Author:** [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 11:44am UTC](https://discuss.elastic.co/t/putting-file-from-fscrawler-in-in-web-gui/179520 "2019-05-03T11:44:38Z")

</div>

i use fscrawler , tesseractocr (for text exctration from images) with elastic search and kebana and now i want to know if it is possible to publish image and pdf from w web interface in stead of copying them manually in …

---

## [Segments are not getting merged](https://discuss.elastic.co/t/segments-are-not-getting-merged/179524)

<div class="topic-metadata">

**Author:** [@nileshsoor](https://discuss.elastic.co/u/nileshsoor)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 11:13am UTC](https://discuss.elastic.co/t/segments-are-not-getting-merged/179524 "2019-05-03T11:13:09Z")

</div>

Hi, I am facing shard failure issue because of lack of space. However I noticed that the in some indexes the deleted count was more than 20%. As per the Elastic Search documentation, segment merging will happen if dele…

---

## ["Master not discovered exception" after following your guide](https://discuss.elastic.co/t/master-not-discovered-exception-after-following-your-guide/179385)

<div class="topic-metadata">

**Author:** [@kent120103](https://discuss.elastic.co/u/kent120103)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 10:58am UTC](https://discuss.elastic.co/t/master-not-discovered-exception-after-following-your-guide/179385 "2019-05-03T10:58:31Z")

</div>

Hi, Elastic team. I followed this guide (https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-tls-docker.html) to create a cluster locally and play with SSH/TLS connection. After running "docker-…

---

## [Error while clustering nodes from different host/machines (ES 7.0)](https://discuss.elastic.co/t/error-while-clustering-nodes-from-different-host-machines-es-7-0/179493)

<div class="topic-metadata">

**Author:** [@realjoonha](https://discuss.elastic.co/u/realjoonha)\
**Replies:** 4\
**Last updated:** [May 3, 2019, 10:22am UTC](https://discuss.elastic.co/t/error-while-clustering-nodes-from-different-host-machines-es-7-0/179493 "2019-05-03T10:22:19Z")

</div>

Hi, I'm trying to cluster a number of nodes from different machines (with different IP address), and having some troubles with it. Below are the basic info of the error. Please understand if it is insufficient - I'm t…

---

## [Elastic node reads previous cluster uuid from data folder even if it is re-configured to join another cluster](https://discuss.elastic.co/t/elastic-node-reads-previous-cluster-uuid-from-data-folder-even-if-it-is-re-configured-to-join-another-cluster/179471)

<div class="topic-metadata">

**Author:** [@shreymath9999](https://discuss.elastic.co/u/shreymath9999)\
**Replies:** 6\
**Last updated:** [May 3, 2019, 10:20am UTC](https://discuss.elastic.co/t/elastic-node-reads-previous-cluster-uuid-from-data-folder-even-if-it-is-re-configured-to-join-another-cluster/179471 "2019-05-03T10:20:03Z")

</div>

Here's the case, In brief : On bootstrapping a single node, it forms a single node cluster and stores the cluster uuid in its data folder. Now even if it is re-configured to join a multi-node cluster in its yaml file. …

---

## [Strategy for "JOINING" data](https://discuss.elastic.co/t/strategy-for-joining-data/179361)

<div class="topic-metadata">

**Author:** [@primico](https://discuss.elastic.co/u/primico)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 10:19am UTC](https://discuss.elastic.co/t/strategy-for-joining-data/179361 "2019-05-03T10:19:24Z")

</div>

I know Elasticsearch doesn't do joins in the same way SQL does. I'm wondering what is the best approach in the following scenario: I have a Products index which contains product data and prices. I have other indexes, su…

---

## [How to properly handle multi term with stop words syonyms expansion?](https://discuss.elastic.co/t/how-to-properly-handle-multi-term-with-stop-words-syonyms-expansion/179269)

<div class="topic-metadata">

**Author:** [@EFJunior](https://discuss.elastic.co/u/EFJunior)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 10:08am UTC](https://discuss.elastic.co/t/how-to-properly-handle-multi-term-with-stop-words-syonyms-expansion/179269 "2019-05-03T10:08:40Z")

</div>

I have the following synonym expansion : suco =\> suco, refresco, bebida de soja What i want is to tokenize the search this way: Search for "suco de laranja" would be tokenized to \["suco", "laranja", "refresco", "bebid…

---

## [Advanced JSON Inputs Math functions](https://discuss.elastic.co/t/advanced-json-inputs-math-functions/179358)

<div class="topic-metadata">

**Author:** [@6tUBp3gwd9Zp](https://discuss.elastic.co/u/6tUBp3gwd9Zp)\
**Replies:** 2\
**Last updated:** [May 3, 2019, 8:59am UTC](https://discuss.elastic.co/t/advanced-json-inputs-math-functions/179358 "2019-05-03T08:59:37Z")

</div>

I want to calculate an angle from a x and a y value with this script: { "script": { "inline": "if (doc\['x'\].value == 0 and doc\['y'\].value \> 0{return 270;}if (doc\['x'\].value == 0 and doc\['y'\].value \< 0 {return 90;}…

---

## [Having trouble with synonyms and match query](https://discuss.elastic.co/t/having-trouble-with-synonyms-and-match-query/179407)

<div class="topic-metadata">

**Author:** [@EFJunior](https://discuss.elastic.co/u/EFJunior)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 8:45am UTC](https://discuss.elastic.co/t/having-trouble-with-synonyms-and-match-query/179407 "2019-05-03T08:45:51Z")

</div>

I'm trying to search using match query the following products : 1 - Suco SUCO E SÓ Tangerina Integral; 2 - Suco SUCO E SÓ Laranja Integral; 3 - Suco SUCO E SÓ Uva Integral 300ml The query : "query": { "bool": {…

---

## [Unable to connect to elasticsearch via localhost:9200](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-via-localhost-9200/179498)

<div class="topic-metadata">

**Author:** [@Mhamed1](https://discuss.elastic.co/u/Mhamed1)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 8:42am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-via-localhost-9200/179498 "2019-05-03T08:42:59Z")

</div>

So I downloaded the .zip file of Elasticsearch 7.0.1 and installed it ! (I followed this tutorial: https://www.youtube.com/watch?v=YE7AzSCC3E0&t=298s) The current problem is that I can't connect to the localhost! THAN…

---

## [Where to find snapshot?](https://discuss.elastic.co/t/where-to-find-snapshot/179417)

<div class="topic-metadata">

**Author:** [@fim](https://discuss.elastic.co/u/fim)\
**Replies:** 2\
**Last updated:** [May 3, 2019, 8:26am UTC](https://discuss.elastic.co/t/where-to-find-snapshot/179417 "2019-05-03T08:26:36Z")

</div>

I try to make a snapshot according following reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html Created a local fs repository: PUT /\_snapshot/my\_backup { "type": "fs", …

---

## [Significant score increase after migration from 2.4 to 6.5](https://discuss.elastic.co/t/significant-score-increase-after-migration-from-2-4-to-6-5/179408)

<div class="topic-metadata">

**Author:** [@mgvarley](https://discuss.elastic.co/u/mgvarley)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 7:48am UTC](https://discuss.elastic.co/t/significant-score-increase-after-migration-from-2-4-to-6-5/179408 "2019-05-03T07:48:44Z")

</div>

We are in the process of migrating our stack from 2.4 to 6.5, our plan is to make the bare minimum changes to our application code and then once our regression tests have passed we will start taking advantage of some of …

---

## [Elastic Cloud Ingest from offline Units](https://discuss.elastic.co/t/elastic-cloud-ingest-from-offline-units/178856)

<div class="topic-metadata">

**Author:** [@gruselglatz](https://discuss.elastic.co/u/gruselglatz)\
**Replies:** 4\
**Last updated:** [May 3, 2019, 7:39am UTC](https://discuss.elastic.co/t/elastic-cloud-ingest-from-offline-units/178856 "2019-05-03T07:39:07Z")

</div>

Hi, What is the best way to get logs and metrics (via file- and metricbeat) into an elasticsearch in the elastic cloud, when the Nodes aren't allowed to talk to the internet. It's possible to set up some sort of aggreg…

---

## [Elasticsearch not working after Elasticsearch upgrade from 6.7 to 7.0](https://discuss.elastic.co/t/elasticsearch-not-working-after-elasticsearch-upgrade-from-6-7-to-7-0/179322)

<div class="topic-metadata">

**Author:** [@wcpoon](https://discuss.elastic.co/u/wcpoon)\
**Replies:** 6\
**Last updated:** [May 3, 2019, 6:28am UTC](https://discuss.elastic.co/t/elasticsearch-not-working-after-elasticsearch-upgrade-from-6-7-to-7-0/179322 "2019-05-03T06:28:33Z")

</div>

Hi Guys, After i upgraded from 6.7 to 7.0, i'm having the issues to startup my elasticsearch and cluster, Anyone can assist me? I don't know what's wrong. Is it syntax errors? Below are my config and error logs, elas…

---

## [How to use revered word at DSL filter terms property](https://discuss.elastic.co/t/how-to-use-revered-word-at-dsl-filter-terms-property/179466)

<div class="topic-metadata">

**Author:** [@drake-jin](https://discuss.elastic.co/u/drake-jin)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 6:27am UTC](https://discuss.elastic.co/t/how-to-use-revered-word-at-dsl-filter-terms-property/179466 "2019-05-03T06:27:41Z")

</div>

When I update 2.3.1 to 6.7.1 Elasticsearch version. ASIS DSL Query looks like below the image { "min\_score": 0.9, "query": { "bool": { "must": { "multi\_match": { "query": "Bisket", …

---

## [Is it possible to search text (words or sentence) in PDF and MS-Word using elasticsearch](https://discuss.elastic.co/t/is-it-possible-to-search-text-words-or-sentence-in-pdf-and-ms-word-using-elasticsearch/179463)

<div class="topic-metadata">

**Author:** [@Seob](https://discuss.elastic.co/u/Seob)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 6:16am UTC](https://discuss.elastic.co/t/is-it-possible-to-search-text-words-or-sentence-in-pdf-and-ms-word-using-elasticsearch/179463 "2019-05-03T06:16:12Z")

</div>

Hi dears, I want to know if it is possible to search text(words or sentence) in PDF and MS-Word flile, any help please thank you very much

---

## [Is there any chance of getting all types of logs with single tool/application](https://discuss.elastic.co/t/is-there-any-chance-of-getting-all-types-of-logs-with-single-tool-application/179467)

<div class="topic-metadata">

**Author:** [@vbrundavanam](https://discuss.elastic.co/u/vbrundavanam)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 5:02am UTC](https://discuss.elastic.co/t/is-there-any-chance-of-getting-all-types-of-logs-with-single-tool-application/179467 "2019-05-03T05:02:57Z")

</div>

Hi , Is there any tool/application is able to get all types of logs ( in whatever the format and whatever content inside it ) by making changes in configuration of that.

---

## [Mapping Conflict in Elastic Search after installing beats 7](https://discuss.elastic.co/t/mapping-conflict-in-elastic-search-after-installing-beats-7/179282)

<div class="topic-metadata">

**Author:** [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 6:04am UTC](https://discuss.elastic.co/t/mapping-conflict-in-elastic-search-after-installing-beats-7/179282 "2019-05-02T06:04:46Z")

</div>

Hi I was running Elastic stack 6.7. I recently upgraded Elastic search and kibana to 7 but filebeats were still running with version 6.7. Every thing was running fine. Recently Installed Filebeat agent on new server. No…

---

## [Creating search template targeting a specific index](https://discuss.elastic.co/t/creating-search-template-targeting-a-specific-index/179447)

<div class="topic-metadata">

**Author:** [@rennishj](https://discuss.elastic.co/u/rennishj)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 1:38am UTC](https://discuss.elastic.co/t/creating-search-template-targeting-a-specific-index/179447 "2019-05-03T01:38:28Z")

</div>

Hi, I am using ES(6.7) search templates to support my queries from as asp.net application at work . Our DEV and QA share the same ES nodes(Total 2 nodes). We name our indices dev-\* and qa-\* to identify each index b/w D…

---

## [The curse of dynamic dates](https://discuss.elastic.co/t/the-curse-of-dynamic-dates/177633)

<div class="topic-metadata">

**Author:** [@techplex](https://discuss.elastic.co/u/techplex)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 9:20pm UTC](https://discuss.elastic.co/t/the-curse-of-dynamic-dates/177633 "2019-05-02T21:20:56Z")

</div>

I am trying to import a bunch of JSON documents that have dates with format: 2019-03-21T10:30:31.2Z 2018-10-26T23:42:27.3Z 2019-01-17T18:55:29.3Z 2018-09-15T11:26:16.1Z 2019-03-25T18:59:50.1Z 2019-03-04T00:21:27.1Z …

---

## [Recommendation for network.host value when VMs are prone to get replaced with change of IP](https://discuss.elastic.co/t/recommendation-for-network-host-value-when-vms-are-prone-to-get-replaced-with-change-of-ip/179283)

<div class="topic-metadata">

**Author:** [@sg.esearch](https://discuss.elastic.co/u/sg.esearch)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 9:16pm UTC](https://discuss.elastic.co/t/recommendation-for-network-host-value-when-vms-are-prone-to-get-replaced-with-change-of-ip/179283 "2019-05-02T21:16:36Z")

</div>

As per https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html#network-interface-values, the network.host value can be an IP, hostname or special value like \_eth0\_ In our production environm…

---

## [Use Completion Suggester for all the fields of across the Elasticsearch type](https://discuss.elastic.co/t/use-completion-suggester-for-all-the-fields-of-across-the-elasticsearch-type/179437)

<div class="topic-metadata">

**Author:** [@Yashasvi\_Raj\_Pant](https://discuss.elastic.co/u/Yashasvi_Raj_Pant)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 9:07pm UTC](https://discuss.elastic.co/t/use-completion-suggester-for-all-the-fields-of-across-the-elasticsearch-type/179437 "2019-05-02T21:07:45Z")

</div>

I just started using Suggester feature of Elasticsearch and found it cool. I am implementing Completion Suggester in my application, and here goes my requirement: I am using Elasticsearch 5.5.3 (which support multiple ty…

---

## [Notify to user when es node goes up](https://discuss.elastic.co/t/notify-to-user-when-es-node-goes-up/179351)

<div class="topic-metadata">

**Author:** [@Gaurav22.Kumar](https://discuss.elastic.co/u/Gaurav22.Kumar)\
**Replies:** 1\
**Last updated:** [May 2, 2019, 7:56pm UTC](https://discuss.elastic.co/t/notify-to-user-when-es-node-goes-up/179351 "2019-05-02T19:56:28Z")

</div>

How can we get notification when Elastic search node goes up after some time . I need a listener so we can add node at run time through java api.

---

## [Query to get content that match some value in pdf and text extraxcted from iamge](https://discuss.elastic.co/t/query-to-get-content-that-match-some-value-in-pdf-and-text-extraxcted-from-iamge/179430)

<div class="topic-metadata">

**Author:** [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Replies:** 1\
**Last updated:** [May 2, 2019, 7:51pm UTC](https://discuss.elastic.co/t/query-to-get-content-that-match-some-value-in-pdf-and-text-extraxcted-from-iamge/179430 "2019-05-02T19:51:36Z")

</div>

i indexed my pdf files and images using fscrawler and tesseract-ocr aand now i can extract the text from image and display pdf file content on Kibana , my question is that i want to do query in kibana devtools interface…

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

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