# Elasticsearch

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

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

**Page:** 265

---

## [How to add synonym with a forward shash? Error failed to build synonyms](https://discuss.elastic.co/t/how-to-add-synonym-with-a-forward-shash-error-failed-to-build-synonyms/330647)

<div class="topic-metadata">

**Author:** [@Eduard\_mart](https://discuss.elastic.co/u/Eduard_mart)\
**Replies:** 3\
**Last updated:** [May 3, 2023, 1:33pm UTC](https://discuss.elastic.co/t/how-to-add-synonym-with-a-forward-shash-error-failed-to-build-synonyms/330647 "2023-05-03T13:33:03Z")

</div>

How to add synonym with a forward shash? Error failed to build synonyms.

---

## [Elastic DSL Query](https://discuss.elastic.co/t/elastic-dsl-query/330656)

<div class="topic-metadata">

**Author:** [@vrviji](https://discuss.elastic.co/u/vrviji)\
**Replies:** 5\
**Last updated:** [May 2, 2023, 8:45pm UTC](https://discuss.elastic.co/t/elastic-dsl-query/330656 "2023-05-02T20:45:41Z")

</div>

Hello All, I would like to do a self join in DSL. Is that possible in Elastic 7.17. Basically i want to search a index for a certain Error message and if the latest status of the order is completed i dont want to includ…

---

## [ElasticSearch 8.6 bat execution error](https://discuss.elastic.co/t/elasticsearch-8-6-bat-execution-error/332305)

<div class="topic-metadata">

**Author:** [@Kvoyce2023](https://discuss.elastic.co/u/Kvoyce2023)\
**Replies:** 5\
**Last updated:** [May 3, 2023, 12:34pm UTC](https://discuss.elastic.co/t/elasticsearch-8-6-bat-execution-error/332305 "2023-05-03T12:34:41Z")

</div>

Hi all: When I execute elasticsearch.bat from elastic\\bin folder I am getting below error of "Socket connection time out". I have added below elasticsearch.yml as well. Please advise. Thank you. \[2023-05-03T00:51:56,0…

---

## [Cross-cluster](https://discuss.elastic.co/t/cross-cluster/332253)

<div class="topic-metadata">

**Author:** [@elastic\_user4](https://discuss.elastic.co/u/elastic_user4)\
**Replies:** 1\
**Last updated:** [May 3, 2023, 11:48am UTC](https://discuss.elastic.co/t/cross-cluster/332253 "2023-05-03T11:48:16Z")

</div>

I tried to do the first step in this documentation(Tutorial: Set up cross-cluster replication | Elasticsearch Guide \[8.7\] | Elastic) and I couldn't connect one cluster with another i have port 9300 open on both clusters. …

---

## [How to index my documents to aggregate similar item listings together](https://discuss.elastic.co/t/how-to-index-my-documents-to-aggregate-similar-item-listings-together/332342)

<div class="topic-metadata">

**Author:** [@searchwithme](https://discuss.elastic.co/u/searchwithme)\
**Replies:** 3\
**Last updated:** [May 3, 2023, 8:22am UTC](https://discuss.elastic.co/t/how-to-index-my-documents-to-aggregate-similar-item-listings-together/332342 "2023-05-03T08:22:59Z")

</div>

Say I have a gaming website and there are panels that look like this: Panel A: Game: Super Mario Language : English Number of Players: Two Theme: Nature Panel B: Game:Super Mario Language : French Number of Player…

---

## [SSD vs HDD performance? on ssd search takes 100ms on hdd 3000-6000ms](https://discuss.elastic.co/t/ssd-vs-hdd-performance-on-ssd-search-takes-100ms-on-hdd-3000-6000ms/332377)

<div class="topic-metadata">

**Author:** [@Eduard\_mart](https://discuss.elastic.co/u/Eduard_mart)\
**Replies:** 1\
**Last updated:** [May 3, 2023, 6:01am UTC](https://discuss.elastic.co/t/ssd-vs-hdd-performance-on-ssd-search-takes-100ms-on-hdd-3000-6000ms/332377 "2023-05-03T06:01:08Z")

</div>

SSD vs HDD performance? on SSD search takes 100ms on HDD 3000-6000ms Is it possible to optimize performance on HDD? 130 millions of entries. 150gb of text. One server. Tried different amount of shards and nodes (usi…

---

## [Cluster with routing enabled has one node with consistently high CPU usage](https://discuss.elastic.co/t/cluster-with-routing-enabled-has-one-node-with-consistently-high-cpu-usage/330796)

<div class="topic-metadata">

**Author:** [@Chris\_Gatihi](https://discuss.elastic.co/u/Chris_Gatihi)\
**Replies:** 1\
**Last updated:** [May 3, 2023, 1:04am UTC](https://discuss.elastic.co/t/cluster-with-routing-enabled-has-one-node-with-consistently-high-cpu-usage/330796 "2023-05-03T01:04:34Z")

</div>

Hi, We have an 8-node cluster with routing enabled and we're seeing consistently high CPU usage on one node in particular (over 90%). The other 7 nodes flash high at times but don't remain or do so as often. Is this m…

---

## [What are the rough criteria for having dedicated masternodes in elasticsearch?](https://discuss.elastic.co/t/what-are-the-rough-criteria-for-having-dedicated-masternodes-in-elasticsearch/332351)

<div class="topic-metadata">

**Author:** [@winteriscomming](https://discuss.elastic.co/u/winteriscomming)\
**Replies:** 1\
**Last updated:** [May 3, 2023, 12:27am UTC](https://discuss.elastic.co/t/what-are-the-rough-criteria-for-having-dedicated-masternodes-in-elasticsearch/332351 "2023-05-03T00:27:50Z")

</div>

We know that having dedicated masternodes is good for stability and resource management. In a relatively small scale, there are many cases where it seems that there is no need to have a dedicated master node. Can you g…

---

## [Invalid NEST response built from a unsuccessful () low level call on PUT:](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-unsuccessful-low-level-call-on-put/332295)

<div class="topic-metadata">

**Author:** [@Maedeh\_Rafiei](https://discuss.elastic.co/u/Maedeh_Rafiei)\
**Replies:** 1\
**Last updated:** [May 2, 2023, 11:50pm UTC](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-unsuccessful-low-level-call-on-put/332295 "2023-05-02T23:50:26Z")

</div>

hi , I've used multi-instance elastic but when I use the hostname I get this error Elasticsearch.Net.ElasticsearchClientException: Failed to ping the specified node.. Call: unknown resource But using IP in output elast…

---

## [Arch Linux: jre19 openjdk EOL dependency](https://discuss.elastic.co/t/arch-linux-jre19-openjdk-eol-dependency/331124)

<div class="topic-metadata">

**Author:** [@D3vil0p3r](https://discuss.elastic.co/u/D3vil0p3r)\
**Replies:** 4\
**Last updated:** [May 2, 2023, 4:13pm UTC](https://discuss.elastic.co/t/arch-linux-jre19-openjdk-eol-dependency/331124 "2023-05-02T16:13:32Z")

</div>

Hello, I'm using Elasticsearch on Arch Linux, version 8.7.0, but this latest version use jre19 openjdk that reached its EOL ( Java/OpenJDK | endoflife.date) so, on Arch Linux it cannot be installed anymore because this d…

---

## [RestHighLevelClient and SyncedFlushRequest](https://discuss.elastic.co/t/resthighlevelclient-and-syncedflushrequest/332279)

<div class="topic-metadata">

**Author:** [@William\_Goss](https://discuss.elastic.co/u/William_Goss)\
**Replies:** 1\
**Last updated:** [May 2, 2023, 3:59pm UTC](https://discuss.elastic.co/t/resthighlevelclient-and-syncedflushrequest/332279 "2023-05-02T15:59:34Z")

</div>

I just shifted from 7.6.2 to 8.6.2 with Elasticsearch, and I wanted to continue to use the RestHighLevelClient. After doing some research, I found out about compatibility mode, and read that this was a way to make it all…

---

## [Service elasticsearch stop is not stopping the process](https://discuss.elastic.co/t/service-elasticsearch-stop-is-not-stopping-the-process/332044)

<div class="topic-metadata">

**Author:** [@Swati\_Bourai](https://discuss.elastic.co/u/Swati_Bourai)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 1:25pm UTC](https://discuss.elastic.co/t/service-elasticsearch-stop-is-not-stopping-the-process/332044 "2023-05-02T13:25:55Z")

</div>

We are trying to stop elastic using the service elasticsearch stop command however not sure how it further calls the kill command as there is no execstop command in the elasticsearch.service file Also we see the process…

---

## [Two way substring search](https://discuss.elastic.co/t/two-way-substring-search/331052)

<div class="topic-metadata">

**Author:** [@Andr](https://discuss.elastic.co/u/Andr)\
**Replies:** 9\
**Last updated:** [May 2, 2023, 12:28pm UTC](https://discuss.elastic.co/t/two-way-substring-search/331052 "2023-05-02T12:28:48Z")

</div>

Hello! I would like to implement a search which returns a document if a query string is substring of the document field or the document field is substring of the query string. For example, I have a document with a text…

---

## [Copy document if fields are different](https://discuss.elastic.co/t/copy-document-if-fields-are-different/332269)

<div class="topic-metadata">

**Author:** [@lduvnjak](https://discuss.elastic.co/u/lduvnjak)\
**Replies:** 0\
**Last updated:** [May 2, 2023, 12:13pm UTC](https://discuss.elastic.co/t/copy-document-if-fields-are-different/332269 "2023-05-02T12:13:58Z")

</div>

Hey Everyone, I have two indices which overlap with data, but there are some differences. What I would like, is to copy documents from index1 to index2, where index1.someField != index2.someField. someField being a cus…

---

## [Problem with elasticsearch 8 and php application while using docker](https://discuss.elastic.co/t/problem-with-elasticsearch-8-and-php-application-while-using-docker/332241)

<div class="topic-metadata">

**Author:** [@Sergii\_Demianchuk](https://discuss.elastic.co/u/Sergii_Demianchuk)\
**Replies:** 0\
**Last updated:** [May 2, 2023, 9:48am UTC](https://discuss.elastic.co/t/problem-with-elasticsearch-8-and-php-application-while-using-docker/332241 "2023-05-02T09:48:31Z")

</div>

Hi, everybody. I have a problem with elasticsearch 8 and docker, which I am sitting on last 3-4 hours. I have next docker compose configuration which consist of php symfony application and elasticsearch single node wit…

---

## [Exists method doesnot work](https://discuss.elastic.co/t/exists-method-doesnot-work/331863)

<div class="topic-metadata">

**Author:** [@Gurjap\_Singh](https://discuss.elastic.co/u/Gurjap_Singh)\
**Replies:** 8\
**Last updated:** [May 2, 2023, 10:52am UTC](https://discuss.elastic.co/t/exists-method-doesnot-work/331863 "2023-05-02T10:52:59Z")

</div>

I have the following code which checks if product exists in the index and if it exists it try to delete it. But exists method always gives me true. I never index the product. so when it try to do some action like get or…

---

## [Enabling Exclusion of Specific Text in Elastic Document Searches](https://discuss.elastic.co/t/enabling-exclusion-of-specific-text-in-elastic-document-searches/332179)

<div class="topic-metadata">

**Author:** [@Henkm](https://discuss.elastic.co/u/Henkm)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 10:05am UTC](https://discuss.elastic.co/t/enabling-exclusion-of-specific-text-in-elastic-document-searches/332179 "2023-05-02T10:05:37Z")

</div>

Our platform leverages Elasticsearch technology to enhance search result optimization by analyzing user-uploaded profiles and documents. However, we have identified a data inconsistency issue that is caused by certain in…

---

## [Elastic can not see the lastest log after using ILM](https://discuss.elastic.co/t/elastic-can-not-see-the-lastest-log-after-using-ilm/330822)

<div class="topic-metadata">

**Author:** [@antony.y](https://discuss.elastic.co/u/antony.y)\
**Replies:** 3\
**Last updated:** [May 2, 2023, 9:52am UTC](https://discuss.elastic.co/t/elastic-can-not-see-the-lastest-log-after-using-ilm/330822 "2023-05-02T09:52:22Z")

</div>

My es version is 7.13.4,but after i change the ilm policy, i can not receive any new log from the logstash, even i set the ilm\_enable=false

---

## [Importing to an existing index in Elastic doesn't behave as expected](https://discuss.elastic.co/t/importing-to-an-existing-index-in-elastic-doesnt-behave-as-expected/332225)

<div class="topic-metadata">

**Author:** [@eeijlar](https://discuss.elastic.co/u/eeijlar)\
**Replies:** 0\
**Last updated:** [May 2, 2023, 9:15am UTC](https://discuss.elastic.co/t/importing-to-an-existing-index-in-elastic-doesnt-behave-as-expected/332225 "2023-05-02T09:15:07Z")

</div>

I am exporting from one ELK stack using logstash. I am writing the output to a json gz file. Then I am importing to another ELK stack also using logstash. There is no connection between the two environments. This expor…

---

## [Elasticsearch looked stopped for a moment](https://discuss.elastic.co/t/elasticsearch-looked-stopped-for-a-moment/332223)

<div class="topic-metadata">

**Author:** [@whoami1](https://discuss.elastic.co/u/whoami1)\
**Replies:** 1\
**Last updated:** [May 2, 2023, 9:09am UTC](https://discuss.elastic.co/t/elasticsearch-looked-stopped-for-a-moment/332223 "2023-05-02T09:09:30Z")

</div>

Hi guys When I looked over ELK overview, I found something on ELK. Every graph has a point to stop for a moment. I don't know the reason. Please help me if someone knows.

---

## [Mapper\_parsing\_exception,reason:object mapping for \[process\] tried to parse field \[process\] as object, but found a concrete value](https://discuss.elastic.co/t/mapper-parsing-exception-reason-object-mapping-for-process-tried-to-parse-field-process-as-object-but-found-a-concrete-value/330979)

<div class="topic-metadata">

**Author:** [@ramdas](https://discuss.elastic.co/u/ramdas)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 9:05am UTC](https://discuss.elastic.co/t/mapper-parsing-exception-reason-object-mapping-for-process-tried-to-parse-field-process-as-object-but-found-a-concrete-value/330979 "2023-05-02T09:05:41Z")

</div>

i am using elasticsearch to store logs and metrics for our applications on kubernetes environment. so now there are two different containers whose logs are collected by fluentd agent and pushed to elasticsearch. one of …

---

## [Master not discovered yet](https://discuss.elastic.co/t/master-not-discovered-yet/330952)

<div class="topic-metadata">

**Author:** [@fnitz](https://discuss.elastic.co/u/fnitz)\
**Replies:** 8\
**Last updated:** [May 2, 2023, 8:22am UTC](https://discuss.elastic.co/t/master-not-discovered-yet/330952 "2023-05-02T08:22:53Z")

</div>

Hello, actually I've got some problems with my elasticsearch, see below: \[2023-04-27T09:41:23,333\]\[INFO \]\[o.e.c.s.MasterService \] \[kibana-com-2-rz2\] node-join\[{elastic-cold-com-4-rz2}{3jgTzoQdQJSpQaLaQhlMPg}{jk19Bev…

---

## [How to do Metric aggregation inside terms aggregations on nested type](https://discuss.elastic.co/t/how-to-do-metric-aggregation-inside-terms-aggregations-on-nested-type/332217)

<div class="topic-metadata">

**Author:** [@kartikchauhan](https://discuss.elastic.co/u/kartikchauhan)\
**Replies:** 0\
**Last updated:** [May 2, 2023, 8:14am UTC](https://discuss.elastic.co/t/how-to-do-metric-aggregation-inside-terms-aggregations-on-nested-type/332217 "2023-05-02T08:14:27Z")

</div>

I've documents stored in Elastic Search in this way: Doc1: { "owner": "owner\_1", "attributes" : \[ { "name": "dump", "value": "xyz" }, { "name": "weight", "value": "150" } \]…

---

## [JSLT or other tool for Elasticsearch search templates management/generation](https://discuss.elastic.co/t/jslt-or-other-tool-for-elasticsearch-search-templates-management-generation/330212)

<div class="topic-metadata">

**Author:** [@astrodi](https://discuss.elastic.co/u/astrodi)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 10:09am UTC](https://discuss.elastic.co/t/jslt-or-other-tool-for-elasticsearch-search-templates-management-generation/330212 "2023-04-18T10:09:38Z")

</div>

Hi there, does anybody uses JSLT or anything similar for managing or auto-generating search templates for Elasticsearch? I have 13 search templates for different business purposes for one app., but basically there is a…

---

## [Extremely Weird Search Behaviour on "ing"](https://discuss.elastic.co/t/extremely-weird-search-behaviour-on-ing/330944)

<div class="topic-metadata">

**Author:** [@Ray\_Cannon](https://discuss.elastic.co/u/Ray_Cannon)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 6:25am UTC](https://discuss.elastic.co/t/extremely-weird-search-behaviour-on-ing/330944 "2023-05-02T06:25:07Z")

</div>

I have Elasticsearch 7 installed on a VPS for which I use with my Magento store. After several tests, disabling/removing extensions and using 2 differant Magento Versions (but the same Elasticsearch installation), I can…

---

## [Couldn’t find any Elasticsearch data](https://discuss.elastic.co/t/couldn-t-find-any-elasticsearch-data/330918)

<div class="topic-metadata">

**Author:** [@kparmar](https://discuss.elastic.co/u/kparmar)\
**Replies:** 3\
**Last updated:** [May 2, 2023, 6:13am UTC](https://discuss.elastic.co/t/couldn-t-find-any-elasticsearch-data/330918 "2023-05-02T06:13:56Z")

</div>

Couldn’t find any Elasticsearch data We are trying to redirect our Application log files using EFK but whenever we login into Kibana Management tab we are getting below message You'll need to index some data into Elast…

---

## [Illegal\_argument\_exception: index.lifecycle.rollover\_alias \[logstash-7.13.3\] does not point to index \[logstash\]](https://discuss.elastic.co/t/illegal-argument-exception-index-lifecycle-rollover-alias-logstash-7-13-3-does-not-point-to-index-logstash/331046)

<div class="topic-metadata">

**Author:** [@Abinsha\_N](https://discuss.elastic.co/u/Abinsha_N)\
**Replies:** 1\
**Last updated:** [May 2, 2023, 3:32am UTC](https://discuss.elastic.co/t/illegal-argument-exception-index-lifecycle-rollover-alias-logstash-7-13-3-does-not-point-to-index-logstash/331046 "2023-05-02T03:32:27Z")

</div>

roll over is not taking place. Please help. { "policy": "logstash-policy", "phase\_definition": { "min\_age": "0ms", "actions": { "rollover": { "max\_size": "50gb", "max\_age": "30d" …

---

## [Datatypes a mess after reindexing](https://discuss.elastic.co/t/datatypes-a-mess-after-reindexing/332055)

<div class="topic-metadata">

**Author:** [@GregoryJC](https://discuss.elastic.co/u/GregoryJC)\
**Replies:** 1\
**Last updated:** [May 2, 2023, 3:18am UTC](https://discuss.elastic.co/t/datatypes-a-mess-after-reindexing/332055 "2023-05-02T03:18:07Z")

</div>

Currently elastic version 7.17.3. We recently reindexed and changed fields to text but we noticed that the field types got all messed up. This is third party data, and we noticed that the field order is not the same in…

---

## [Elasticsearch hosts upgrade - options](https://discuss.elastic.co/t/elasticsearch-hosts-upgrade-options/331071)

<div class="topic-metadata">

**Author:** [@zaeemmasood](https://discuss.elastic.co/u/zaeemmasood)\
**Replies:** 8\
**Last updated:** [May 1, 2023, 11:42pm UTC](https://discuss.elastic.co/t/elasticsearch-hosts-upgrade-options/331071 "2023-05-01T23:42:27Z")

</div>

Hello, We have 3 Master nodes and 5 data nodes in our cluster. The VMs hosting the entire cluster is undergoing an upgrade which will involve downtime (for few hours) and also IP change for the 3 Master nodes and 1 dat…

---

## [How to pass in \`current\_unix\_time\` as a value for elasticsearch query?](https://discuss.elastic.co/t/how-to-pass-in-current-unix-time-as-a-value-for-elasticsearch-query/331385)

<div class="topic-metadata">

**Author:** [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Replies:** 3\
**Last updated:** [May 1, 2023, 5:33pm UTC](https://discuss.elastic.co/t/how-to-pass-in-current-unix-time-as-a-value-for-elasticsearch-query/331385 "2023-05-01T17:33:54Z")

</div>

My ultimate goal is to create a Kibana visualization that shows "How many days have passed since \[today\]". I was told I might be able to create an elasticsearch query that passes in a current\_unix\_time or (new Date()).…

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

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