# Elasticsearch

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

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

**Page:** 385

---

## [Elastic query for where in](https://discuss.elastic.co/t/elastic-query-for-where-in/313104)

<div class="topic-metadata">

**Author:** [@Harrowmykel](https://discuss.elastic.co/u/Harrowmykel)\
**Replies:** 5\
**Last updated:** [August 28, 2022, 8:59pm UTC](https://discuss.elastic.co/t/elastic-query-for-where-in/313104 "2022-08-28T20:59:22Z")

</div>

Hello, Can someone give me the json query equivalent of the following MySQL query Select \* from Table where col1=q or col2=q where cat in (cat1, cat2, cat3) Basically I want to find "q" in index "Table" but restricted…

---

## [Add follower index error: "index\_not\_found\_exception"](https://discuss.elastic.co/t/add-follower-index-error-index-not-found-exception/313108)

<div class="topic-metadata">

**Author:** [@Zeus29](https://discuss.elastic.co/u/Zeus29)\
**Replies:** 0\
**Last updated:** [August 28, 2022, 7:36pm UTC](https://discuss.elastic.co/t/add-follower-index-error-index-not-found-exception/313108 "2022-08-28T19:36:05Z")

</div>

Hi, I have 2 elastic clusters (Cluster1 and Cluster2) and I am trying to configure a follower index in Cluster2 from a leader index of Cluster1. I have followed the next steps: Add Cluster1 as remote cluster in Clus…

---

## [Understanding Bool and Nested Query](https://discuss.elastic.co/t/understanding-bool-and-nested-query/313102)

<div class="topic-metadata">

**Author:** [@Aditya-Kumar-Sinha](https://discuss.elastic.co/u/Aditya-Kumar-Sinha)\
**Replies:** 0\
**Last updated:** [August 28, 2022, 5:20pm UTC](https://discuss.elastic.co/t/understanding-bool-and-nested-query/313102 "2022-08-28T17:20:44Z")

</div>

I want to understand both the queries how they are different "query": { "nested": { "path": "addresses", "query": { "bool": { "must\_not": \[ { "exists": { …

---

## [Is Docker Compose supported for a single node Elasticsearch setup?](https://discuss.elastic.co/t/is-docker-compose-supported-for-a-single-node-elasticsearch-setup/313071)

<div class="topic-metadata">

**Author:** [@wpm](https://discuss.elastic.co/u/wpm)\
**Replies:** 5\
**Last updated:** [August 28, 2022, 4:54pm UTC](https://discuss.elastic.co/t/is-docker-compose-supported-for-a-single-node-elasticsearch-setup/313071 "2022-08-28T16:54:52Z")

</div>

I'm new to Elasticstack and trying to set up a minimal development installation. I followed the instructions in Install Kibana With Docker and got what I needed. However, it seems silly to run multiple docker run comma…

---

## [Query with function](https://discuss.elastic.co/t/query-with-function/313096)

<div class="topic-metadata">

**Author:** [@avnere](https://discuss.elastic.co/u/avnere)\
**Replies:** 0\
**Last updated:** [August 28, 2022, 2:01pm UTC](https://discuss.elastic.co/t/query-with-function/313096 "2022-08-28T14:01:56Z")

</div>

Hi, I want to get data that answer functions: (X AND 3 == 1) Means get the documents that answer the function condition (AND 3 = 1), While X is the value from document. What is the best approach to implement it? Than…

---

## [How to change the jvm options config](https://discuss.elastic.co/t/how-to-change-the-jvm-options-config/313085)

<div class="topic-metadata">

**Author:** [@morad\_della3](https://discuss.elastic.co/u/morad_della3)\
**Replies:** 3\
**Last updated:** [August 28, 2022, 10:00am UTC](https://discuss.elastic.co/t/how-to-change-the-jvm-options-config/313085 "2022-08-28T10:00:33Z")

</div>

I want to decrease the ram of the consummation of elastic in the JVM options config how can I? ################################################################ ## IMPORTANT: JVM heap size ###############################…

---

## [Queries latency increased after upgrade to es7](https://discuss.elastic.co/t/queries-latency-increased-after-upgrade-to-es7/313006)

<div class="topic-metadata">

**Author:** [@Eylon\_Koren1](https://discuss.elastic.co/u/Eylon_Koren1)\
**Replies:** 1\
**Last updated:** [August 28, 2022, 8:59am UTC](https://discuss.elastic.co/t/queries-latency-increased-after-upgrade-to-es7/313006 "2022-08-28T08:59:13Z")

</div>

Hi! We upgraded our ES cluster from version 6.8 to 7.17.3, afterwards the query latency was increased (10 - 30 ms) for all different kind of queries. We expected for reducing the query latency after upgrade, because …

---

## [How does Elasticsearch indexes non-text fields](https://discuss.elastic.co/t/how-does-elasticsearch-indexes-non-text-fields/313072)

<div class="topic-metadata">

**Author:** [@ImranArif](https://discuss.elastic.co/u/ImranArif)\
**Replies:** 4\
**Last updated:** [August 28, 2022, 7:32am UTC](https://discuss.elastic.co/t/how-does-elasticsearch-indexes-non-text-fields/313072 "2022-08-28T07:32:21Z")

</div>

Hi, I understand that Elasticsearch analyzes text fields and saves the resulting tokens in an inverted index data structure. But I am a bit confused regarding how does Elasticsearch stores other fields, like integer, fl…

---

## [How to read csv files from another machine /server and How define path in logstash config file or in filebeat yml file?](https://discuss.elastic.co/t/how-to-read-csv-files-from-another-machine-server-and-how-define-path-in-logstash-config-file-or-in-filebeat-yml-file/313075)

<div class="topic-metadata">

**Author:** [@bbkunbi](https://discuss.elastic.co/u/bbkunbi)\
**Replies:** 0\
**Last updated:** [August 28, 2022, 6:12am UTC](https://discuss.elastic.co/t/how-to-read-csv-files-from-another-machine-server-and-how-define-path-in-logstash-config-file-or-in-filebeat-yml-file/313075 "2022-08-28T06:12:26Z")

</div>

input { file { path =\> "/home/bhaveshk/.\*csv" (How to define path here to read csv file from another machine/server) start\_position =\> "beginning" sincedb\_path =\> "/dev/null" }

---

## [Loop over inner\_hits within post\_filter via script](https://discuss.elastic.co/t/loop-over-inner-hits-within-post-filter-via-script/313044)

<div class="topic-metadata">

**Author:** [@Sumit\_Jha1](https://discuss.elastic.co/u/Sumit_Jha1)\
**Replies:** 3\
**Last updated:** [August 27, 2022, 1:27pm UTC](https://discuss.elastic.co/t/loop-over-inner-hits-within-post-filter-via-script/313044 "2022-08-27T13:27:38Z")

</div>

This is how the response looks like: { "hits" : { "hits" : \[ { "\_index" : "myindex", "\_type" : "\_doc", "\_id" : "7201e7f0-882f-4184-bdda-71302b8c28d3", "\_source" : {...}, …

---

## [Elasticsearch wont start after upgrade to 8.4 - repository-gcs issue](https://discuss.elastic.co/t/elasticsearch-wont-start-after-upgrade-to-8-4-repository-gcs-issue/313060)

<div class="topic-metadata">

**Author:** [@kribor1](https://discuss.elastic.co/u/kribor1)\
**Replies:** 1\
**Last updated:** [August 27, 2022, 10:23am UTC](https://discuss.elastic.co/t/elasticsearch-wont-start-after-upgrade-to-8-4-repository-gcs-issue/313060 "2022-08-27T10:23:01Z")

</div>

Hi, As I updated to 8.4 today one of my nodes (I have a 2-node cluster) now fails to start with the below stacktrace: Exception in thread "main" java.lang.IllegalArgumentException: Unknown properties for plugin \[reposi…

---

## [Add version for Mapping](https://discuss.elastic.co/t/add-version-for-mapping/313047)

<div class="topic-metadata">

**Author:** [@Ghassan\_Karwchan](https://discuss.elastic.co/u/Ghassan_Karwchan)\
**Replies:** 1\
**Last updated:** [August 27, 2022, 12:50am UTC](https://discuss.elastic.co/t/add-version-for-mapping/313047 "2022-08-27T00:50:13Z")

</div>

Hi. A newbie question. Can I add some kind of versioning for the mapping itself and not the document. So, it is not a property or attribute of the document being indexed, but the mapping itself. So, when I request th…

---

## [Highlight Html not indexed run time](https://discuss.elastic.co/t/highlight-html-not-indexed-run-time/313045)

<div class="topic-metadata">

**Author:** [@lixaotec](https://discuss.elastic.co/u/lixaotec)\
**Replies:** 0\
**Last updated:** [August 26, 2022, 7:25pm UTC](https://discuss.elastic.co/t/highlight-html-not-indexed-run-time/313045 "2022-08-26T19:25:18Z")

</div>

Dear fellows, Is it possible to 'somehow', tells elasticsearch to apply highlight to a html text , that is not indexed? I mean, suppose I store the html in a blob storage, and then wish to show it with an on-the-run hi…

---

## [Elasticsearch vector tile search point resolution](https://discuss.elastic.co/t/elasticsearch-vector-tile-search-point-resolution/312125)

<div class="topic-metadata">

**Author:** [@Charles\_Bodman](https://discuss.elastic.co/u/Charles_Bodman)\
**Replies:** 2\
**Last updated:** [August 26, 2022, 4:55pm UTC](https://discuss.elastic.co/t/elasticsearch-vector-tile-search-point-resolution/312125 "2022-08-26T16:55:22Z")

</div>

Hi there, We're currently developing a feature for a map project utilizing Elasticsearch vector tile search (MVT). Our feature is displaying individual document location points. (Points, not polygons). The problem we'…

---

## [Is it possible to suggester search with vector?](https://discuss.elastic.co/t/is-it-possible-to-suggester-search-with-vector/313030)

<div class="topic-metadata">

**Author:** [@dirkdiggler41](https://discuss.elastic.co/u/dirkdiggler41)\
**Replies:** 0\
**Last updated:** [August 26, 2022, 3:02pm UTC](https://discuss.elastic.co/t/is-it-possible-to-suggester-search-with-vector/313030 "2022-08-26T15:02:46Z")

</div>

Hi! I see that in version 8 there has been some improvement to the vector/knn search. So just wondering, is it possible to use it with the suggester search? Another thing, I assume that the suggester search is faster th…

---

## [\[elasticsearch 8.3\] Master node 'dies' once per week](https://discuss.elastic.co/t/elasticsearch-8-3-master-node-dies-once-per-week/311493)

<div class="topic-metadata">

**Author:** [@Roberto\_D\_Arco](https://discuss.elastic.co/u/Roberto_D_Arco)\
**Replies:** 10\
**Last updated:** [August 26, 2022, 12:53pm UTC](https://discuss.elastic.co/t/elasticsearch-8-3-master-node-dies-once-per-week/311493 "2022-08-26T12:53:28Z")

</div>

We have 2 very similar self managed cluster, staging and production, on AWS and on arm architecture (graviton2) and amazon linux 2 base image: 3 master nodes and 3 datanodes. In all instances we have installed monit that…

---

## [Elasticsearch pod is not running when enable security](https://discuss.elastic.co/t/elasticsearch-pod-is-not-running-when-enable-security/313018)

<div class="topic-metadata">

**Author:** [@amsmzn](https://discuss.elastic.co/u/amsmzn)\
**Replies:** 0\
**Last updated:** [August 26, 2022, 11:52am UTC](https://discuss.elastic.co/t/elasticsearch-pod-is-not-running-when-enable-security/313018 "2022-08-26T11:52:26Z")

</div>

Hi, How can i enable authentication in elasticsearch helm chart. When i am enabling xpack.security.enabled : true, elasicsearch pod begins to get failed. My kibana is exposed over https. Can anybody please guide my how …

---

## [Java High Level Rest Client - Mutli Search API Not working with Elasticsearch 8.3.2](https://discuss.elastic.co/t/java-high-level-rest-client-mutli-search-api-not-working-with-elasticsearch-8-3-2/310515)

<div class="topic-metadata">

**Author:** [@sheiks2m](https://discuss.elastic.co/u/sheiks2m)\
**Replies:** 4\
**Last updated:** [August 26, 2022, 9:15am UTC](https://discuss.elastic.co/t/java-high-level-rest-client-mutli-search-api-not-working-with-elasticsearch-8-3-2/310515 "2022-08-26T09:15:34Z")

</div>

HI, Im using Java High level rest client version 7.17.5. Multi Search API not working as expected. Please find the below code. SearchSourceBuilder metaDataSearch = new SearchSourceBuilder(); org.elasticsearch.a…

---

## [How to identify specific users who are submitting slowlog queries?](https://discuss.elastic.co/t/how-to-identify-specific-users-who-are-submitting-slowlog-queries/312120)

<div class="topic-metadata">

**Author:** [@Apprentice](https://discuss.elastic.co/u/Apprentice)\
**Replies:** 10\
**Last updated:** [August 26, 2022, 7:19am UTC](https://discuss.elastic.co/t/how-to-identify-specific-users-who-are-submitting-slowlog-queries/312120 "2022-08-26T07:19:50Z")

</div>

I'm trying to create a dashboard that can identify slow queries and the user who submitted them. Was wondering if there were any examples/guides I could follow online as I am a bit stumped on how to go about this (am a b…

---

## [Error while restore snapshot GCS](https://discuss.elastic.co/t/error-while-restore-snapshot-gcs/312968)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar\_Thungala](https://discuss.elastic.co/u/Kiran_Kumar_Thungala)\
**Replies:** 0\
**Last updated:** [August 25, 2022, 9:29pm UTC](https://discuss.elastic.co/t/error-while-restore-snapshot-gcs/312968 "2022-08-25T21:29:09Z")

</div>

Hi, I'm struggle trying to restore an index from a snapshot which was taken by SLM. The steps I've following are: We have snapshots which was taken as per SLM, i am trying to restore one of the snapshot: "backup" : { …

---

## [Elasticsearch tableau connection error](https://discuss.elastic.co/t/elasticsearch-tableau-connection-error/312985)

<div class="topic-metadata">

**Author:** [@vnaresh66temp5](https://discuss.elastic.co/u/vnaresh66temp5)\
**Replies:** 0\
**Last updated:** [August 26, 2022, 3:42am UTC](https://discuss.elastic.co/t/elasticsearch-tableau-connection-error/312985 "2022-08-26T03:42:41Z")

</div>

We are trying to connect to elasticsearch from tableau to do some BI stuff. We are planning to buy a platinum license. But before that, we would like to see how it works with tableau, elasticsearch I took a trail licens…

---

## [I'm getting jar hell when installing custom analyzer plugin](https://discuss.elastic.co/t/im-getting-jar-hell-when-installing-custom-analyzer-plugin/312978)

<div class="topic-metadata">

**Author:** [@slowup](https://discuss.elastic.co/u/slowup)\
**Replies:** 0\
**Last updated:** [August 26, 2022, 2:46am UTC](https://discuss.elastic.co/t/im-getting-jar-hell-when-installing-custom-analyzer-plugin/312978 "2022-08-26T02:46:34Z")

</div>

The following error is occurring So I deleted the lib in elasticsearch/lib, but if I delete it, another error occurs If I try to delete it from the java project, a code compilation error occurs, what should I do? grad…

---

## [Elasticsearch Platinum license](https://discuss.elastic.co/t/elasticsearch-platinum-license/312983)

<div class="topic-metadata">

**Author:** [@vnaresh66temp5](https://discuss.elastic.co/u/vnaresh66temp5)\
**Replies:** 1\
**Last updated:** [August 26, 2022, 3:32am UTC](https://discuss.elastic.co/t/elasticsearch-platinum-license/312983 "2022-08-26T03:32:11Z")

</div>

I am planning to buy an elasticsearch platinum license. We have three working environments, Dev, Uat, Prod. If I buy one elasticsearch platinum license, is it enough to use the same license on three environments or shou…

---

## [Filebeat how to set a custom indice](https://discuss.elastic.co/t/filebeat-how-to-set-a-custom-indice/312969)

<div class="topic-metadata">

**Author:** [@dimmthewitted1](https://discuss.elastic.co/u/dimmthewitted1)\
**Replies:** 2\
**Last updated:** [August 25, 2022, 11:13pm UTC](https://discuss.elastic.co/t/filebeat-how-to-set-a-custom-indice/312969 "2022-08-25T23:13:15Z")

</div>

I have never been more frustrated in a product than I am with the ELK stack. Its needlessly complicated, feels almost intentional as if to push people towards Fleet and Elastic Cloud. I have given up on the Apache inte…

---

## [Script score vector search performance](https://discuss.elastic.co/t/script-score-vector-search-performance/312341)

<div class="topic-metadata">

**Author:** [@zyyme](https://discuss.elastic.co/u/zyyme)\
**Replies:** 2\
**Last updated:** [August 25, 2022, 9:21pm UTC](https://discuss.elastic.co/t/script-score-vector-search-performance/312341 "2022-08-25T21:21:20Z")

</div>

Hello! I use Elasticsearch 7.14 and I have a mapping like this: { "mappings": { "properties": { "vector": { "type": "dense\_vector", "dims": 512 }, "category": { "type": "…

---

## [Elastic search match Query string query (blue OR red OR yellow) AND cake](https://discuss.elastic.co/t/elastic-search-match-query-string-query-blue-or-red-or-yellow-and-cake/312704)

<div class="topic-metadata">

**Author:** [@qub123](https://discuss.elastic.co/u/qub123)\
**Replies:** 4\
**Last updated:** [August 25, 2022, 8:13pm UTC](https://discuss.elastic.co/t/elastic-search-match-query-string-query-blue-or-red-or-yellow-and-cake/312704 "2022-08-25T20:13:27Z")

</div>

Hi, I am trying to create a query to request all the "cake" with blue or red or yellow color, and I guess the condition similar to (blue OR red OR yellow) AND cake. And I have look at the Elasticsearch Query String q…

---

## [We need a currency type in Elastic String validators and converters to currencies of other countries. We must store currency values in the native country currency and we need field validators to remove currency formatting characters](https://discuss.elastic.co/t/we-need-a-currency-type-in-elastic-string-validators-and-converters-to-currencies-of-other-countries-we-must-store-currency-values-in-the-native-country-currency-and-we-need-field-validators-to-remove-currency-formatting-characters/312965)

<div class="topic-metadata">

**Author:** [@jmkdev](https://discuss.elastic.co/u/jmkdev)\
**Replies:** 0\
**Last updated:** [August 25, 2022, 8:04pm UTC](https://discuss.elastic.co/t/we-need-a-currency-type-in-elastic-string-validators-and-converters-to-currencies-of-other-countries-we-must-store-currency-values-in-the-native-country-currency-and-we-need-field-validators-to-remove-currency-formatting-characters/312965 "2022-08-25T20:04:09Z")

</div>

Continuing the discussion from How to store currency datatype in elasticsearch?:

---

## [LDAP configuration for elastic](https://discuss.elastic.co/t/ldap-configuration-for-elastic/312874)

<div class="topic-metadata">

**Author:** [@irivas95](https://discuss.elastic.co/u/irivas95)\
**Replies:** 4\
**Last updated:** [August 25, 2022, 6:30pm UTC](https://discuss.elastic.co/t/ldap-configuration-for-elastic/312874 "2022-08-25T18:30:54Z")

</div>

Hi, I'm a bit new to security configurations that don't involve native realm. The case is that I would like to configure elasticsearch authentication with ldap and the configuration is not very clear about some things. …

---

## [Dynamic filter according to the presence of a field](https://discuss.elastic.co/t/dynamic-filter-according-to-the-presence-of-a-field/312944)

<div class="topic-metadata">

**Author:** [@arnoz](https://discuss.elastic.co/u/arnoz)\
**Replies:** 0\
**Last updated:** [August 25, 2022, 4:10pm UTC](https://discuss.elastic.co/t/dynamic-filter-according-to-the-presence-of-a-field/312944 "2022-08-25T16:10:55Z")

</div>

I have for example this type of documents. { "name": "sylvie dupont", "age": 25, "accounts": \[ { "name": "BankOfAmerica", "amount": 33 }, { "name": "GoldBank", "amount": 578 …

---

## [Failed to install template {:message=\>"Got response code '400' contacting Elasticsearch at URL](https://discuss.elastic.co/t/failed-to-install-template-message-got-response-code-400-contacting-elasticsearch-at-url/312939)

<div class="topic-metadata">

**Author:** [@Queren\_Santos](https://discuss.elastic.co/u/Queren_Santos)\
**Replies:** 0\
**Last updated:** [August 25, 2022, 3:05pm UTC](https://discuss.elastic.co/t/failed-to-install-template-message-got-response-code-400-contacting-elasticsearch-at-url/312939 "2022-08-25T15:05:48Z")

</div>

Can anyone help? My template in Elasticsearch is ready, but Logstash does not send the index to which it is already created: ERROR\]\[logstash.outputs.elasticsearch\]\[main\] Failed to install template {:message=\>"Got respon…

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

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