# Elasticsearch

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

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

**Page:** 485

---

## [Null Values Ignred by Elasticsearch](https://discuss.elastic.co/t/null-values-ignred-by-elasticsearch/298456)

<div class="topic-metadata">

**Author:** [@xef](https://discuss.elastic.co/u/xef)\
**Replies:** 2\
**Last updated:** [March 1, 2022, 11:44am UTC](https://discuss.elastic.co/t/null-values-ignred-by-elasticsearch/298456 "2022-03-01T11:44:43Z")

</div>

We are using the NEST library with Elasticsearch versions 7.14. Lets say we have assigned a field a value of "hello World". The filed is mapped as a Keyword type and Not Indexed. If you update that document using the …

---

## [\[error\]\[data\]\[elasticsearch\] \[status\_exception\]: error while executing search](https://discuss.elastic.co/t/error-data-elasticsearch-status-exception-error-while-executing-search/298492)

<div class="topic-metadata">

**Author:** [@linuxxin](https://discuss.elastic.co/u/linuxxin)\
**Replies:** 3\
**Last updated:** [March 1, 2022, 10:23am UTC](https://discuss.elastic.co/t/error-data-elasticsearch-status-exception-error-while-executing-search/298492 "2022-03-01T10:23:42Z")

</div>

\[error\]\[data\]\[Elasticsearch\] \[status\_exception\]: error while executing search

---

## [Set processor isn't working after another Set processor - Injest Pipeline](https://discuss.elastic.co/t/set-processor-isnt-working-after-another-set-processor-injest-pipeline/298478)

<div class="topic-metadata">

**Author:** [@shivani\_singh](https://discuss.elastic.co/u/shivani_singh)\
**Replies:** 10\
**Last updated:** [March 1, 2022, 10:22am UTC](https://discuss.elastic.co/t/set-processor-isnt-working-after-another-set-processor-injest-pipeline/298478 "2022-03-01T10:22:11Z")

</div>

Hi, I'm copying value of responseBody.results into embedded\_original\_value\_obj both are object type fields. This is my defined pipeline - PUT \_ingest/pipeline/apiproxy-embedded-copy { "processors": \[ { "se…

---

## [@timestamp vs timestamp date field](https://discuss.elastic.co/t/timestamp-vs-timestamp-date-field/298483)

<div class="topic-metadata">

**Author:** [@notgurev](https://discuss.elastic.co/u/notgurev)\
**Replies:** 1\
**Last updated:** [March 1, 2022, 9:02am UTC](https://discuss.elastic.co/t/timestamp-vs-timestamp-date-field/298483 "2022-03-01T09:02:52Z")

</div>

Is there any difference between using "@timestamp" and "timestamp" date fields? Does elastic optimize search using those fields across multiple daily indices, perhaps if it knows min and max timestamp for each index? Cu…

---

## [Update partial fields failure, but update all success](https://discuss.elastic.co/t/update-partial-fields-failure-but-update-all-success/298472)

<div class="topic-metadata">

**Author:** [@yanllearnn](https://discuss.elastic.co/u/yanllearnn)\
**Replies:** 3\
**Last updated:** [March 1, 2022, 7:19am UTC](https://discuss.elastic.co/t/update-partial-fields-failure-but-update-all-success/298472 "2022-03-01T07:19:34Z")

</div>

Hi, when I update the doc by some fields using updateRequest, it is not working. and no anyt errors. But when I update the doc all fields using updateRequest, it is working. How to update partial fields? Thanks.

---

## [Remove services from elastic cloud](https://discuss.elastic.co/t/remove-services-from-elastic-cloud/298414)

<div class="topic-metadata">

**Author:** [@Eran\_Hadad](https://discuss.elastic.co/u/Eran_Hadad)\
**Replies:** 2\
**Last updated:** [March 1, 2022, 7:20am UTC](https://discuss.elastic.co/t/remove-services-from-elastic-cloud/298414 "2022-03-01T07:20:05Z")

</div>

Hi all, I have a small 1GB test deployment on elastic cloud that I inherited. This deployment has 255 shards that I want to reduce obviously. I only created 2 indices so the rest of 253 shards are system once. Most …

---

## [Fscrawler and elasticsearch 8](https://discuss.elastic.co/t/fscrawler-and-elasticsearch-8/298422)

<div class="topic-metadata">

**Author:** [@Emile\_Plas](https://discuss.elastic.co/u/Emile_Plas)\
**Replies:** 2\
**Last updated:** [March 1, 2022, 6:46am UTC](https://discuss.elastic.co/t/fscrawler-and-elasticsearch-8/298422 "2022-03-01T06:46:11Z")

</div>

Hey! I am using Elasticsearch 8 on a local server and fscrawler. Fscrawler logs the following error at the moment of startup: WARN \[f.p.e.c.f.c.ElasticsearchClient\] failed to create index \[dbrc\], disabling crawler... …

---

## [Force Merge To do or not to do](https://discuss.elastic.co/t/force-merge-to-do-or-not-to-do/298070)

<div class="topic-metadata">

**Author:** [@Neeraj\_Jain7483](https://discuss.elastic.co/u/Neeraj_Jain7483)\
**Replies:** 7\
**Last updated:** [March 1, 2022, 5:22am UTC](https://discuss.elastic.co/t/force-merge-to-do-or-not-to-do/298070 "2022-03-01T05:22:43Z")

</div>

I have a scenario in which we have indices for each month, and each document has a field, say expiry date, and according to that expiry date, documents will be deleted when they reach their expiry. One-month-old index wi…

---

## [Invalid configuration for xpack.security.transport.ssl](https://discuss.elastic.co/t/invalid-configuration-for-xpack-security-transport-ssl/297989)

<div class="topic-metadata">

**Author:** [@Akaren](https://discuss.elastic.co/u/Akaren)\
**Replies:** 5\
**Last updated:** [March 1, 2022, 4:12am UTC](https://discuss.elastic.co/t/invalid-configuration-for-xpack-security-transport-ssl/297989 "2022-03-01T04:12:05Z")

</div>

We tried to update to ES 8.0 deb package. ES refused to start with an error \[2022-02-23T09:10:15,109\]\[ERROR\]\[o.e.b.Bootstrap \] \[mon\] Exception org.elasticsearch.ElasticsearchSecurityException: invalid configura…

---

## [How to get the default password](https://discuss.elastic.co/t/how-to-get-the-default-password/298463)

<div class="topic-metadata">

**Author:** [@ericsoul](https://discuss.elastic.co/u/ericsoul)\
**Replies:** 1\
**Last updated:** [March 1, 2022, 3:17am UTC](https://discuss.elastic.co/t/how-to-get-the-default-password/298463 "2022-03-01T03:17:54Z")

</div>

branch:master commitid: 6b50cf75b3f I compiled the ES from command ./gradlew localDistro then started the server by bin/elasticsearch -d then I got no password in logs/elasticsearch.log

---

## [No new data getting indexed after disabling rollover in ILM](https://discuss.elastic.co/t/no-new-data-getting-indexed-after-disabling-rollover-in-ilm/298429)

<div class="topic-metadata">

**Author:** [@diraj](https://discuss.elastic.co/u/diraj)\
**Replies:** 3\
**Last updated:** [March 1, 2022, 2:47am UTC](https://discuss.elastic.co/t/no-new-data-getting-indexed-after-disabling-rollover-in-ilm/298429 "2022-03-01T02:47:07Z")

</div>

Hello, We have implemented ILM for indexes recently. We have a rollover policy for hot tier that gets triggered when the index gets larger than 40gb. This particular change did not go well with the policy, as it had ali…

---

## [How to skip downloading ml-cpp-8.2.0-SNAPSHOT.zip while using "./gradlew localDistro"](https://discuss.elastic.co/t/how-to-skip-downloading-ml-cpp-8-2-0-snapshot-zip-while-using-gradlew-localdistro/298390)

<div class="topic-metadata">

**Author:** [@ericsoul](https://discuss.elastic.co/u/ericsoul)\
**Replies:** 3\
**Last updated:** [March 1, 2022, 2:26am UTC](https://discuss.elastic.co/t/how-to-skip-downloading-ml-cpp-8-2-0-snapshot-zip-while-using-gradlew-localdistro/298390 "2022-03-01T02:26:43Z")

</div>

Because of the network is not very stable, every time the "./gradlew localDistro" command reaches the downloading of ml-cpp-8.2.0-SNAPSHOT.zip,it will fail after long download before finish. I have downloaded the packag…

---

## [Elasticsearch response does not have desired fields/data](https://discuss.elastic.co/t/elasticsearch-response-does-not-have-desired-fields-data/298237)

<div class="topic-metadata">

**Author:** [@roman-tasi](https://discuss.elastic.co/u/roman-tasi)\
**Replies:** 5\
**Last updated:** [February 28, 2022, 9:58pm UTC](https://discuss.elastic.co/t/elasticsearch-response-does-not-have-desired-fields-data/298237 "2022-02-28T21:58:16Z")

</div>

I have been using ElastAlert to monitor and alert on my Elasticsearch data. However the Elasticsearch response does not have the fields that I want to pull data from in my alerts. I have been using the DEBUG feature to v…

---

## [Two master nodes loose connection to the third master node, after its IP changes](https://discuss.elastic.co/t/two-master-nodes-loose-connection-to-the-third-master-node-after-its-ip-changes/298320)

<div class="topic-metadata">

**Author:** [@vibgy](https://discuss.elastic.co/u/vibgy)\
**Replies:** 7\
**Last updated:** [February 28, 2022, 8:59pm UTC](https://discuss.elastic.co/t/two-master-nodes-loose-connection-to-the-third-master-node-after-its-ip-changes/298320 "2022-02-28T20:59:01Z")

</div>

We are running 3 master nodes in k8s env (as a stateful set). When one of the master nodes dies and changes its IP, the other two master nodes are not able to find it. Any insights on what we can do better ? {"timesta…

---

## [Want to create a nest query to filter on optional field](https://discuss.elastic.co/t/want-to-create-a-nest-query-to-filter-on-optional-field/298433)

<div class="topic-metadata">

**Author:** [@tony\_sid](https://discuss.elastic.co/u/tony_sid)\
**Replies:** 0\
**Last updated:** [February 28, 2022, 4:50pm UTC](https://discuss.elastic.co/t/want-to-create-a-nest-query-to-filter-on-optional-field/298433 "2022-02-28T16:50:02Z")

</div>

{ { "id": 8, "teamId": 0, "experience": 1, "companyName": "MyCompany" }, { "id": 9, "teamId": 0, "experience": 1, }, { "id": 10, …

---

## [How do I get a percolator query to use the same analyzer as the mapped fields?](https://discuss.elastic.co/t/how-do-i-get-a-percolator-query-to-use-the-same-analyzer-as-the-mapped-fields/298421)

<div class="topic-metadata">

**Author:** [@sanoj85](https://discuss.elastic.co/u/sanoj85)\
**Replies:** 0\
**Last updated:** [February 28, 2022, 3:42pm UTC](https://discuss.elastic.co/t/how-do-i-get-a-percolator-query-to-use-the-same-analyzer-as-the-mapped-fields/298421 "2022-02-28T15:42:50Z")

</div>

---

## [Date indexes as yesterday](https://discuss.elastic.co/t/date-indexes-as-yesterday/298192)

<div class="topic-metadata">

**Author:** [@SKraine](https://discuss.elastic.co/u/SKraine)\
**Replies:** 2\
**Last updated:** [February 28, 2022, 3:16pm UTC](https://discuss.elastic.co/t/date-indexes-as-yesterday/298192 "2022-02-28T15:16:10Z")

</div>

Hey Everyone, I am trying to index some statistics into my self-hosted elastic stack. I am using the python API to index the document which has a very simple mapping that is dynamically mapped from a dictionary in pytho…

---

## [Sorting and bucket\_selector not working on pipeline aggregation](https://discuss.elastic.co/t/sorting-and-bucket-selector-not-working-on-pipeline-aggregation/298353)

<div class="topic-metadata">

**Author:** [@truptir](https://discuss.elastic.co/u/truptir)\
**Replies:** 4\
**Last updated:** [February 28, 2022, 2:25pm UTC](https://discuss.elastic.co/t/sorting-and-bucket-selector-not-working-on-pipeline-aggregation/298353 "2022-02-28T14:25:17Z")

</div>

Hi Team, I have an index "order" that has order data with seller detail, status, and order value. { sId:1, name: "John", orderId:123 gov:100, rtsStatus:"BRECHED" }, { sId:1, name: "John", orderId:456 gov:150, rtsStatus…

---

## [Chinese Analyzer: Simplified and Traditional (stconvert)](https://discuss.elastic.co/t/chinese-analyzer-simplified-and-traditional-stconvert/297812)

<div class="topic-metadata">

**Author:** [@Karuna](https://discuss.elastic.co/u/Karuna)\
**Replies:** 1\
**Last updated:** [February 28, 2022, 2:20pm UTC](https://discuss.elastic.co/t/chinese-analyzer-simplified-and-traditional-stconvert/297812 "2022-02-28T14:20:24Z")

</div>

I'm creating a search engine for my non-profit org that uses 21 languages, so I also need to support traditional and simplified Chinese as these are our second largest set of readers. I have read a few articles (你们好 - E…

---

## [Need to run two separate elk stack using docker](https://discuss.elastic.co/t/need-to-run-two-separate-elk-stack-using-docker/298402)

<div class="topic-metadata">

**Author:** [@auasad](https://discuss.elastic.co/u/auasad)\
**Replies:** 0\
**Last updated:** [February 28, 2022, 12:33pm UTC](https://discuss.elastic.co/t/need-to-run-two-separate-elk-stack-using-docker/298402 "2022-02-28T12:33:13Z")

</div>

Hello community, I need to run two separate elk stack, i.e. elk7.17 and elk8.0 on same machine in docker containers using docker-compose. I have already changed the port for both like 9200, 9300 for elk7.17 and 9202 and …

---

## [SQL Vs. Query DSL](https://discuss.elastic.co/t/sql-vs-query-dsl/298384)

<div class="topic-metadata">

**Author:** [@avnere](https://discuss.elastic.co/u/avnere)\
**Replies:** 1\
**Last updated:** [February 28, 2022, 10:13am UTC](https://discuss.elastic.co/t/sql-vs-query-dsl/298384 "2022-02-28T10:13:33Z")

</div>

Hi, I see huge difference in the performance when running the same query in the different approach. SQL: GET \_sql?format=json { "query": """ SELECT \* FROM "baseelements" WHERE "sessionId" = '621786a4186dc944ccb…

---

## [Interpret Text field as Date field during search](https://discuss.elastic.co/t/interpret-text-field-as-date-field-during-search/298385)

<div class="topic-metadata">

**Author:** [@Gokulnath\_Thangavel](https://discuss.elastic.co/u/Gokulnath_Thangavel)\
**Replies:** 1\
**Last updated:** [February 28, 2022, 10:01am UTC](https://discuss.elastic.co/t/interpret-text-field-as-date-field-during-search/298385 "2022-02-28T10:01:54Z")

</div>

When we initially started using Elasticsearch we missed to add mappings to one of our indices. So all the Fields are having default type of "keyword". Is there any way to perform the date range search by interpreting tim…

---

## [Cluster setup issue when path.data and path.logs are configured](https://discuss.elastic.co/t/cluster-setup-issue-when-path-data-and-path-logs-are-configured/298124)

<div class="topic-metadata">

**Author:** [@Newbie111985](https://discuss.elastic.co/u/Newbie111985)\
**Replies:** 7\
**Last updated:** [February 28, 2022, 9:38am UTC](https://discuss.elastic.co/t/cluster-setup-issue-when-path-data-and-path-logs-are-configured/298124 "2022-02-28T09:38:08Z")

</div>

I am trying to setup a 3 node cluster using Elasticsearch-7.17.0 in linux. I have made the following configurations in elasticsearch.yml file of all 3 nodes: path.data: /some/path/data path.logs: /some/path/logs network…

---

## [Wordpiece tokenizer](https://discuss.elastic.co/t/wordpiece-tokenizer/296276)

<div class="topic-metadata">

**Author:** [@Quentin\_Feuillade](https://discuss.elastic.co/u/Quentin_Feuillade)\
**Replies:** 3\
**Last updated:** [February 28, 2022, 8:53am UTC](https://discuss.elastic.co/t/wordpiece-tokenizer/296276 "2022-02-28T08:53:22Z")

</div>

I am trying to use Worpiece tokenization (the tokenization method used in BERT) directly as a elastic tokenizer. After some digging i found this file in the official elastic source code but i can't find any way to use i…

---

## [DELETED INDEXES UNABLE TO RESTORE USING SNAPSHOT BACKUP AND RESTORE](https://discuss.elastic.co/t/deleted-indexes-unable-to-restore-using-snapshot-backup-and-restore/297346)

<div class="topic-metadata">

**Author:** [@indrajit\_kal](https://discuss.elastic.co/u/indrajit_kal)\
**Replies:** 5\
**Last updated:** [February 28, 2022, 9:12am UTC](https://discuss.elastic.co/t/deleted-indexes-unable-to-restore-using-snapshot-backup-and-restore/297346 "2022-02-28T09:12:46Z")

</div>

ERROR \[backup\_repo:test-snapshot-2022.02.11-kxyy8jd4sumangv5kozy3q/9uLE7UaUQamgAH9pYbKAAA\] cannot restore index \[.siem-signals-default-000001\] because an open index with same name already exists in the cluster. Either c…

---

## [How to determines if a geo point is within a polygon](https://discuss.elastic.co/t/how-to-determines-if-a-geo-point-is-within-a-polygon/298383)

<div class="topic-metadata">

**Author:** [@yeziblo](https://discuss.elastic.co/u/yeziblo)\
**Replies:** 0\
**Last updated:** [February 28, 2022, 8:56am UTC](https://discuss.elastic.co/t/how-to-determines-if-a-geo-point-is-within-a-polygon/298383 "2022-02-28T08:56:42Z")

</div>

Hi team! I have a question for geo query. For example, I have a index which name is city, and in this index, I create a field which type is geo\_shape. Now I have a address's longitude and latitude, I want to get the c…

---

## [Elastic Search High level Client for OSS 7.4](https://discuss.elastic.co/t/elastic-search-high-level-client-for-oss-7-4/298369)

<div class="topic-metadata">

**Author:** [@mangeshs](https://discuss.elastic.co/u/mangeshs)\
**Replies:** 2\
**Last updated:** [February 28, 2022, 8:14am UTC](https://discuss.elastic.co/t/elastic-search-high-level-client-for-oss-7-4/298369 "2022-02-28T08:14:48Z")

</div>

I am using Elasticsearch 7.4.0 OSS version server and want to connect via java rest api service. So I used EL rest high level client \<dependency\> \<groupId\>org.elasticsearch.client\</groupId\> \<artifactId\>elastics…

---

## [The truststore does not contain any trusted certificate entries after upgrade to 8.0](https://discuss.elastic.co/t/the-truststore-does-not-contain-any-trusted-certificate-entries-after-upgrade-to-8-0/298338)

<div class="topic-metadata">

**Author:** [@testshock](https://discuss.elastic.co/u/testshock)\
**Replies:** 4\
**Last updated:** [February 28, 2022, 7:56am UTC](https://discuss.elastic.co/t/the-truststore-does-not-contain-any-trusted-certificate-entries-after-upgrade-to-8-0/298338 "2022-02-28T07:56:24Z")

</div>

I was doing offline upgrade from 7.16 to 8.0. With all servers stopped upgrade with rpm and started again. From 7.16 to 7.17 no problems at all. Cluster came up green. From 7.17 to 8.0 elastic i got Exception org.elas…

---

## [What is taking up disk space if I disable indexing of all properties and \_source?](https://discuss.elastic.co/t/what-is-taking-up-disk-space-if-i-disable-indexing-of-all-properties-and-source/298372)

<div class="topic-metadata">

**Author:** [@Adnukator](https://discuss.elastic.co/u/Adnukator)\
**Replies:** 2\
**Last updated:** [February 28, 2022, 6:56am UTC](https://discuss.elastic.co/t/what-is-taking-up-disk-space-if-i-disable-indexing-of-all-properties-and-source/298372 "2022-02-28T06:56:07Z")

</div>

I'm trying to restructure our Elasticsearch settings to be more space efficient, even if at the price of less comfort. I have a set of 150k documents from a live server where I'm trying to measure the impact of different…

---

## [Script condition for not matching records](https://discuss.elastic.co/t/script-condition-for-not-matching-records/298293)

<div class="topic-metadata">

**Author:** [@vradder](https://discuss.elastic.co/u/vradder)\
**Replies:** 4\
**Last updated:** [February 28, 2022, 5:19am UTC](https://discuss.elastic.co/t/script-condition-for-not-matching-records/298293 "2022-02-28T05:19:00Z")

</div>

Hi, I am selecting records based on range query. /\_update\_by\_query?conflicts=proceed { "query":{"range":{"dateTime":{"gte":"xxx","lte":"xxx"}}}, "script":{"source":"ctx.\_source.selected = true"} } how can i unselect…

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

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