# Elasticsearch

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

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

**Page:** 185

---

## [Fields option using NEST](https://discuss.elastic.co/t/fields-option-using-nest/345954)

<div class="topic-metadata">

**Author:** [@xef](https://discuss.elastic.co/u/xef)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 8:28pm UTC](https://discuss.elastic.co/t/fields-option-using-nest/345954 "2023-10-27T20:28:23Z")

</div>

When using the Fieds options just to get a selection of fileds using the NEST client library and setting the Source(false), the Hits object's fields property is null. How are we supposed to get access to the values retur…

---

## [Add Runtime field to change Mapping of a Field](https://discuss.elastic.co/t/add-runtime-field-to-change-mapping-of-a-field/345373)

<div class="topic-metadata">

**Author:** [@Samuele\_Lolli](https://discuss.elastic.co/u/Samuele_Lolli)\
**Replies:** 2\
**Last updated:** [October 27, 2023, 8:17pm UTC](https://discuss.elastic.co/t/add-runtime-field-to-change-mapping-of-a-field/345373 "2023-10-27T20:17:04Z")

</div>

Hi everyone! I need to change the mapping of a current field because is currentry a text field and i need to be a keyword. The field path is event.userDefined.headerId The currentry mapping has some dynamic templates: …

---

## [Filter nested field in aggregation if value isn't indexed or is null](https://discuss.elastic.co/t/filter-nested-field-in-aggregation-if-value-isnt-indexed-or-is-null/345949)

<div class="topic-metadata">

**Author:** [@Raphael\_Fidelis](https://discuss.elastic.co/u/Raphael_Fidelis)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 6:55pm UTC](https://discuss.elastic.co/t/filter-nested-field-in-aggregation-if-value-isnt-indexed-or-is-null/345949 "2023-10-27T18:55:44Z")

</div>

Hello, I have been stuck on an issue regarding my aggregation. I have a mapping similar to as the following: { "product":{ "aliases":{}, "mappings":{ "properties":{ "characteristics…

---

## [Multi match query is not matching numbers](https://discuss.elastic.co/t/multi-match-query-is-not-matching-numbers/344969)

<div class="topic-metadata">

**Author:** [@uma\_parvathy](https://discuss.elastic.co/u/uma_parvathy)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 6:28pm UTC](https://discuss.elastic.co/t/multi-match-query-is-not-matching-numbers/344969 "2023-10-27T18:28:51Z")

</div>

Hi all, My requirement is to get a Elasticsearch response wherever the user typed query matches in the index. ( basically i'm working on search API with elasticsearch). so i've used multi match query with fuzziness aut…

---

## [Data Harmonization](https://discuss.elastic.co/t/data-harmonization/345872)

<div class="topic-metadata">

**Author:** [@aisyaharifin](https://discuss.elastic.co/u/aisyaharifin)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 6:25pm UTC](https://discuss.elastic.co/t/data-harmonization/345872 "2023-10-27T18:25:03Z")

</div>

Hello Elastic, I want to ask do Elastic can do Data Harmonization? It means that it could group multiple data source, that have the same terms of material and group into one Harmonization Code. For instance, below ima…

---

## [Elastic Licence](https://discuss.elastic.co/t/elastic-licence/345923)

<div class="topic-metadata">

**Author:** [@Manal\_A](https://discuss.elastic.co/u/Manal_A)\
**Replies:** 5\
**Last updated:** [October 27, 2023, 5:08pm UTC](https://discuss.elastic.co/t/elastic-licence/345923 "2023-10-27T17:08:24Z")

</div>

Hello, I have some questions about Elastic licenses: 1- Do we not pay for the Elastic license in the Test environment, and do we only pay for the other environments? 2- If I purchase a Production license, can I test it…

---

## [Unable to Edit Field-type in Engine-Index](https://discuss.elastic.co/t/unable-to-edit-field-type-in-engine-index/345941)

<div class="topic-metadata">

**Author:** [@Sentfer](https://discuss.elastic.co/u/Sentfer)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 4:58pm UTC](https://discuss.elastic.co/t/unable-to-edit-field-type-in-engine-index/345941 "2023-10-27T16:58:57Z")

</div>

I created an Elasticsearch Index following this guide: Create Elasticsearch index engines | App Search documentation \[8.10\] | Elastic. In the new Index Engine, I'm trying to change the field type in the Engine Schema bu…

---

## [What is the cache key filter filters?](https://discuss.elastic.co/t/what-is-the-cache-key-filter-filters/345935)

<div class="topic-metadata">

**Author:** [@nalogel](https://discuss.elastic.co/u/nalogel)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 4:19pm UTC](https://discuss.elastic.co/t/what-is-the-cache-key-filter-filters/345935 "2023-10-27T16:19:01Z")

</div>

Hello everyone! According to the documentation, "frequently used filters will be cached automatically by Elasticsearch, to speed up performance". Is it necessary to sort the array in terms query (see picture) to avoid …

---

## [Is Upgrade Assistant only upgrade internal index or legacy incompatible index?](https://discuss.elastic.co/t/is-upgrade-assistant-only-upgrade-internal-index-or-legacy-incompatible-index/345828)

<div class="topic-metadata">

**Author:** [@Shinn](https://discuss.elastic.co/u/Shinn)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 3:45pm UTC](https://discuss.elastic.co/t/is-upgrade-assistant-only-upgrade-internal-index-or-legacy-incompatible-index/345828 "2023-10-27T15:45:48Z")

</div>

Hi, As Elastic Search only compatible with previous major version, e.g. ES 8 compatible with index created in ES 7. I'm wondering if Upgrade Assistant would ignore index created in ES 7? In other words, the index veri…

---

## [How add field on index according to another value in same index](https://discuss.elastic.co/t/how-add-field-on-index-according-to-another-value-in-same-index/345752)

<div class="topic-metadata">

**Author:** [@DVD\_MNC](https://discuss.elastic.co/u/DVD_MNC)\
**Replies:** 2\
**Last updated:** [October 27, 2023, 2:16pm UTC](https://discuss.elastic.co/t/how-add-field-on-index-according-to-another-value-in-same-index/345752 "2023-10-27T14:16:27Z")

</div>

Hello, everyone, I am working on an elastic index. I would like to add a 'status' field that is equal to 'success' if the 'code' field is equal to 0, or the 'status' field is 'fail' if the 'code' field is different fro…

---

## [Procedure for non spring batch application onboard](https://discuss.elastic.co/t/procedure-for-non-spring-batch-application-onboard/345912)

<div class="topic-metadata">

**Author:** [@Navya1](https://discuss.elastic.co/u/Navya1)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 11:09am UTC](https://discuss.elastic.co/t/procedure-for-non-spring-batch-application-onboard/345912 "2023-10-27T11:09:50Z")

</div>

Hello team, Need your help to onboard non spring batch application in to Elasticsearch.

---

## [Why does client.version field does not exist?](https://discuss.elastic.co/t/why-does-client-version-field-does-not-exist/345896)

<div class="topic-metadata">

**Author:** [@babs](https://discuss.elastic.co/u/babs)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 1:55pm UTC](https://discuss.elastic.co/t/why-does-client-version-field-does-not-exist/345896 "2023-10-27T13:55:27Z")

</div>

Hello, I wonder why the client.version field does not exist in the ECS ? Does it have to be a custom field ? There is a agent.version, a service.version, but client.version does not exist. Edit: I see that server.ver…

---

## [Two node cluster elasticsearch](https://discuss.elastic.co/t/two-node-cluster-elasticsearch/345901)

<div class="topic-metadata">

**Author:** [@admin365](https://discuss.elastic.co/u/admin365)\
**Replies:** 4\
**Last updated:** [October 27, 2023, 1:30pm UTC](https://discuss.elastic.co/t/two-node-cluster-elasticsearch/345901 "2023-10-27T13:30:31Z")

</div>

hello, I've set up a cluster with two Elasticsearch nodes, but when the primary node fails, the secondary node doesn't automatically assume the role of the master. So, my question is, should I configure the secondary no…

---

## [Best way to search the address equivalent](https://discuss.elastic.co/t/best-way-to-search-the-address-equivalent/345917)

<div class="topic-metadata">

**Author:** [@armel.conrad](https://discuss.elastic.co/u/armel.conrad)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 12:44pm UTC](https://discuss.elastic.co/t/best-way-to-search-the-address-equivalent/345917 "2023-10-27T12:44:12Z")

</div>

Hi everyone, I'm using Elasticsearch PHP API to index an address database with multiple fields. And I use it for an autocomplete search. I base it on a fa field with this as the value "1 AVE Avenue NE Northeast Northeas…

---

## [Fatal exception while booting Elasticsearch 8.10](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch-8-10/345897)

<div class="topic-metadata">

**Author:** [@manasi](https://discuss.elastic.co/u/manasi)\
**Replies:** 2\
**Last updated:** [October 27, 2023, 11:32am UTC](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch-8-10/345897 "2023-10-27T11:32:00Z")

</div>

Getting below error while starting Elasticsearch 8.10 I've tried everything related to this topic on other discussions, but nothing seems to be working. Please let me know how I can resolve this. I've installed Ela…

---

## [Changing Certificate with New CA on Elasticsearch Cluster](https://discuss.elastic.co/t/changing-certificate-with-new-ca-on-elasticsearch-cluster/345297)

<div class="topic-metadata">

**Author:** [@yvangarc](https://discuss.elastic.co/u/yvangarc)\
**Replies:** 2\
**Last updated:** [October 27, 2023, 11:19am UTC](https://discuss.elastic.co/t/changing-certificate-with-new-ca-on-elasticsearch-cluster/345297 "2023-10-27T11:19:53Z")

</div>

Hello, We have an elasticsearch cluster with version 8.5.1, in a baremetal kubernetes cluster, and we have the need to change the CA and certificates of the cluster nodes. I've already created the new CA and certificat…

---

## [Can't access Kibana in Docker of Window Server 2022](https://discuss.elastic.co/t/cant-access-kibana-in-docker-of-window-server-2022/345910)

<div class="topic-metadata">

**Author:** [@TienNguyen994](https://discuss.elastic.co/u/TienNguyen994)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 11:00am UTC](https://discuss.elastic.co/t/cant-access-kibana-in-docker-of-window-server-2022/345910 "2023-10-27T11:00:32Z")

</div>

Could you please tell me: I have a Windows server 2022, I have docker installed on it, run 2 elasticsearch (port 9200), kibana (5601), opened Inbound for the firewall, we access the server via VPN, IP server is 192.168.1…

---

## [Springboot integration Elasticsearch @Filed fails](https://discuss.elastic.co/t/springboot-integration-elasticsearch-filed-fails/345891)

<div class="topic-metadata">

**Author:** [@wu\_wei](https://discuss.elastic.co/u/wu_wei)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 9:48am UTC](https://discuss.elastic.co/t/springboot-integration-elasticsearch-filed-fails/345891 "2023-10-27T09:48:07Z")

</div>

The springboot version is 2.3.12.RELEASE, the Elasticsearch client uses 7.6.2, and the corresponding spring data Elasticsearch is 4.0.9 Now when using the officially provided ElasticsearchRepository interface to save…

---

## [Failed Node Join in Elasticsearch Cluster "jaeger-es" due to Cluster UUID Mismatch](https://discuss.elastic.co/t/failed-node-join-in-elasticsearch-cluster-jaeger-es-due-to-cluster-uuid-mismatch/345888)

<div class="topic-metadata">

**Author:** [@Srinivas\_Rayudu](https://discuss.elastic.co/u/Srinivas_Rayudu)\
**Replies:** 12\
**Last updated:** [October 27, 2023, 9:36am UTC](https://discuss.elastic.co/t/failed-node-join-in-elasticsearch-cluster-jaeger-es-due-to-cluster-uuid-mismatch/345888 "2023-10-27T09:36:16Z")

</div>

Hello, I am encountering an issue where one of the data nodes in my Elasticsearch cluster is unable to join the cluster. The cluster name is "jaeger-es" and the problematic node is "jaeger-es-data-0". I found an error i…

---

## [Elasticsearch-net no JsonNetSerializer nuget package](https://discuss.elastic.co/t/elasticsearch-net-no-jsonnetserializer-nuget-package/345681)

<div class="topic-metadata">

**Author:** [@Maxim\_Stepanov](https://discuss.elastic.co/u/Maxim_Stepanov)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 8:52am UTC](https://discuss.elastic.co/t/elasticsearch-net-no-jsonnetserializer-nuget-package/345681 "2023-10-27T08:52:46Z")

</div>

Hi, I need to use newtonsoft serializer, and I see the Elastic.Clients.Elasticsearch.JsonNetSerializer project in github, but I can't find corresponding Nuget package.

---

## [Load Balancer for Elastic Cloud](https://discuss.elastic.co/t/load-balancer-for-elastic-cloud/344839)

<div class="topic-metadata">

**Author:** [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Replies:** 3\
**Last updated:** [October 27, 2023, 7:05am UTC](https://discuss.elastic.co/t/load-balancer-for-elastic-cloud/344839 "2023-10-27T07:05:27Z")

</div>

Would like to know whether Load Balancer can be used for Elastic Cloud in Azure. Any reference architecture diagram will help.

---

## [Updating cluster's node certificate failed to register](https://discuss.elastic.co/t/updating-clusters-node-certificate-failed-to-register/345762)

<div class="topic-metadata">

**Author:** [@yquirion](https://discuss.elastic.co/u/yquirion)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 10:07pm UTC](https://discuss.elastic.co/t/updating-clusters-node-certificate-failed-to-register/345762 "2023-10-26T22:07:59Z")

</div>

Dear all, Today I'm once again dealing with :face\_with\_symbols\_over\_mouth: certificates! Each time I'm touching those, there always an issue! I started by replacing one certificate on an ingest node (ingest-prod01.dom…

---

## [How to move indexes withing one node between mount points](https://discuss.elastic.co/t/how-to-move-indexes-withing-one-node-between-mount-points/345707)

<div class="topic-metadata">

**Author:** [@secsec](https://discuss.elastic.co/u/secsec)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 7:26pm UTC](https://discuss.elastic.co/t/how-to-move-indexes-withing-one-node-between-mount-points/345707 "2023-10-26T19:26:50Z")

</div>

Hello, im running one Elastic node 8.10.4. Im using logstash to create one index per linux machines per day as can be seen below: But because of huge amount of data. I would like move indexes 30days and older from c…

---

## [Stop shard balancing](https://discuss.elastic.co/t/stop-shard-balancing/345678)

<div class="topic-metadata">

**Author:** [@SleekPainter01](https://discuss.elastic.co/u/SleekPainter01)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 7:21pm UTC](https://discuss.elastic.co/t/stop-shard-balancing/345678 "2023-10-26T19:21:13Z")

</div>

Good morning everything is fine? I have 3 clients receiving logs via filebeat. And I have 1 Elasticsearch node for each client. However, load balancing of fragments between nodes is taking place. How could this balan…

---

## [One of the primary shard of the index is corrupt](https://discuss.elastic.co/t/one-of-the-primary-shard-of-the-index-is-corrupt/345838)

<div class="topic-metadata">

**Author:** [@Aayush\_Kumar1](https://discuss.elastic.co/u/Aayush_Kumar1)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 7:04pm UTC](https://discuss.elastic.co/t/one-of-the-primary-shard-of-the-index-is-corrupt/345838 "2023-10-26T19:04:52Z")

</div>

Hi, I am getting this error. Is there any way to restore this shard? /\_cluster/allocation/explain?pretty { "index" : "es-document-000004", "shard" : 2, "primary" : true, "current\_state" : "unassigned", "unass…

---

## [ElasticsearchClient v.8 QueryContainer alternative](https://discuss.elastic.co/t/elasticsearchclient-v-8-querycontainer-alternative/345861)

<div class="topic-metadata">

**Author:** [@Carlos\_Barros](https://discuss.elastic.co/u/Carlos_Barros)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 6:32pm UTC](https://discuss.elastic.co/t/elasticsearchclient-v-8-querycontainer-alternative/345861 "2023-10-26T18:32:16Z")

</div>

Hi, I'm migrating .net 7 Nest client to the newer v8 .net client. I have the following code and would like to question if there is an alternative to QueryContainer usage as you see next. QueryContainer filt…

---

## [Clean index when change IAM phase](https://discuss.elastic.co/t/clean-index-when-change-iam-phase/345831)

<div class="topic-metadata">

**Author:** [@Hugo\_Perez\_Fernandez](https://discuss.elastic.co/u/Hugo_Perez_Fernandez)\
**Replies:** 3\
**Last updated:** [October 26, 2023, 4:52pm UTC](https://discuss.elastic.co/t/clean-index-when-change-iam-phase/345831 "2023-10-26T16:52:09Z")

</div>

Hello, I am doing some tests with the lifecycle policies on an index and I would like to know if it is possible that at the moment in which it passes from the WARM stage to the COLD stage, those documents that have a pr…

---

## [Script field](https://discuss.elastic.co/t/script-field/345827)

<div class="topic-metadata">

**Author:** [@Kirtash](https://discuss.elastic.co/u/Kirtash)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 1:42pm UTC](https://discuss.elastic.co/t/script-field/345827 "2023-10-26T13:42:49Z")

</div>

Good morning, I'm beginning to work with scripting fields and I have doubts and problems. I have created this index: POST /sergi-script/\_doc/1 { "access": "2023-10-26T00:00:00" } POST /sergi-script/\_doc/2 { "acce…

---

## [NEST 7 Against ES 8 Compatibility Mode Question](https://discuss.elastic.co/t/nest-7-against-es-8-compatibility-mode-question/345726)

<div class="topic-metadata">

**Author:** [@Sarah\_McQueary](https://discuss.elastic.co/u/Sarah_McQueary)\
**Replies:** 3\
**Last updated:** [October 26, 2023, 1:24pm UTC](https://discuss.elastic.co/t/nest-7-against-es-8-compatibility-mode-question/345726 "2023-10-26T13:24:16Z")

</div>

@stephenb Hello. We are in the process of upgrading ES to 8.x. Our code is still using NEST 7.x. We have been testing using NEST 7.x against ES 8.x and do not see any issues so far. We have tried with compatibly mode "t…

---

## [Java API Client Bulk Response Error Handling](https://discuss.elastic.co/t/java-api-client-bulk-response-error-handling/345794)

<div class="topic-metadata">

**Author:** [@ravneet21](https://discuss.elastic.co/u/ravneet21)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 1:20pm UTC](https://discuss.elastic.co/t/java-api-client-bulk-response-error-handling/345794 "2023-10-26T13:20:34Z")

</div>

Hi All, While migrating from Elastic HighLevelRestClient to bnew Java API Client, we are facing issues in handling error scenarios in BulkResponse. Earlier in HLRC, in BulkItemResponse, there was Failure type field, wh…

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

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