# Elasticsearch

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

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

**Page:** 471

---

## [Faceted Search-Navigation where counts should not be updated for the siblings of a group when it is active](https://discuss.elastic.co/t/faceted-search-navigation-where-counts-should-not-be-updated-for-the-siblings-of-a-group-when-it-is-active/300107)

<div class="topic-metadata">

**Author:** [@droplet](https://discuss.elastic.co/u/droplet)\
**Replies:** 5\
**Last updated:** [March 24, 2022, 1:46pm UTC](https://discuss.elastic.co/t/faceted-search-navigation-where-counts-should-not-be-updated-for-the-siblings-of-a-group-when-it-is-active/300107 "2022-03-24T13:46:59Z")

</div>

Hello, (data to play, at the end) I've been reading about faceted navigation and filtering and how it can be applied to ecommerce apps. So far I've managed to get the bellow example working. Facet Group 1 Facet Opti…

---

## [Installation problems - Public key not available](https://discuss.elastic.co/t/installation-problems-public-key-not-available/300571)

<div class="topic-metadata">

**Author:** [@user111](https://discuss.elastic.co/u/user111)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 1:12pm UTC](https://discuss.elastic.co/t/installation-problems-public-key-not-available/300571 "2022-03-24T13:12:43Z")

</div>

Dear community, I´m trying to install the ELK Stack as explained in the official documentation here: I´m running a Ubuntu 18.04 machine and I´m getting the following error while executing sudo apt-get update && sudo a…

---

## [Issues trying to enable FIPS 140-2 on Centos 8](https://discuss.elastic.co/t/issues-trying-to-enable-fips-140-2-on-centos-8/300505)

<div class="topic-metadata">

**Author:** [@ryann](https://discuss.elastic.co/u/ryann)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 1:16pm UTC](https://discuss.elastic.co/t/issues-trying-to-enable-fips-140-2-on-centos-8/300505 "2022-03-24T13:16:27Z")

</div>

Trying to enable FIPS mode in Elasticsearch and running into issues. When using default bundled JVM with FIPS mode enabled configuration passes bootstrap checks. Enabled fips globally in Centos and pointed systemd file t…

---

## [Migration HLRC PutIndexTemplateRequest to ES 8.1.0](https://discuss.elastic.co/t/migration-hlrc-putindextemplaterequest-to-es-8-1-0/300491)

<div class="topic-metadata">

**Author:** [@Raushan](https://discuss.elastic.co/u/Raushan)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 11:07am UTC](https://discuss.elastic.co/t/migration-hlrc-putindextemplaterequest-to-es-8-1-0/300491 "2022-03-24T11:07:32Z")

</div>

Hi, I'm migrating from HLRC to ES8.1. We used to pass json data for settings and mappings in source. HLRC Code PutIndexTemplateRequest request = new PutIndexTemplateRequest(templateName); reques…

---

## [Elasticsearch can't hanlde space after add analyzer](https://discuss.elastic.co/t/elasticsearch-cant-hanlde-space-after-add-analyzer/300509)

<div class="topic-metadata">

**Author:** [@Muhammad\_Fhadli](https://discuss.elastic.co/u/Muhammad_Fhadli)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 9:35am UTC](https://discuss.elastic.co/t/elasticsearch-cant-hanlde-space-after-add-analyzer/300509 "2022-03-24T09:35:48Z")

</div>

I created an index called my\_index by this command { "settings": { "number\_of\_shards": 1, "analysis": { "filter": { "synonym": { "type": "synonym", …

---

## [Logs not arriving with docker-compose](https://discuss.elastic.co/t/logs-not-arriving-with-docker-compose/300524)

<div class="topic-metadata">

**Author:** [@Arraso26](https://discuss.elastic.co/u/Arraso26)\
**Replies:** 0\
**Last updated:** [March 24, 2022, 6:44am UTC](https://discuss.elastic.co/t/logs-not-arriving-with-docker-compose/300524 "2022-03-24T06:44:04Z")

</div>

Good, a couple of days ago I set up ELK and everything worked fine, but now that I have set it up in docker-compose and after configuring it I can't get the logs that I want to send from another machine to mine, I show y…

---

## [How to understand the error of reindex (request body is required)?](https://discuss.elastic.co/t/how-to-understand-the-error-of-reindex-request-body-is-required/300278)

<div class="topic-metadata">

**Author:** [@wajika](https://discuss.elastic.co/u/wajika)\
**Replies:** 7\
**Last updated:** [March 24, 2022, 9:02am UTC](https://discuss.elastic.co/t/how-to-understand-the-error-of-reindex-request-body-is-required/300278 "2022-03-24T09:02:05Z")

</div>

use reindex and want to rename iotmessages-000001 to iot\_prd\_iotmessage-000001. There are so many raw data. POST \_reindex?slices=5&refresh { "conflicts": "proceed", "source": { "index": "iotmessages-000001" …

---

## [Elasticsearch "data": { "type": "float" } returns incorrect results](https://discuss.elastic.co/t/elasticsearch-data-type-float-returns-incorrect-results/300335)

<div class="topic-metadata">

**Author:** [@Musab\_Dogan](https://discuss.elastic.co/u/Musab_Dogan)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 8:54am UTC](https://discuss.elastic.co/t/elasticsearch-data-type-float-returns-incorrect-results/300335 "2022-03-24T08:54:11Z")

</div>

I have a query like below and when date\_partition field is "type" =\> "float" it returns 20220109, 20220108, 20220107 query. When field "type" =\> "long", it only returns the 20220109 query. Which is what I want. Each qu…

---

## [How to aggregate based on another aggregation?](https://discuss.elastic.co/t/how-to-aggregate-based-on-another-aggregation/299947)

<div class="topic-metadata">

**Author:** [@Kosodrom](https://discuss.elastic.co/u/Kosodrom)\
**Replies:** 5\
**Last updated:** [March 24, 2022, 8:34am UTC](https://discuss.elastic.co/t/how-to-aggregate-based-on-another-aggregation/299947 "2022-03-24T08:34:48Z")

</div>

Hi folks, I have a certain amount of user transactions per day. My final goal is to have the average of daily sums of transactions per week. What I have done so far is the first step (the easy one). I created a chart …

---

## [Question regarding ES upgrade to 8.1](https://discuss.elastic.co/t/question-regarding-es-upgrade-to-8-1/300372)

<div class="topic-metadata">

**Author:** [@elastic78](https://discuss.elastic.co/u/elastic78)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 8:31am UTC](https://discuss.elastic.co/t/question-regarding-es-upgrade-to-8-1/300372 "2022-03-24T08:31:10Z")

</div>

We are using ES version 6.8.12 and would want to upgrade to ES version 8.1. As per our architecture we can have Elasticsearch deployed on either one node or two nodes. Since 8.1 doesn't allow forming a cluster with two…

---

## [Setting JVM Heap size for Elasticsearch container](https://discuss.elastic.co/t/setting-jvm-heap-size-for-elasticsearch-container/300374)

<div class="topic-metadata">

**Author:** [@userR](https://discuss.elastic.co/u/userR)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 8:21am UTC](https://discuss.elastic.co/t/setting-jvm-heap-size-for-elasticsearch-container/300374 "2022-03-24T08:21:37Z")

</div>

I recently ran into an error where my cluster would turn red due to exceeding the maximum allocated heap. Once it returned back to below the threshold, I saw that by default, only 512mb was allocated. name id node.rol…

---

## [Snapshot Policy Change not Deleting Old Snapshots](https://discuss.elastic.co/t/snapshot-policy-change-not-deleting-old-snapshots/300531)

<div class="topic-metadata">

**Author:** [@cawoodm](https://discuss.elastic.co/u/cawoodm)\
**Replies:** 5\
**Last updated:** [March 24, 2022, 8:17am UTC](https://discuss.elastic.co/t/snapshot-policy-change-not-deleting-old-snapshots/300531 "2022-03-24T08:17:42Z")

</div>

Elastic 7.6.2 We changed our snapshot policy to only keep max 5 snapshots (down from 14). Nothing happened. We ran the snapshot (from Kibana) and a new snapshot was generated. Nothing was deleted and no errors were show…

---

## [Build IndexRequest with elastic in 8.1.0](https://discuss.elastic.co/t/build-indexrequest-with-elastic-in-8-1-0/300146)

<div class="topic-metadata">

**Author:** [@Raushan](https://discuss.elastic.co/u/Raushan)\
**Replies:** 3\
**Last updated:** [March 24, 2022, 8:09am UTC](https://discuss.elastic.co/t/build-indexrequest-with-elastic-in-8-1-0/300146 "2022-03-24T08:09:01Z")

</div>

Hi, I am migrating from HLRC to Elasticsearch Java API Client. I need to transform below code private IndexRequest buildIndex(String indexName, CacheObject cacheObject) { IndexRequest indexRequest = new IndexReq…

---

## [Error : java.lang.NoClassDefFoundError: org/elasticsearch/client/sniff/NodesSniffer](https://discuss.elastic.co/t/error-java-lang-noclassdeffounderror-org-elasticsearch-client-sniff-nodessniffer/300448)

<div class="topic-metadata">

**Author:** [@Prashant\_Kamble](https://discuss.elastic.co/u/Prashant_Kamble)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 7:40am UTC](https://discuss.elastic.co/t/error-java-lang-noclassdeffounderror-org-elasticsearch-client-sniff-nodessniffer/300448 "2022-03-24T07:40:27Z")

</div>

We are getting this error java.lang.NoClassDefFoundError: org/elasticsearch/client/sniff/NodesSniffer on server. Application is working fine on local without any exception. We are using java 11 + Hibernate Search 6 + E…

---

## [The provided corpus does not match any of the corpora](https://discuss.elastic.co/t/the-provided-corpus-does-not-match-any-of-the-corpora/300385)

<div class="topic-metadata">

**Author:** [@mej101](https://discuss.elastic.co/u/mej101)\
**Replies:** 3\
**Last updated:** [March 24, 2022, 6:48am UTC](https://discuss.elastic.co/t/the-provided-corpus-does-not-match-any-of-the-corpora/300385 "2022-03-24T06:48:51Z")

</div>

I've defined one corpus in my track, and when I run the track, I get the message RallyAssertionError: The provided corpus \['tag-data'\] does not match any of the corpora \['tag-data'\]. This happens whether or not I explic…

---

## [Only one of dozens of log indexes won't rollover: "source alias does not exist"](https://discuss.elastic.co/t/only-one-of-dozens-of-log-indexes-wont-rollover-source-alias-does-not-exist/299673)

<div class="topic-metadata">

**Author:** [@Thomas\_Doman](https://discuss.elastic.co/u/Thomas_Doman)\
**Replies:** 5\
**Last updated:** [March 23, 2022, 7:52pm UTC](https://discuss.elastic.co/t/only-one-of-dozens-of-log-indexes-wont-rollover-source-alias-does-not-exist/299673 "2022-03-23T19:52:23Z")

</div>

ES: 6.8.13 NEST 6.8.6 We have a number of indexes for which we have a programmatic process that checks rollover criteria (ie. max age, max size, etc.) every night. They all have essentially identical template rules, e…

---

## [How to add Script Params and Language using SortDescriptor in ElasticSearch Nest client](https://discuss.elastic.co/t/how-to-add-script-params-and-language-using-sortdescriptor-in-elasticsearch-nest-client/300498)

<div class="topic-metadata">

**Author:** [@aashini](https://discuss.elastic.co/u/aashini)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 7:51pm UTC](https://discuss.elastic.co/t/how-to-add-script-params-and-language-using-sortdescriptor-in-elasticsearch-nest-client/300498 "2022-03-23T19:51:13Z")

</div>

I am using Elasticsearch Nest client in .Net application and looking for a syntax to add Params and Language in script based sorting with Sort Descriptor. Below is the code with SortDescriptor : string shortestDistance…

---

## [Snapshot repository - Unable to refresh Azure sas\_token](https://discuss.elastic.co/t/snapshot-repository-unable-to-refresh-azure-sas-token/300380)

<div class="topic-metadata">

**Author:** [@mcosta](https://discuss.elastic.co/u/mcosta)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 6:19pm UTC](https://discuss.elastic.co/t/snapshot-repository-unable-to-refresh-azure-sas-token/300380 "2022-03-23T18:19:10Z")

</div>

Hi all, Our test cluster (3 nodes, version 8.1.1, on RHEL 7.9 VMs) shows "Some repositories contain errors" message. Using the option "Verify repository" I got "Not connected" and details shows that Azure sas\_token has…

---

## [Some vulnerabilities in Elasticsearch v7.16.3 x-pack, Elasticsearch sql cli 7.16.3, plugin cli, security cli](https://discuss.elastic.co/t/some-vulnerabilities-in-elasticsearch-v7-16-3-x-pack-elasticsearch-sql-cli-7-16-3-plugin-cli-security-cli/300435)

<div class="topic-metadata">

**Author:** [@Sagarika\_Mahalik](https://discuss.elastic.co/u/Sagarika_Mahalik)\
**Replies:** 3\
**Last updated:** [March 23, 2022, 5:16pm UTC](https://discuss.elastic.co/t/some-vulnerabilities-in-elasticsearch-v7-16-3-x-pack-elasticsearch-sql-cli-7-16-3-plugin-cli-security-cli/300435 "2022-03-23T17:16:57Z")

</div>

Hi, There are some Vulnerabilities in Elasticsearch 7.16.3 version. Some vulnerabilities in Elasticsearch v7.16.3 x-pack, Elasticsearch sql cli 7.16.3, plugin cli, security cli. While installing Elasticsearch all of t…

---

## [Chorus, the reference implementation for e-commerce, now supports Elasticsearch!](https://discuss.elastic.co/t/chorus-the-reference-implementation-for-e-commerce-now-supports-elasticsearch/300489)

<div class="topic-metadata">

**Author:** [@flaxsearch](https://discuss.elastic.co/u/flaxsearch)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 5:11pm UTC](https://discuss.elastic.co/t/chorus-the-reference-implementation-for-e-commerce-now-supports-elasticsearch/300489 "2022-03-23T17:11:22Z")

</div>

Hi all, We've been working hard to improve support for Elasticsearch as part of the Chorus stack, an open source reference implementation for tunable, measurable e-commerce search. My colleague Daniel Wrigley has writte…

---

## [Upgrade assistant - node.attributes.data](https://discuss.elastic.co/t/upgrade-assistant-node-attributes-data/300488)

<div class="topic-metadata">

**Author:** [@probson](https://discuss.elastic.co/u/probson)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 4:55pm UTC](https://discuss.elastic.co/t/upgrade-assistant-node-attributes-data/300488 "2022-03-23T16:55:59Z")

</div>

Im looking at the warnings for Elasticsearch depreciation in Elastic Cloud and its warning that i have servers that have node.attributes.data set I am using the new tiering, ive not been able to see how or where this is…

---

## [Need to add doc to an index with default values](https://discuss.elastic.co/t/need-to-add-doc-to-an-index-with-default-values/300326)

<div class="topic-metadata">

**Author:** [@Anika\_Mehrotra](https://discuss.elastic.co/u/Anika_Mehrotra)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 4:42pm UTC](https://discuss.elastic.co/t/need-to-add-doc-to-an-index-with-default-values/300326 "2022-03-23T16:42:06Z")

</div>

Suppose i have an index with 2 fields as firstname and lastname both having default values as "test" Now if I insert a new record in that index POST my-index-000001/general { "firstname": "harry", "lastname": "pott…

---

## [Filter, sum and nested fields](https://discuss.elastic.co/t/filter-sum-and-nested-fields/300486)

<div class="topic-metadata">

**Author:** [@Martin.Br](https://discuss.elastic.co/u/Martin.Br)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 4:11pm UTC](https://discuss.elastic.co/t/filter-sum-and-nested-fields/300486 "2022-03-23T16:11:09Z")

</div>

Hello, I am facing some difficulties to execute a search query with filter, sum and nested fields. I wish to search within my data all the documents containing positions with assetId 42 and 43. Moreover, I want to fil…

---

## [Where did ParseField and XContentParser go?](https://discuss.elastic.co/t/where-did-parsefield-and-xcontentparser-go/300348)

<div class="topic-metadata">

**Author:** [@brian8371](https://discuss.elastic.co/u/brian8371)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 3:05pm UTC](https://discuss.elastic.co/t/where-did-parsefield-and-xcontentparser-go/300348 "2022-03-23T15:05:13Z")

</div>

I'm trying to change an ES plugin that worked with ES v7.3.0 to work with ES v7.16.3, but it seems like common.ParseField was removed in ES v7.14.0 and common.xcontent.XContentBuilder & common.xcontent.XContentParser wer…

---

## [Building a cluster for the first time](https://discuss.elastic.co/t/building-a-cluster-for-the-first-time/300322)

<div class="topic-metadata">

**Author:** [@PSFletchTheTek](https://discuss.elastic.co/u/PSFletchTheTek)\
**Replies:** 9\
**Last updated:** [March 23, 2022, 2:54pm UTC](https://discuss.elastic.co/t/building-a-cluster-for-the-first-time/300322 "2022-03-23T14:54:01Z")

</div>

Hi All, So i'm trying to build a cluster for the first time, I've always been working in standalone mode, but i now need to step up into a cluster. So I have 3 instances setup and all are going to be master eligible. I…

---

## [Snapshot Repository with Minio](https://discuss.elastic.co/t/snapshot-repository-with-minio/300475)

<div class="topic-metadata">

**Author:** [@peterON](https://discuss.elastic.co/u/peterON)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 2:51pm UTC](https://discuss.elastic.co/t/snapshot-repository-with-minio/300475 "2022-03-23T14:51:58Z")

</div>

Hey, I have tried multiple days to get elastic and Minio to talk to each other. For Dev purpose I currently run a docker-compose with Elasticsearch 8.1.1 and the latest Minio. The docker-compose.yml is as basic as it get…

---

## [Elastic Cloud Ingest Pipeline Change](https://discuss.elastic.co/t/elastic-cloud-ingest-pipeline-change/300365)

<div class="topic-metadata">

**Author:** [@kinderrs](https://discuss.elastic.co/u/kinderrs)\
**Replies:** 2\
**Last updated:** [March 23, 2022, 1:41pm UTC](https://discuss.elastic.co/t/elastic-cloud-ingest-pipeline-change/300365 "2022-03-23T13:41:18Z")

</div>

Hi all! I am using Elastic Cloud to collect information from a custom log. I created a ingest pipeline but then found that I had to change/update a portion of the pipeline (a dissect processor) which went from somethin…

---

## [Repository-hdfs error while creating repository to backup elasticsearch index to HDFS](https://discuss.elastic.co/t/repository-hdfs-error-while-creating-repository-to-backup-elasticsearch-index-to-hdfs/299917)

<div class="topic-metadata">

**Author:** [@Sahana\_Murthy](https://discuss.elastic.co/u/Sahana_Murthy)\
**Replies:** 6\
**Last updated:** [March 23, 2022, 1:39pm UTC](https://discuss.elastic.co/t/repository-hdfs-error-while-creating-repository-to-backup-elasticsearch-index-to-hdfs/299917 "2022-03-23T13:39:29Z")

</div>

Hello everyone, I am stuck in a situation where my Elasticsearch(7.9.0) upgradation is pending due to backup /snapshot not being in place We have 10 ELK node in cluster based in Azure cloud out of which 3 master nodes …

---

## [Search\_as\_you\_type field as subfield](https://discuss.elastic.co/t/search-as-you-type-field-as-subfield/300425)

<div class="topic-metadata">

**Author:** [@casparxu](https://discuss.elastic.co/u/casparxu)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 11:02am UTC](https://discuss.elastic.co/t/search-as-you-type-field-as-subfield/300425 "2022-03-23T11:02:52Z")

</div>

Hello experts, I'm using ES v7. I noticed there's a fantastic type called 'search\_ar\_you\_type' can help me with auto-completion. The samples from doc is map the field to this type like: { "mappings": { "propertie…

---

## [ELK stack upgrade 7.13.4 to 8.1](https://discuss.elastic.co/t/elk-stack-upgrade-7-13-4-to-8-1/300392)

<div class="topic-metadata">

**Author:** [@nunex\_17](https://discuss.elastic.co/u/nunex_17)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 10:58am UTC](https://discuss.elastic.co/t/elk-stack-upgrade-7-13-4-to-8-1/300392 "2022-03-23T10:58:47Z")

</div>

I apologize in advance if this topic has already been addressed, but I am relatively new to this type of configurations. I currently have the stack (ES, Kibana and Filebeat) at version 7.13.4 but I want to update to the…

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

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