# Elasticsearch

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

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

**Page:** 202

---

## [Read-only URL Repository](https://discuss.elastic.co/t/read-only-url-repository/343104)

<div class="topic-metadata">

**Author:** [@frh](https://discuss.elastic.co/u/frh)\
**Replies:** 1\
**Last updated:** [September 15, 2023, 10:17am UTC](https://discuss.elastic.co/t/read-only-url-repository/343104 "2023-09-15T10:17:45Z")

</div>

Hi, I just created read-only URL repository and give it a name as "test". I got this error when verify repository: { "error": { "root\_cause": \[ { "type": "repository\_exception", "reason": "\[…

---

## [Scores are inconsistent with data and query](https://discuss.elastic.co/t/scores-are-inconsistent-with-data-and-query/343121)

<div class="topic-metadata">

**Author:** [@appsol](https://discuss.elastic.co/u/appsol)\
**Replies:** 0\
**Last updated:** [September 15, 2023, 9:03am UTC](https://discuss.elastic.co/t/scores-are-inconsistent-with-data-and-query/343121 "2023-09-15T09:03:05Z")

</div>

Hello, My document has a title field and an intro field. I have given greater importance to the title field over the intro field in my query, yet all other fields being equal, the intro field is getting a higher score t…

---

## [Adding Documents via REST API in ElasticSearch](https://discuss.elastic.co/t/adding-documents-via-rest-api-in-elasticsearch/343102)

<div class="topic-metadata">

**Author:** [@sanyam](https://discuss.elastic.co/u/sanyam)\
**Replies:** 4\
**Last updated:** [September 15, 2023, 6:45am UTC](https://discuss.elastic.co/t/adding-documents-via-rest-api-in-elasticsearch/343102 "2023-09-15T06:45:18Z")

</div>

I am getting this error while trying to run this code to add data/document In Elasticsearch version 6.4.1 in windows curl -X POST "localhost:9200/clusters/\_doc" -H "Content-Type" : application/json -d "{ "field1":"valu…

---

## [Logstash Grok Pattern Watchguard Firewall](https://discuss.elastic.co/t/logstash-grok-pattern-watchguard-firewall/342317)

<div class="topic-metadata">

**Author:** [@Simon7](https://discuss.elastic.co/u/Simon7)\
**Replies:** 6\
**Last updated:** [September 15, 2023, 5:22am UTC](https://discuss.elastic.co/t/logstash-grok-pattern-watchguard-firewall/342317 "2023-09-15T05:22:41Z")

</div>

Hey Guys, this is my first topic here in this forum. I have established an Elasticsearch log management in our company. I'm having a bit of trouble with the grok pattern. If I can't use integrations, I need to create m…

---

## [Elasticsearch error in running service JAVA error](https://discuss.elastic.co/t/elasticsearch-error-in-running-service-java-error/342782)

<div class="topic-metadata">

**Author:** [@1337](https://discuss.elastic.co/u/1337)\
**Replies:** 15\
**Last updated:** [September 15, 2023, 4:51am UTC](https://discuss.elastic.co/t/elasticsearch-error-in-running-service-java-error/342782 "2023-09-15T04:51:26Z")

</div>

systemctl status elasticsearch × elasticsearch.service - Elasticsearch Loaded: loaded (/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2…

---

## [URI too long with custom routing](https://discuss.elastic.co/t/uri-too-long-with-custom-routing/342993)

<div class="topic-metadata">

**Author:** [@Dhineshkumar\_R](https://discuss.elastic.co/u/Dhineshkumar_R)\
**Replies:** 7\
**Last updated:** [September 15, 2023, 2:55am UTC](https://discuss.elastic.co/t/uri-too-long-with-custom-routing/342993 "2023-09-15T02:55:25Z")

</div>

Hi Team, I'm experimenting with custom routing to bring down the latency of search requests in my cluster. The routing\_ids are assigned in groups of N. For ex. a key with 1000 associated documents will be mapped to 10 d…

---

## [Error while using .scan() function call](https://discuss.elastic.co/t/error-while-using-scan-function-call/343039)

<div class="topic-metadata">

**Author:** [@hjazz6](https://discuss.elastic.co/u/hjazz6)\
**Replies:** 6\
**Last updated:** [September 15, 2023, 2:17am UTC](https://discuss.elastic.co/t/error-while-using-scan-function-call/343039 "2023-09-15T02:17:54Z")

</div>

Hi, I have the following Python code to query my ES cluster (v8.8.0). from elasticsearch import Elasticsearch from elasticsearch\_dsl import Search for i in range(0, 100): s = Search(using=es, index=index\_name) \\ …

---

## [Termsuggester in new Elasticsearch client library](https://discuss.elastic.co/t/termsuggester-in-new-elasticsearch-client-library/343070)

<div class="topic-metadata">

**Author:** [@ramyogi](https://discuss.elastic.co/u/ramyogi)\
**Replies:** 1\
**Last updated:** [September 14, 2023, 8:38pm UTC](https://discuss.elastic.co/t/termsuggester-in-new-elasticsearch-client-library/343070 "2023-09-14T20:38:02Z")

</div>

We could not find any option to supply accuracy with term suggest. But Elasticsearch core lib provided that option. https://www.javadoc.io/doc/org.elasticsearch/elasticsearch/latest/org.elasticsearch.server/org/elastics…

---

## [ELK snapshot ERROR](https://discuss.elastic.co/t/elk-snapshot-error/342798)

<div class="topic-metadata">

**Author:** [@cperzrt10](https://discuss.elastic.co/u/cperzrt10)\
**Replies:** 0\
**Last updated:** [September 12, 2023, 10:06am UTC](https://discuss.elastic.co/t/elk-snapshot-error/342798 "2023-09-12T10:06:49Z")

</div>

Hi, when i try to make snapchot of mi cluster at NFS configuration it fails with this error: { "type": "snapshot\_exception", "reason": "\[backups:snapshot-diarias-2023.09.12-y65vkdogt8y\_lbs\_ajcoaq/OuM8ZsvmQnqhHOczBm0…

---

## [Elasticsearch JNA unavailable / elastic no start](https://discuss.elastic.co/t/elasticsearch-jna-unavailable-elastic-no-start/343072)

<div class="topic-metadata">

**Author:** [@deepx](https://discuss.elastic.co/u/deepx)\
**Replies:** 3\
**Last updated:** [September 14, 2023, 8:02pm UTC](https://discuss.elastic.co/t/elasticsearch-jna-unavailable-elastic-no-start/343072 "2023-09-14T20:02:33Z")

</div>

Hello, I installed elasticsearch on ubuntu , but when i start elastic I always get an error. The log is showing me the following: JNA not available java.lang.UnsatisfiedLinkError: /tmp/elasticsearch-1125708853983863618…

---

## [Understanding transform stats](https://discuss.elastic.co/t/understanding-transform-stats/343053)

<div class="topic-metadata">

**Author:** [@pulsy](https://discuss.elastic.co/u/pulsy)\
**Replies:** 4\
**Last updated:** [September 14, 2023, 6:22pm UTC](https://discuss.elastic.co/t/understanding-transform-stats/343053 "2023-09-14T18:22:59Z")

</div>

I am currently in the process of figuring out how to implement a transform on a quite large index. Especially the monitoring part of it is a bit puzzling for me. For example, the search\_time\_in\_ms on the transform curre…

---

## [Fail to update index data on Elasticsearch](https://discuss.elastic.co/t/fail-to-update-index-data-on-elasticsearch/342825)

<div class="topic-metadata">

**Author:** [@Antra](https://discuss.elastic.co/u/Antra)\
**Replies:** 3\
**Last updated:** [September 14, 2023, 5:56pm UTC](https://discuss.elastic.co/t/fail-to-update-index-data-on-elasticsearch/342825 "2023-09-14T17:56:05Z")

</div>

Hi team, I am facing an issue while using an Elasticsearch update query. I have given the detailed description of the issue below: Version of Elasticsearch: 7.17.0 Problem Description: My application has different te…

---

## [\[search\_phase\_execution\_exception Caused by: es\_rejected\_execution\_exception: rejected execution](https://discuss.elastic.co/t/search-phase-execution-exception-caused-by-es-rejected-execution-exception-rejected-execution/342081)

<div class="topic-metadata">

**Author:** [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Replies:** 9\
**Last updated:** [September 14, 2023, 4:39pm UTC](https://discuss.elastic.co/t/search-phase-execution-exception-caused-by-es-rejected-execution-exception-rejected-execution/342081 "2023-09-14T16:39:55Z")

</div>

I am using grafana k6 stress tool to generate some load in elastic and sooner or later i always get this error es\_rejected\_execution\_exception. All are search operations to get 30 docs. On small indices of 20-30mb it …

---

## [Unable to install elastic search curator](https://discuss.elastic.co/t/unable-to-install-elastic-search-curator/342751)

<div class="topic-metadata">

**Author:** [@Senthil\_ak](https://discuss.elastic.co/u/Senthil_ak)\
**Replies:** 4\
**Last updated:** [September 14, 2023, 4:02pm UTC](https://discuss.elastic.co/t/unable-to-install-elastic-search-curator/342751 "2023-09-14T16:02:06Z")

</div>

Hi Team, Is there any RPM package available for curator v8.0? Recently, we upgraded from 7.17 to 8.9 version of ELK stack, and our curator version is not compatible with the ELK stack. Our env is an air-gap env and does…

---

## [Fuzzy\_terms\_exception when matching against keyword fields](https://discuss.elastic.co/t/fuzzy-terms-exception-when-matching-against-keyword-fields/343057)

<div class="topic-metadata">

**Author:** [@David\_Kolb](https://discuss.elastic.co/u/David_Kolb)\
**Replies:** 0\
**Last updated:** [September 14, 2023, 2:19pm UTC](https://discuss.elastic.co/t/fuzzy-terms-exception-when-matching-against-keyword-fields/343057 "2023-09-14T14:19:52Z")

</div>

Hi, I'm getting a ElasticsearchException\[Elasticsearch exception \[type=fuzzy\_terms\_exception, reason=Term too complex when running a fuzzy (AUTO) multi match query with a query String that contains long terms against …

---

## [Issue - Update security certificates with a different CA](https://discuss.elastic.co/t/issue-update-security-certificates-with-a-different-ca/342908)

<div class="topic-metadata">

**Author:** [@Derick\_Jansen](https://discuss.elastic.co/u/Derick_Jansen)\
**Replies:** 3\
**Last updated:** [September 14, 2023, 12:56pm UTC](https://discuss.elastic.co/t/issue-update-security-certificates-with-a-different-ca/342908 "2023-09-14T12:56:01Z")

</div>

Hi all I followed the instructions at :-Update security certificates with a different CA | Elasticsearch Guide \[7.17\] | Elastic I first tried restarting one node and get the below error \[2023-09-13T18:49:49,292\]\[WARN …

---

## [How to properly find one string in another using vector search](https://discuss.elastic.co/t/how-to-properly-find-one-string-in-another-using-vector-search/343024)

<div class="topic-metadata">

**Author:** [@andriy.afanasev](https://discuss.elastic.co/u/andriy.afanasev)\
**Replies:** 1\
**Last updated:** [September 14, 2023, 12:14pm UTC](https://discuss.elastic.co/t/how-to-properly-find-one-string-in-another-using-vector-search/343024 "2023-09-14T12:14:08Z")

</div>

I need to search for the words in string (document) by their similarity to examples. For example I have string "I love the container with no. SADB21235236" and I have ref in elastic "SREB125136767". Then I need to find S…

---

## [Transform "pipeline with id \[blah\] does not exist" & "user \[foo\] with effective roles \[\] (assigned roles \[bar\] were not found)"](https://discuss.elastic.co/t/transform-pipeline-with-id-blah-does-not-exist-user-foo-with-effective-roles-assigned-roles-bar-were-not-found/343046)

<div class="topic-metadata">

**Author:** [@Mark\_Duncan](https://discuss.elastic.co/u/Mark_Duncan)\
**Replies:** 0\
**Last updated:** [September 14, 2023, 11:14am UTC](https://discuss.elastic.co/t/transform-pipeline-with-id-blah-does-not-exist-user-foo-with-effective-roles-assigned-roles-bar-were-not-found/343046 "2023-09-14T11:14:14Z")

</div>

We have updated to ELK 8.9.1, and have had a few transforms now stop with this error, "Transform "pipeline with id \[blah\] does not exist". The pipeline does indeed exist, and we can stop/start the transform again, after …

---

## [Disable fuzzy match ion matchquery on search and return only desired set of fields in response](https://discuss.elastic.co/t/disable-fuzzy-match-ion-matchquery-on-search-and-return-only-desired-set-of-fields-in-response/343030)

<div class="topic-metadata">

**Author:** [@Tukaram](https://discuss.elastic.co/u/Tukaram)\
**Replies:** 4\
**Last updated:** [September 14, 2023, 11:04am UTC](https://discuss.elastic.co/t/disable-fuzzy-match-ion-matchquery-on-search-and-return-only-desired-set-of-fields-in-response/343030 "2023-09-14T11:04:42Z")

</div>

1- In elastic java rest client, How I can disable the fuzzy match? with below source builder, I need only properly matching records. if I give 456-ABC, it should not return anything. if I give just ABC or 123-ABC, it s…

---

## [\[es 5.6.8\] How to tanslate this postgre sql to es ver -- order by count(id) over (partition by org\_name, visit\_datetime) desc](https://discuss.elastic.co/t/es-5-6-8-how-to-tanslate-this-postgre-sql-to-es-ver-order-by-count-id-over-partition-by-org-name-visit-datetime-desc/343042)

<div class="topic-metadata">

**Author:** [@vvneedspeed](https://discuss.elastic.co/u/vvneedspeed)\
**Replies:** 0\
**Last updated:** [September 14, 2023, 10:25am UTC](https://discuss.elastic.co/t/es-5-6-8-how-to-tanslate-this-postgre-sql-to-es-ver-order-by-count-id-over-partition-by-org-name-visit-datetime-desc/343042 "2023-09-14T10:25:57Z")

</div>

Hi there, I'm stuck. How to tanslate this postgre sql to Elasticsearch ver? The Elasticsearch is 5.6.8, but the solution with higher version is also welcome! select user\_name from tablea order by count(meid) over (p…

---

## [Could not initialize class org.elasticsearch.ElasticsearchException 	at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2695) ~\[elasticsearch-rest-high-level-client-7.17.10.jar:7.17.10\]](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-elasticsearchexception-at-org-elasticsearch-client-resthighlevelclient-performclientrequest-resthighlevelclient-java-2695-elasticsearch-rest-high-level-client-7-17-10-jar-7-17-10/343007)

<div class="topic-metadata">

**Author:** [@Vishal\_Yadav2](https://discuss.elastic.co/u/Vishal_Yadav2)\
**Replies:** 1\
**Last updated:** [September 14, 2023, 10:04am UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-elasticsearchexception-at-org-elasticsearch-client-resthighlevelclient-performclientrequest-resthighlevelclient-java-2695-elasticsearch-rest-high-level-client-7-17-10-jar-7-17-10/343007 "2023-09-14T10:04:20Z")

</div>

I have an Elasticsearch exception I have created a simple API where I am using the reactive mongo repository to find the data from the DB and I am trying to send this data to Elasticsearch which save operation one by one…

---

## [Index size and doc\_count of a customer or field filter](https://discuss.elastic.co/t/index-size-and-doc-count-of-a-customer-or-field-filter/343025)

<div class="topic-metadata">

**Author:** [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Replies:** 0\
**Last updated:** [September 14, 2023, 8:05am UTC](https://discuss.elastic.co/t/index-size-and-doc-count-of-a-customer-or-field-filter/343025 "2023-09-14T08:05:24Z")

</div>

Hi, i have one index where i store documents from different customerid differentiated but a customerid field. I want to know how many documents and storage size each customer is consuming in my index, I can see this for…

---

## [Installing Elasticsearch Error](https://discuss.elastic.co/t/installing-elasticsearch-error/342976)

<div class="topic-metadata">

**Author:** [@heureux](https://discuss.elastic.co/u/heureux)\
**Replies:** 2\
**Last updated:** [September 14, 2023, 6:56am UTC](https://discuss.elastic.co/t/installing-elasticsearch-error/342976 "2023-09-14T06:56:38Z")

</div>

Hi, By executing the command: ./bin/elasticsearch I have this error: \< \[ERROR\]\[o.e.b.Elasticsearch \] \[wazuh-server\] fatal exception while booting Elasticsearchjava.lang.RuntimeException: can not run elasticsearc…

---

## [The Elasticsearch process is experiencing rapid memory growth in the older generation](https://discuss.elastic.co/t/the-elasticsearch-process-is-experiencing-rapid-memory-growth-in-the-older-generation/343013)

<div class="topic-metadata">

**Author:** [@liguifa](https://discuss.elastic.co/u/liguifa)\
**Replies:** 5\
**Last updated:** [September 14, 2023, 6:46am UTC](https://discuss.elastic.co/t/the-elasticsearch-process-is-experiencing-rapid-memory-growth-in-the-older-generation/343013 "2023-09-14T06:46:43Z")

</div>

As shown in the above figure, my Elasticsearch cluster has experienced rapid memory growth in its old age, and after a period of time, it will be reclaimed, which will also occupy a large amount of memory. How should …

---

## [What is the best way to detect inconsistency between elasticsearch with another authorized data store](https://discuss.elastic.co/t/what-is-the-best-way-to-detect-inconsistency-between-elasticsearch-with-another-authorized-data-store/343009)

<div class="topic-metadata">

**Author:** [@zouyang](https://discuss.elastic.co/u/zouyang)\
**Replies:** 0\
**Last updated:** [September 14, 2023, 5:11am UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-detect-inconsistency-between-elasticsearch-with-another-authorized-data-store/343009 "2023-09-14T05:11:37Z")

</div>

Hi, Our system uses dynamoDB as the data store and sync the data to elasticsearch with kafka. In case there are any data loss due to the failure of any part of the system, we would have inconsistency between dynamo and…

---

## [How are you supposed to use downsampled TSDS data?](https://discuss.elastic.co/t/how-are-you-supposed-to-use-downsampled-tsds-data/342643)

<div class="topic-metadata">

**Author:** [@jerrac](https://discuss.elastic.co/u/jerrac)\
**Replies:** 2\
**Last updated:** [September 13, 2023, 5:39pm UTC](https://discuss.elastic.co/t/how-are-you-supposed-to-use-downsampled-tsds-data/342643 "2023-09-13T17:39:43Z")

</div>

Hey all, yet another topic here related to my efforts at reducing ELK's footprint. This time I'm trying to figure out downsampling. I've successfully configured my dev environment to downsample data. I have downsample\* …

---

## [Top n over Max() aggregation with group by and then return all fields](https://discuss.elastic.co/t/top-n-over-max-aggregation-with-group-by-and-then-return-all-fields/342954)

<div class="topic-metadata">

**Author:** [@aakashagrawal](https://discuss.elastic.co/u/aakashagrawal)\
**Replies:** 1\
**Last updated:** [September 13, 2023, 4:24pm UTC](https://discuss.elastic.co/t/top-n-over-max-aggregation-with-group-by-and-then-return-all-fields/342954 "2023-09-13T16:24:56Z")

</div>

Hi, I'm a total newbie to Elasticsearch and hence please ignore if you think my question is very basic. I've already looked at this post which solves one part of my problem: What I want is only top n (say top 2) resu…

---

## [A query builder java library for parsing web query into an elastic client Query object](https://discuss.elastic.co/t/a-query-builder-java-library-for-parsing-web-query-into-an-elastic-client-query-object/342958)

<div class="topic-metadata">

**Author:** [@Jim\_Song](https://discuss.elastic.co/u/Jim_Song)\
**Replies:** 1\
**Last updated:** [September 13, 2023, 3:28pm UTC](https://discuss.elastic.co/t/a-query-builder-java-library-for-parsing-web-query-into-an-elastic-client-query-object/342958 "2023-09-13T15:28:32Z")

</div>

I am building an elastic client Java application that users will enter a search query from the browser. I am looking for an open source Java library that can take the user inputs and parse them into an elasticsearch clie…

---

## [How to delete the records older than certain time using elastic java rest client](https://discuss.elastic.co/t/how-to-delete-the-records-older-than-certain-time-using-elastic-java-rest-client/342960)

<div class="topic-metadata">

**Author:** [@Tukaram](https://discuss.elastic.co/u/Tukaram)\
**Replies:** 1\
**Last updated:** [September 13, 2023, 3:27pm UTC](https://discuss.elastic.co/t/how-to-delete-the-records-older-than-certain-time-using-elastic-java-rest-client/342960 "2023-09-13T15:27:18Z")

</div>

Hi, I am looking to delete all the records older than 1 month or so(in bulk). How to get this done using java restclient.

---

## [Want to figure that how the mapping of an index gets changed on one env](https://discuss.elastic.co/t/want-to-figure-that-how-the-mapping-of-an-index-gets-changed-on-one-env/342934)

<div class="topic-metadata">

**Author:** [@Mansi\_Ghule](https://discuss.elastic.co/u/Mansi_Ghule)\
**Replies:** 7\
**Last updated:** [September 13, 2023, 12:53pm UTC](https://discuss.elastic.co/t/want-to-figure-that-how-the-mapping-of-an-index-gets-changed-on-one-env/342934 "2023-09-13T12:53:29Z")

</div>

Hello, I want to figure out that is there any chances that the mapping of the index may change. As the ES queries n all was running fine on one env but sudden I'm getting error while searching. And I checked that and …

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

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