# Elasticsearch

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

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

**Page:** 210

---

## [Problems with homebrew installation](https://discuss.elastic.co/t/problems-with-homebrew-installation/341132)

<div class="topic-metadata">

**Author:** [@dpa](https://discuss.elastic.co/u/dpa)\
**Replies:** 2\
**Last updated:** [August 26, 2023, 11:33am UTC](https://discuss.elastic.co/t/problems-with-homebrew-installation/341132 "2023-08-26T11:33:41Z")

</div>

I tried to follow the basic instructions here: Install Elasticsearch on macOS with Homebrew | Elasticsearch Guide \[7.17\] | Elastic but they don't work brew tap elastic/tap - works fine but brew install elastic/tap/ela…

---

## [How to calculate score after filter in Elasticsearch](https://discuss.elastic.co/t/how-to-calculate-score-after-filter-in-elasticsearch/341733)

<div class="topic-metadata">

**Author:** [@at\_ohn](https://discuss.elastic.co/u/at_ohn)\
**Replies:** 0\
**Last updated:** [August 26, 2023, 9:13am UTC](https://discuss.elastic.co/t/how-to-calculate-score-after-filter-in-elasticsearch/341733 "2023-08-26T09:13:54Z")

</div>

Does anyone know how we can get the score to be calculated AFTER the filter is applied? Rescoring doesn't help too because it still takes into account all documents in the index. I need a score that is independent of the…

---

## [Keyword case insensitive search with non-ascii](https://discuss.elastic.co/t/keyword-case-insensitive-search-with-non-ascii/341460)

<div class="topic-metadata">

**Author:** [@Volodymyr\_Kovtun](https://discuss.elastic.co/u/Volodymyr_Kovtun)\
**Replies:** 5\
**Last updated:** [August 26, 2023, 7:49am UTC](https://discuss.elastic.co/t/keyword-case-insensitive-search-with-non-ascii/341460 "2023-08-26T07:49:13Z")

</div>

Hi Could you please clarify if it is possible to have case-insensitive term.keyword search with non-ascii symbols? It seems not to work. Here is the example: Indexing 4 documents (2 ascii and 2 non-ascii) \>\>\> es.in…

---

## [Slack Integration with ELK stack](https://discuss.elastic.co/t/slack-integration-with-elk-stack/340657)

<div class="topic-metadata">

**Author:** [@sanjeev1895](https://discuss.elastic.co/u/sanjeev1895)\
**Replies:** 10\
**Last updated:** [August 26, 2023, 2:02am UTC](https://discuss.elastic.co/t/slack-integration-with-elk-stack/340657 "2023-08-26T02:02:40Z")

</div>

Hi I have installed the ELK Stack 8.9.0 in AWS Ubuntu Instance. I was configured the elk stack and it's working fine. So, I want to integrate the slack with elk stack and send the alert to slack channel if any 500 statu…

---

## [Native IntegerRange type in Elastic.Clients (8.9) does not serialize correctly](https://discuss.elastic.co/t/native-integerrange-type-in-elastic-clients-8-9-does-not-serialize-correctly/341581)

<div class="topic-metadata">

**Author:** [@Mathemaphysics](https://discuss.elastic.co/u/Mathemaphysics)\
**Replies:** 0\
**Last updated:** [August 24, 2023, 2:26pm UTC](https://discuss.elastic.co/t/native-integerrange-type-in-elastic-clients-8-9-does-not-serialize-correctly/341581 "2023-08-24T14:26:47Z")

</div>

When I use IntegerRange it does not serialize to fields named gt, gte, lt, and lte. I have an index template which sends my field item\_index\_range to an explicit integer\_range type. I shouldn't need to do any mapping at…

---

## [Composable Index template with java REST](https://discuss.elastic.co/t/composable-index-template-with-java-rest/341634)

<div class="topic-metadata">

**Author:** [@linkerc](https://discuss.elastic.co/u/linkerc)\
**Replies:** 1\
**Last updated:** [August 25, 2023, 5:25pm UTC](https://discuss.elastic.co/t/composable-index-template-with-java-rest/341634 "2023-08-25T17:25:28Z")

</div>

I'm running 7.15 so it's not the latest binary code. How do I add sorting index in setting? I'm getting invalid sort order error. It seems composable index only takes builder for settings; therefore, I convert all v…

---

## [Security Attributes for Elastic-Operator](https://discuss.elastic.co/t/security-attributes-for-elastic-operator/341710)

<div class="topic-metadata">

**Author:** [@3rk1n](https://discuss.elastic.co/u/3rk1n)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 5:12pm UTC](https://discuss.elastic.co/t/security-attributes-for-elastic-operator/341710 "2023-08-25T17:12:45Z")

</div>

Hi, I want to close security recommendations for Kubernetes Cluster in Microsoft Defender for Cloud. One of them is "Kubernetes clusters should disable automounting API credentials" and it can be solved by added "autom…

---

## [Is it possible to disable HTTP Options method in Elastic Search v7.5?](https://discuss.elastic.co/t/is-it-possible-to-disable-http-options-method-in-elastic-search-v7-5/341700)

<div class="topic-metadata">

**Author:** [@James\_Brown2](https://discuss.elastic.co/u/James_Brown2)\
**Replies:** 1\
**Last updated:** [August 25, 2023, 5:00pm UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-http-options-method-in-elastic-search-v7-5/341700 "2023-08-25T17:00:41Z")

</div>

Hi there, Does anyone know is it possible to disabled HTTP Options method in Elastic Search v7.5? and if it is safe to do so without affecting Elastic Search functionality? Many thanks, James

---

## [Challenges of Indexing Large Arrays with Thousands of Fields in ELK Stack for Search Engine Development with Sailsjs](https://discuss.elastic.co/t/challenges-of-indexing-large-arrays-with-thousands-of-fields-in-elk-stack-for-search-engine-development-with-sailsjs/341705)

<div class="topic-metadata">

**Author:** [@priyanshu-kun](https://discuss.elastic.co/u/priyanshu-kun)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 3:52pm UTC](https://discuss.elastic.co/t/challenges-of-indexing-large-arrays-with-thousands-of-fields-in-elk-stack-for-search-engine-development-with-sailsjs/341705 "2023-08-25T15:52:42Z")

</div>

I new to ELK stack and I want to index an array of object and each object have over 3000 fields for building a search engine using sailsjs. I tried lot of way and dig through the web but I cannot able to find the solutio…

---

## [Entreprise Elastic license](https://discuss.elastic.co/t/entreprise-elastic-license/341665)

<div class="topic-metadata">

**Author:** [@Manal\_A](https://discuss.elastic.co/u/Manal_A)\
**Replies:** 3\
**Last updated:** [August 25, 2023, 2:34pm UTC](https://discuss.elastic.co/t/entreprise-elastic-license/341665 "2023-08-25T14:34:32Z")

</div>

Does the enterprise license of Elastic depend on the basic system resource configuration or on the scalability ?

---

## [Use custom analyzer in search query on selected fields only](https://discuss.elastic.co/t/use-custom-analyzer-in-search-query-on-selected-fields-only/341693)

<div class="topic-metadata">

**Author:** [@aniket\_mandhare](https://discuss.elastic.co/u/aniket_mandhare)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 1:25pm UTC](https://discuss.elastic.co/t/use-custom-analyzer-in-search-query-on-selected-fields-only/341693 "2023-08-25T13:25:23Z")

</div>

I want to apply a custom analyzer to selected fields only in a search query without having to modify the field mappings. And also don't want to add subfield while mapping.

---

## [Unable to connect Kibana to Elasticsearch](https://discuss.elastic.co/t/unable-to-connect-kibana-to-elasticsearch/341646)

<div class="topic-metadata">

**Author:** [@ANUBHAV\_GUPTA](https://discuss.elastic.co/u/ANUBHAV_GUPTA)\
**Replies:** 5\
**Last updated:** [August 25, 2023, 1:14pm UTC](https://discuss.elastic.co/t/unable-to-connect-kibana-to-elasticsearch/341646 "2023-08-25T13:14:29Z")

</div>

Hi there, I am having an ES cluster running with the following config, with self signed certificates:- sudo docker run -it --privileged -p 9200:9200 -p 9300:9300 -e discovery.type=multi-node -e "cluster.name=my-elasti…

---

## [Elasticsearch nodes RED](https://discuss.elastic.co/t/elasticsearch-nodes-red/341638)

<div class="topic-metadata">

**Author:** [@d6036de2b54af16665f4](https://discuss.elastic.co/u/d6036de2b54af16665f4)\
**Replies:** 1\
**Last updated:** [August 25, 2023, 12:55pm UTC](https://discuss.elastic.co/t/elasticsearch-nodes-red/341638 "2023-08-25T12:55:22Z")

</div>

HI, On Elasticsearch Status is Showing as RED. With GET \_cat/allocation/?v Command i tried to check which nodes has no shards Allocated but it not giving that information like which node has 0 shards allocated. That's…

---

## [Handle specific type of ElasticsearchException](https://discuss.elastic.co/t/handle-specific-type-of-elasticsearchexception/341669)

<div class="topic-metadata">

**Author:** [@Raghunandan](https://discuss.elastic.co/u/Raghunandan)\
**Replies:** 3\
**Last updated:** [August 25, 2023, 11:52am UTC](https://discuss.elastic.co/t/handle-specific-type-of-elasticsearchexception/341669 "2023-08-25T11:52:58Z")

</div>

Hi Team, We are facing a very rare scenario, in our cluster deployment we have used dependent services in which the ES repository bean which creates an index is autowired in other service bean, so on startup index creat…

---

## [Using scripted field in search query](https://discuss.elastic.co/t/using-scripted-field-in-search-query/341682)

<div class="topic-metadata">

**Author:** [@yuswanul](https://discuss.elastic.co/u/yuswanul)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 11:36am UTC](https://discuss.elastic.co/t/using-scripted-field-in-search-query/341682 "2023-08-25T11:36:03Z")

</div>

hi there i have a question here. so for example I already made a scripted field with the name "api\_key" and I want include that field in my search query like http.code: 403 AND NOT api\_key: unknown I already included t…

---

## [How create a alert when logstash node goes down in a cluster? please help me how to do it](https://discuss.elastic.co/t/how-create-a-alert-when-logstash-node-goes-down-in-a-cluster-please-help-me-how-to-do-it/341676)

<div class="topic-metadata">

**Author:** [@mahesh\_sadhanagiri](https://discuss.elastic.co/u/mahesh_sadhanagiri)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 10:34am UTC](https://discuss.elastic.co/t/how-create-a-alert-when-logstash-node-goes-down-in-a-cluster-please-help-me-how-to-do-it/341676 "2023-08-25T10:34:50Z")

</div>

I have a cluster with 3 logstash nodes. I want to create an alert to triiger if any of the Logstash node goes down.

---

## [Using multi-term aggregation on rollup jobs](https://discuss.elastic.co/t/using-multi-term-aggregation-on-rollup-jobs/341674)

<div class="topic-metadata">

**Author:** [@hjazz6](https://discuss.elastic.co/u/hjazz6)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 10:03am UTC](https://discuss.elastic.co/t/using-multi-term-aggregation-on-rollup-jobs/341674 "2023-08-25T10:03:38Z")

</div>

Hi, Can I use multi-term aggregation on rollup jobs? My goal is to save disk space on older data, which has 6 fields (say, Field1 to Field6). After the rollup, I would like to query for the presence of records with the…

---

## [Huge disk read count when MapperParsingException](https://discuss.elastic.co/t/huge-disk-read-count-when-mapperparsingexception/341673)

<div class="topic-metadata">

**Author:** [@ShanYang](https://discuss.elastic.co/u/ShanYang)\
**Replies:** 1\
**Last updated:** [August 25, 2023, 9:41am UTC](https://discuss.elastic.co/t/huge-disk-read-count-when-mapperparsingexception/341673 "2023-08-25T09:41:52Z")

</div>

I found that the indexing efficiency of the entire cluster gradually decreased with each passing day. After checking the size of all the indices, I didn't find any abnormalities. However, at the same time, I noticed an…

---

## [Rally op\_metrics throughput is null](https://discuss.elastic.co/t/rally-op-metrics-throughput-is-null/341667)

<div class="topic-metadata">

**Author:** [@hyt](https://discuss.elastic.co/u/hyt)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 8:48am UTC](https://discuss.elastic.co/t/rally-op-metrics-throughput-is-null/341667 "2023-08-25T08:48:44Z")

</div>

es: 7.17.9 rally: 2.6.0 and 2.8.0 python: 3.8 cmd: esrally race --track=http\_logs --target-hosts=172.20.236.173:9200 --pipeline=benchmark-only --kill-running-processes --track-params=rally\_params.json --offline trac…

---

## [Elasticsearch being open source](https://discuss.elastic.co/t/elasticsearch-being-open-source/341632)

<div class="topic-metadata">

**Author:** [@JasonGoldman](https://discuss.elastic.co/u/JasonGoldman)\
**Replies:** 1\
**Last updated:** [August 25, 2023, 7:56am UTC](https://discuss.elastic.co/t/elasticsearch-being-open-source/341632 "2023-08-25T07:56:31Z")

</div>

The GitHub repository of Elasticsearch and Elastic's website should not be afraid to call Elasticsearch "open source". The upcoming release of the Open Source Definition (v1.11) will acknowledge that Server Side Public L…

---

## [Comparing disk usage on ES with different configurations](https://discuss.elastic.co/t/comparing-disk-usage-on-es-with-different-configurations/341655)

<div class="topic-metadata">

**Author:** [@hjazz6](https://discuss.elastic.co/u/hjazz6)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 7:15am UTC](https://discuss.elastic.co/t/comparing-disk-usage-on-es-with-different-configurations/341655 "2023-08-25T07:15:30Z")

</div>

Hi, I'm trying to optimize the disk usage on my Elasticsearch (version 8.8), and I want to see how much disk space was used (saved) after configuring different things, e.g. dynamic vs static mapping, default compression…

---

## [How to integrate Elasticsearch (8.x) with Nest.js](https://discuss.elastic.co/t/how-to-integrate-elasticsearch-8-x-with-nest-js/341166)

<div class="topic-metadata">

**Author:** [@inkweon7269](https://discuss.elastic.co/u/inkweon7269)\
**Replies:** 3\
**Last updated:** [August 25, 2023, 6:09am UTC](https://discuss.elastic.co/t/how-to-integrate-elasticsearch-8-x-with-nest-js/341166 "2023-08-25T06:09:16Z")

</div>

I have a question about connecting Elasticsearch with Nest.js. When I make an API call to Elasticsearch, it works fine. In Nest.js, I've written the code as follows. search.module.ts import { Module } from '@nestj…

---

## [Does pre-filtered approximate kNN still need entire data in memory?](https://discuss.elastic.co/t/does-pre-filtered-approximate-knn-still-need-entire-data-in-memory/341636)

<div class="topic-metadata">

**Author:** [@veesahni](https://discuss.elastic.co/u/veesahni)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 2:35am UTC](https://discuss.elastic.co/t/does-pre-filtered-approximate-knn-still-need-entire-data-in-memory/341636 "2023-08-25T02:35:04Z")

</div>

This article on tuning approximate kNN states "You should ensure that data nodes have at least enough RAM to hold the vector data and index structures". Does this still apply when doing filtered kNN search? To be clear…

---

## [Implement Multi-tenancy using an Index per tenant or 10 index per tenant which is better approach](https://discuss.elastic.co/t/implement-multi-tenancy-using-an-index-per-tenant-or-10-index-per-tenant-which-is-better-approach/341610)

<div class="topic-metadata">

**Author:** [@HARSHAL\_CHAUDHARI](https://discuss.elastic.co/u/HARSHAL_CHAUDHARI)\
**Replies:** 1\
**Last updated:** [August 24, 2023, 9:11pm UTC](https://discuss.elastic.co/t/implement-multi-tenancy-using-an-index-per-tenant-or-10-index-per-tenant-which-is-better-approach/341610 "2023-08-24T21:11:22Z")

</div>

Implement Multi-tenancy using an Index per tenant or 10 indexes per tenant which is a better approach, by considering Security, Scalability, Cost-effectiveness, and Complexity.

---

## [Using ELSER for multiple fields](https://discuss.elastic.co/t/using-elser-for-multiple-fields/341347)

<div class="topic-metadata">

**Author:** [@Rottonscope](https://discuss.elastic.co/u/Rottonscope)\
**Replies:** 1\
**Last updated:** [August 24, 2023, 7:44pm UTC](https://discuss.elastic.co/t/using-elser-for-multiple-fields/341347 "2023-08-24T19:44:16Z")

</div>

Hello! I've just begun exploring ELSER and I'm interesting in knowing if there is any guidance out there for scenarios whereby I want to run inference on multiple fields, e.g. Title and also Description. The documentati…

---

## [Multi-Tenant - Shard and Index strategy / Optimizing Elasticsearch configuration?](https://discuss.elastic.co/t/multi-tenant-shard-and-index-strategy-optimizing-elasticsearch-configuration/341605)

<div class="topic-metadata">

**Author:** [@HARSHAL\_CHAUDHARI](https://discuss.elastic.co/u/HARSHAL_CHAUDHARI)\
**Replies:** 3\
**Last updated:** [August 24, 2023, 7:40pm UTC](https://discuss.elastic.co/t/multi-tenant-shard-and-index-strategy-optimizing-elasticsearch-configuration/341605 "2023-08-24T19:40:30Z")

</div>

Hi Team, Could you please suggest the Elasticsearch configuration? (for scale and performance) My use case is below I have 1000 - 2000 thousands of customers - each customer has a 100-200 index, How data nodes can b…

---

## [.NET: Using NEST 7.x high-level client against Elasticsearch 6.x:](https://discuss.elastic.co/t/net-using-nest-7-x-high-level-client-against-elasticsearch-6-x/340768)

<div class="topic-metadata">

**Author:** [@Thomas\_Doman](https://discuss.elastic.co/u/Thomas_Doman)\
**Replies:** 6\
**Last updated:** [August 24, 2023, 7:12pm UTC](https://discuss.elastic.co/t/net-using-nest-7-x-high-level-client-against-elasticsearch-6-x/340768 "2023-08-24T19:12:08Z")

</div>

Continuing the discussion from .NET: Using newer NEST high-level client against previous version of Elasticsearch: @stephenb we've gotten to point of trying this out now. We've seen that using NEST 7.x against an ES 6.…

---

## [Availavility reports](https://discuss.elastic.co/t/availavility-reports/340659)

<div class="topic-metadata">

**Author:** [@zenkovac](https://discuss.elastic.co/u/zenkovac)\
**Replies:** 4\
**Last updated:** [August 24, 2023, 7:03pm UTC](https://discuss.elastic.co/t/availavility-reports/340659 "2023-08-24T19:03:30Z")

</div>

hi, im looking for a way to have an availability report with maintenance windows exluded from the calculation. I have an index with availavility events that have basic status of 0 or 1, i can easily calculate the percen…

---

## [Pre-filter KNN vector search](https://discuss.elastic.co/t/pre-filter-knn-vector-search/341585)

<div class="topic-metadata">

**Author:** [@veesahni](https://discuss.elastic.co/u/veesahni)\
**Replies:** 1\
**Last updated:** [August 24, 2023, 7:01pm UTC](https://discuss.elastic.co/t/pre-filter-knn-vector-search/341585 "2023-08-24T19:01:59Z")

</div>

I'm trying to understand how to best implement a pre-filtered KNN vector search. To be clear: I'd like to pre-filter the total number of docs down to a smaller set, and then run a vector search that leverages a vector in…

---

## [What is the impact of aggregated queries on performance](https://discuss.elastic.co/t/what-is-the-impact-of-aggregated-queries-on-performance/341525)

<div class="topic-metadata">

**Author:** [@fangyan](https://discuss.elastic.co/u/fangyan)\
**Replies:** 3\
**Last updated:** [August 24, 2023, 4:59pm UTC](https://discuss.elastic.co/t/what-is-the-impact-of-aggregated-queries-on-performance/341525 "2023-08-24T16:59:46Z")

</div>

What is the impact of aggregated queries on performance, with a data volume of 300000, requiring 2-3 layers of aggregation :grinning:

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

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