# Elasticsearch

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

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

**Page:** 113

---

## [Boolean query (should match) performance degradation after upgrading to 8.13.2 (from 8.7.1)](https://discuss.elastic.co/t/boolean-query-should-match-performance-degradation-after-upgrading-to-8-13-2-from-8-7-1/359373)

<div class="topic-metadata">

**Author:** [@shimpeko](https://discuss.elastic.co/u/shimpeko)\
**Replies:** 4\
**Last updated:** [May 15, 2024, 6:53am UTC](https://discuss.elastic.co/t/boolean-query-should-match-performance-degradation-after-upgrading-to-8-13-2-from-8-7-1/359373 "2024-05-15T06:53:40Z")

</div>

After upgrading from 8.7.1 to 8.13.2, some of our queries got slower. After digging, I've identified that a simple boolean query is getting slower on 8.13.2. It seems create\_weight step is taking about 5x duration as yo…

---

## [ElasticSearch docker swarm unreachable](https://discuss.elastic.co/t/elasticsearch-docker-swarm-unreachable/359485)

<div class="topic-metadata">

**Author:** [@Boodle](https://discuss.elastic.co/u/Boodle)\
**Replies:** 3\
**Last updated:** [May 14, 2024, 7:26pm UTC](https://discuss.elastic.co/t/elasticsearch-docker-swarm-unreachable/359485 "2024-05-14T19:26:54Z")

</div>

We have 3 cluster node elasticsearch setup via docker-compose in a swarm with node 01 as manager and 02 and 03 as worker nodes. I left the worker nodes 02 & 03 using docker swarm leave & node 01, It gave me an alert "y…

---

## [Is there anyone can be fix issue](https://discuss.elastic.co/t/is-there-anyone-can-be-fix-issue/359488)

<div class="topic-metadata">

**Author:** [@koae](https://discuss.elastic.co/u/koae)\
**Replies:** 1\
**Last updated:** [May 14, 2024, 7:12pm UTC](https://discuss.elastic.co/t/is-there-anyone-can-be-fix-issue/359488 "2024-05-14T19:12:18Z")

</div>

\[2024-05-15T02:04:32,499\]\[INFO \]\[logstash.outputs.opensearch\]\[main\] Cluster version determined (2.11.0) {:version=\>2} \[2024-05-15T02:04:32,734\]\[INFO \]\[logstash.outputs.opensearch\]\[main\] Using a default mapping template {…

---

## [Elastic Search Internals](https://discuss.elastic.co/t/elastic-search-internals/359470)

<div class="topic-metadata">

**Author:** [@chotukv](https://discuss.elastic.co/u/chotukv)\
**Replies:** 4\
**Last updated:** [May 14, 2024, 5:44pm UTC](https://discuss.elastic.co/t/elastic-search-internals/359470 "2024-05-14T17:44:17Z")

</div>

Can anyone point me out to any advanced course or research paper that dives deep into Elastic Search internals and how the architecture works internally in ES?

---

## [Kv processor and dynamic mapping](https://discuss.elastic.co/t/kv-processor-and-dynamic-mapping/359481)

<div class="topic-metadata">

**Author:** [@Kosmodrom](https://discuss.elastic.co/u/Kosmodrom)\
**Replies:** 0\
**Last updated:** [May 14, 2024, 3:18pm UTC](https://discuss.elastic.co/t/kv-processor-and-dynamic-mapping/359481 "2024-05-14T15:18:02Z")

</div>

Hi, when I apply kv processor to an event all fields that are created from this are mapped as type keyword. Usually for example numbers are dynamically mapped as numbers by Elastic. Can it be that the kv processor beh…

---

## [Elastic Machine Learning need GPU?](https://discuss.elastic.co/t/elastic-machine-learning-need-gpu/359471)

<div class="topic-metadata">

**Author:** [@S\_n\_Ngo\_Hoang](https://discuss.elastic.co/u/S_n_Ngo_Hoang)\
**Replies:** 4\
**Last updated:** [May 14, 2024, 3:14pm UTC](https://discuss.elastic.co/t/elastic-machine-learning-need-gpu/359471 "2024-05-14T15:14:02Z")

</div>

Hello everyone, I want to ask about the resources to use when running Elastic Machine Learning. Will Elastic's ML feature when I deploy on-premises require a GPU? Or do I just need CPU and RAM?

---

## [Percolate Knn queries](https://discuss.elastic.co/t/percolate-knn-queries/359070)

<div class="topic-metadata">

**Author:** [@edwineve](https://discuss.elastic.co/u/edwineve)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 1:45pm UTC](https://discuss.elastic.co/t/percolate-knn-queries/359070 "2024-05-14T13:45:43Z")

</div>

When you try to percolate a knn query, it currently is not supported: "the \[knn\] query is unsupported inside a percolator query" It would be great to have this functionality. I do understand a vector query matches every…

---

## [Fetching data from ElasticSearch Data Node removed from cluster](https://discuss.elastic.co/t/fetching-data-from-elasticsearch-data-node-removed-from-cluster/359337)

<div class="topic-metadata">

**Author:** [@Amit\_Shukla](https://discuss.elastic.co/u/Amit_Shukla)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 10:13am UTC](https://discuss.elastic.co/t/fetching-data-from-elasticsearch-data-node-removed-from-cluster/359337 "2024-05-14T10:13:19Z")

</div>

I am dealing with a scenario where i need to access data from Elasticsearch Data node which is not part of cluster. Here is complete scenario: Elasticsearch cluster with 5 data node, 3 master node is running in health…

---

## [Understanding Memory Discrepancy in Elasticsearch](https://discuss.elastic.co/t/understanding-memory-discrepancy-in-elasticsearch/359295)

<div class="topic-metadata">

**Author:** [@524186aa](https://discuss.elastic.co/u/524186aa)\
**Replies:** 4\
**Last updated:** [May 14, 2024, 9:35am UTC](https://discuss.elastic.co/t/understanding-memory-discrepancy-in-elasticsearch/359295 "2024-05-14T09:35:48Z")

</div>

Hi everyone, I'm relatively new to Elasticsearch and I'm encountering some issues with memory management. Specifically, I've noticed that Elasticsearch frequently triggers circuit breaking due to high JVM heap usage, pa…

---

## [Circuit break exception after upgrading from ES 7.16.2 to ES 8.11.4](https://discuss.elastic.co/t/circuit-break-exception-after-upgrading-from-es-7-16-2-to-es-8-11-4/359080)

<div class="topic-metadata">

**Author:** [@elaj](https://discuss.elastic.co/u/elaj)\
**Replies:** 4\
**Last updated:** [May 14, 2024, 7:53am UTC](https://discuss.elastic.co/t/circuit-break-exception-after-upgrading-from-es-7-16-2-to-es-8-11-4/359080 "2024-05-14T07:53:30Z")

</div>

Hello, After upgrading ES 7.16.2 --\> ES 8.11.4, search queries which were running fine on ES7 failed in ES8. This is unexpected for me, especially when a new cluster has better resources :thinking: The setup of data no…

---

## [Prepare the aggregation query according to the first occurence of the events](https://discuss.elastic.co/t/prepare-the-aggregation-query-according-to-the-first-occurence-of-the-events/359424)

<div class="topic-metadata">

**Author:** [@vish\_anand](https://discuss.elastic.co/u/vish_anand)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 5:16am UTC](https://discuss.elastic.co/t/prepare-the-aggregation-query-according-to-the-first-occurence-of-the-events/359424 "2024-05-14T05:16:41Z")

</div>

I have the the data of the access logs of the users in opensearch index, this data track the information of the users like at what time users access the door and got the arrival, but one user can swipe multiple time in a…

---

## [Datehistogram aggregation query using java api client](https://discuss.elastic.co/t/datehistogram-aggregation-query-using-java-api-client/359000)

<div class="topic-metadata">

**Author:** [@Rohini1](https://discuss.elastic.co/u/Rohini1)\
**Replies:** 5\
**Last updated:** [May 14, 2024, 5:20am UTC](https://discuss.elastic.co/t/datehistogram-aggregation-query-using-java-api-client/359000 "2024-05-14T05:20:11Z")

</div>

Need to convert this to java api client code "aggregations":{"dateHistogram":{"date\_histogram":{"field":"createTime","interval":"6h","offset":0,"order":{"\_key":"asc"},"keyed":false,"min\_doc\_count":0,"extended\_bounds":{"…

---

## [Need help in kibana plugin development project to know how to fetch json data object send from kibana coreStart http post method(Client Side) to kibana irouter post method (at server end)](https://discuss.elastic.co/t/need-help-in-kibana-plugin-development-project-to-know-how-to-fetch-json-data-object-send-from-kibana-corestart-http-post-method-client-side-to-kibana-irouter-post-method-at-server-end/359309)

<div class="topic-metadata">

**Author:** [@Sunil\_Jagtap](https://discuss.elastic.co/u/Sunil_Jagtap)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 3:38am UTC](https://discuss.elastic.co/t/need-help-in-kibana-plugin-development-project-to-know-how-to-fetch-json-data-object-send-from-kibana-corestart-http-post-method-client-side-to-kibana-irouter-post-method-at-server-end/359309 "2024-05-14T03:38:47Z")

</div>

Trying to fetch JSON data sent from client (React JS) - kibana coreStart http post method(Client Side) to kibana irouter post method (at server end) My code looks like below : Client Side : const dataToSend = { t…

---

## [\[Elasticsearch .NET 8.13\] Manually mapping response to own data model](https://discuss.elastic.co/t/elasticsearch-net-8-13-manually-mapping-response-to-own-data-model/359416)

<div class="topic-metadata">

**Author:** [@hiilmiee](https://discuss.elastic.co/u/hiilmiee)\
**Replies:** 0\
**Last updated:** [May 13, 2024, 11:58pm UTC](https://discuss.elastic.co/t/elasticsearch-net-8-13-manually-mapping-response-to-own-data-model/359416 "2024-05-13T23:58:57Z")

</div>

Hi, are there any way for me to manually map data to my model ? for example my body got this { "\_index": "search-search-ntlm", "\_id": "ae7be893-6ced-4b0c-9230-b6bc168dcddd", "\_score": 1, "\_source": { "creati…

---

## [Convert the MongoDB query to Opensearch](https://discuss.elastic.co/t/convert-the-mongodb-query-to-opensearch/359402)

<div class="topic-metadata">

**Author:** [@vish\_anand](https://discuss.elastic.co/u/vish_anand)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 6:43pm UTC](https://discuss.elastic.co/t/convert-the-mongodb-query-to-opensearch/359402 "2024-05-13T18:43:20Z")

</div>

I have the aggregation query in mongoDB which is working properly. THis query finds the count of the users hour-wise but only consider the first arrival of the user. For example if user arrives at 11 AM and then again at…

---

## [Trouble Sorting by Geodistance in Elasticsearch with Nested Geo\_location Field](https://discuss.elastic.co/t/trouble-sorting-by-geodistance-in-elasticsearch-with-nested-geo-location-field/359366)

<div class="topic-metadata">

**Author:** [@Riad\_BENRABEH](https://discuss.elastic.co/u/Riad_BENRABEH)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 3:04pm UTC](https://discuss.elastic.co/t/trouble-sorting-by-geodistance-in-elasticsearch-with-nested-geo-location-field/359366 "2024-05-13T15:04:47Z")

</div>

Hello community! I'm encountering an issue with sorting by geodistance in Elasticsearch and could use some guidance. I have set up an index with a nested geo\_location field, and my intention is to sort the search result…

---

## [Java-Spring Boot org.elasticsearch.client.ResponseException: method \[PUT\], host \[http://localhost:9200\], URI \[/x\], status line \[HTTP/1.1 406 Not Acceptable\] {"error":"Content-Type header \[application/vnd.elasticsearch+json;compatible-with=8\] is not suppor](https://discuss.elastic.co/t/java-spring-boot-org-elasticsearch-client-responseexception-method-put-host-http-localhost-9200-uri-x-status-line-http-1-1-406-not-acceptable-error-content-type-header-application-vnd-elasticsearch-json-compatible-with-8-is-not-suppor/359372)

<div class="topic-metadata">

**Author:** [@fsk](https://discuss.elastic.co/u/fsk)\
**Replies:** 6\
**Last updated:** [May 13, 2024, 1:50pm UTC](https://discuss.elastic.co/t/java-spring-boot-org-elasticsearch-client-responseexception-method-put-host-http-localhost-9200-uri-x-status-line-http-1-1-406-not-acceptable-error-content-type-header-application-vnd-elasticsearch-json-compatible-with-8-is-not-suppor/359372 "2024-05-13T13:50:08Z")

</div>

Hello, I am developing a project using postgresql elasticsearch and spring boot. When i run my code, i get an error like below. Caused by: org.springframework.dao.DataAccessResourceFailureException: method \[PUT\], host …

---

## [Snapshot missing Exception- No snapshot information](https://discuss.elastic.co/t/snapshot-missing-exception-no-snapshot-information/358091)

<div class="topic-metadata">

**Author:** [@Anushree](https://discuss.elastic.co/u/Anushree)\
**Replies:** 3\
**Last updated:** [May 13, 2024, 1:38pm UTC](https://discuss.elastic.co/t/snapshot-missing-exception-no-snapshot-information/358091 "2024-05-13T13:38:02Z")

</div>

Each week, our automated system is scheduled to remove existing snapshots and upload new ones to the Azure blob storage containers. However, once the fresh snapshots are uploaded, the Kibana dashboard displays 'No snapsh…

---

## [Conditional Sorting based on specific field values](https://discuss.elastic.co/t/conditional-sorting-based-on-specific-field-values/359374)

<div class="topic-metadata">

**Author:** [@mpst-el](https://discuss.elastic.co/u/mpst-el)\
**Replies:** 0\
**Last updated:** [May 13, 2024, 11:55am UTC](https://discuss.elastic.co/t/conditional-sorting-based-on-specific-field-values/359374 "2024-05-13T11:55:09Z")

</div>

I am working on optimizing the sorting of our search results, especially the sorting by Name (A-Z), Name (Z-A). This is the relevant part of the mapping: "roles": { "type": "nested", "properties": { …

---

## [LLM tag retrieval](https://discuss.elastic.co/t/llm-tag-retrieval/359353)

<div class="topic-metadata">

**Author:** [@BILI](https://discuss.elastic.co/u/BILI)\
**Replies:** 7\
**Last updated:** [May 13, 2024, 11:27am UTC](https://discuss.elastic.co/t/llm-tag-retrieval/359353 "2024-05-13T11:27:32Z")

</div>

using LLM to anticipate in hackers attacks/ bottle necks /performance picks of monitored products.

---

## [Modify default scoring convention for multi field knn search to omit null values](https://discuss.elastic.co/t/modify-default-scoring-convention-for-multi-field-knn-search-to-omit-null-values/359287)

<div class="topic-metadata">

**Author:** [@tlandelin](https://discuss.elastic.co/u/tlandelin)\
**Replies:** 1\
**Last updated:** [May 13, 2024, 11:19am UTC](https://discuss.elastic.co/t/modify-default-scoring-convention-for-multi-field-knn-search-to-omit-null-values/359287 "2024-05-13T11:19:53Z")

</div>

Hi, With multi field knn search, the score is calculated, e.g. score = match\_boost \* match\_score + field1\_boost \* field1\_score + field2\_boost \* field2\_score If a document is missing the vector value for a field, the…

---

## [Named query performance degradation after upgrading to 8.13.2 (from 8.7.1)](https://discuss.elastic.co/t/named-query-performance-degradation-after-upgrading-to-8-13-2-from-8-7-1/359189)

<div class="topic-metadata">

**Author:** [@shimpeko](https://discuss.elastic.co/u/shimpeko)\
**Replies:** 3\
**Last updated:** [May 13, 2024, 11:17am UTC](https://discuss.elastic.co/t/named-query-performance-degradation-after-upgrading-to-8-13-2-from-8-7-1/359189 "2024-05-13T11:17:36Z")

</div>

Hello, After upgrading from 8.7.1 to 8.13.2, some of our queries are about 2x slower (longer response time). After digging, I've identified that the named query is causing the problem. Queries with "\_name" get about 2x …

---

## [The E5 multilingual optimized returns a python error. (self hosted?)](https://discuss.elastic.co/t/the-e5-multilingual-optimized-returns-a-python-error-self-hosted/356157)

<div class="topic-metadata">

**Author:** [@Chenko](https://discuss.elastic.co/u/Chenko)\
**Replies:** 3\
**Last updated:** [May 13, 2024, 11:03am UTC](https://discuss.elastic.co/t/the-e5-multilingual-optimized-returns-a-python-error-self-hosted/356157 "2024-05-13T11:03:31Z")

</div>

Hi, I am trying to run the E5 multilingual optimized model myself, as I feel this might be faster than running it through elastic that is in a docker container. I am running into the following issue: When loading in t…

---

## [Debug Logging In Elasticsearch](https://discuss.elastic.co/t/debug-logging-in-elasticsearch/359360)

<div class="topic-metadata">

**Author:** [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)\
**Replies:** 1\
**Last updated:** [May 13, 2024, 10:43am UTC](https://discuss.elastic.co/t/debug-logging-in-elasticsearch/359360 "2024-05-13T10:43:38Z")

</div>

Hi Team, We want to enable debugging or trace in Elasticsearch to capture client connection, capture the timings while user querying the indices. Is there anyway to possible these task. NOTE:- Here we are using NodeJS …

---

## [Getting number of indexed documents when there is a replica](https://discuss.elastic.co/t/getting-number-of-indexed-documents-when-there-is-a-replica/359333)

<div class="topic-metadata">

**Author:** [@hjazz6](https://discuss.elastic.co/u/hjazz6)\
**Replies:** 1\
**Last updated:** [May 13, 2024, 7:53am UTC](https://discuss.elastic.co/t/getting-number-of-indexed-documents-when-there-is-a-replica/359333 "2024-05-13T07:53:42Z")

</div>

Hi, I'm trying to calculate the indexing rate of my ES (version 8.8.0), and I've been using the API below to do that when I set replica = 0. GET \<index\_name\>/\_stats/indexing?filter\_path=indices.\*.total.indexing.index\_t…

---

## [Elasticsearch (ES), Filebeat, Logstash, and Kibana for backup and restore purposes](https://discuss.elastic.co/t/elasticsearch-es-filebeat-logstash-and-kibana-for-backup-and-restore-purposes/359346)

<div class="topic-metadata">

**Author:** [@Michael\_Mathan\_S](https://discuss.elastic.co/u/Michael_Mathan_S)\
**Replies:** 1\
**Last updated:** [May 13, 2024, 7:43am UTC](https://discuss.elastic.co/t/elasticsearch-es-filebeat-logstash-and-kibana-for-backup-and-restore-purposes/359346 "2024-05-13T07:43:53Z")

</div>

Could you clarify the following items for me? Could you please help me with this? We have been using Elasticsearch (ES), Filebeat, Logstash, and Kibana for backup and restore purposes. All components will run exclusive…

---

## [Sql span in .net framework application desktop](https://discuss.elastic.co/t/sql-span-in-net-framework-application-desktop/359327)

<div class="topic-metadata">

**Author:** [@Kirtash](https://discuss.elastic.co/u/Kirtash)\
**Replies:** 0\
**Last updated:** [May 12, 2024, 7:42pm UTC](https://discuss.elastic.co/t/sql-span-in-net-framework-application-desktop/359327 "2024-05-12T19:42:28Z")

</div>

Good morning, I have a desktop application in .net framework 4.8 and now I could create manual transactions with this configuration: Agent.Subscribe(New HttpDiagnosticsSubscriber()) Agent.Setup(New AgentComponents()) P…

---

## [Rescoring adds unexplained latency to queries](https://discuss.elastic.co/t/rescoring-adds-unexplained-latency-to-queries/359326)

<div class="topic-metadata">

**Author:** [@Nemphys](https://discuss.elastic.co/u/Nemphys)\
**Replies:** 0\
**Last updated:** [May 12, 2024, 6:57pm UTC](https://discuss.elastic.co/t/rescoring-adds-unexplained-latency-to-queries/359326 "2024-05-12T18:57:49Z")

</div>

I have created a custom rescorer, following the examples of QueryRescorer / ExampleRescorer. It works fine, but the latency added to the responses is much bigger than it seemingly should be. I am using a test query, wh…

---

## [Open AI Inference API specifying dimensions](https://discuss.elastic.co/t/open-ai-inference-api-specifying-dimensions/359324)

<div class="topic-metadata">

**Author:** [@Bartu\_Celasun](https://discuss.elastic.co/u/Bartu_Celasun)\
**Replies:** 0\
**Last updated:** [May 12, 2024, 2:49pm UTC](https://discuss.elastic.co/t/open-ai-inference-api-specifying-dimensions/359324 "2024-05-12T14:49:38Z")

</div>

So my question is about inference API's. Why there is no option to specify the dimensions. In my case I want to use text-embedding-large-3 with 1536 dimensions but when i try to create this. PUT \_inference/text\_embeddin…

---

## [Sending logs from ibm i to elsatic](https://discuss.elastic.co/t/sending-logs-from-ibm-i-to-elsatic/357854)

<div class="topic-metadata">

**Author:** [@itayber](https://discuss.elastic.co/u/itayber)\
**Replies:** 2\
**Last updated:** [May 12, 2024, 7:42am UTC](https://discuss.elastic.co/t/sending-logs-from-ibm-i-to-elsatic/357854 "2024-05-12T07:42:55Z")

</div>

hello guys, currently im sending logs of jobs from the ibm i system (as400) to elastic by converting the logs to txt files and using curl to send them, curl is part of pase environment witch is unix commands. as i h…

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

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