# Elasticsearch

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

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

**Page:** 415

---

## [When I am registering a repository for snapshot, I have kept the path. repo at all my master and data nodes again am unable to get the repository at verifying repository it is showing not connected and this below error. I have no idea what to do further](https://discuss.elastic.co/t/when-i-am-registering-a-repository-for-snapshot-i-have-kept-the-path-repo-at-all-my-master-and-data-nodes-again-am-unable-to-get-the-repository-at-verifying-repository-it-is-showing-not-connected-and-this-below-error-i-have-no-idea-what-to-do-further/308561)

<div class="topic-metadata">

**Author:** [@balasani\_sri](https://discuss.elastic.co/u/balasani_sri)\
**Replies:** 3\
**Last updated:** [June 30, 2022, 2:13pm UTC](https://discuss.elastic.co/t/when-i-am-registering-a-repository-for-snapshot-i-have-kept-the-path-repo-at-all-my-master-and-data-nodes-again-am-unable-to-get-the-repository-at-verifying-repository-it-is-showing-not-connected-and-this-below-error-i-have-no-idea-what-to-do-further/308561 "2022-06-30T14:13:46Z")

</div>

"type": "repository\_verification\_exception", "reason": "\[newlocal\_repo\] a file written by master to the store \[/opt/elk/elasticsearch/backup\_repo\] cannot be accessed on the node \[{alab106}{mSm33eUCT2-gvtL…

---

## [Combine Terms aggregation with Composite aggregation](https://discuss.elastic.co/t/combine-terms-aggregation-with-composite-aggregation/308573)

<div class="topic-metadata">

**Author:** [@mirokrastev](https://discuss.elastic.co/u/mirokrastev)\
**Replies:** 0\
**Last updated:** [June 30, 2022, 12:29pm UTC](https://discuss.elastic.co/t/combine-terms-aggregation-with-composite-aggregation/308573 "2022-06-30T12:29:56Z")

</div>

I have the following ES Query GET logstash-\*/\_search { "size": 0, "aggs": { "table": { "composite": { "size": 10000, "sources": \[ { "stk1": { "terms": { …

---

## [Applying best compression on already force-merged indices](https://discuss.elastic.co/t/applying-best-compression-on-already-force-merged-indices/308552)

<div class="topic-metadata">

**Author:** [@sandeepkanabar](https://discuss.elastic.co/u/sandeepkanabar)\
**Replies:** 4\
**Last updated:** [June 30, 2022, 12:08pm UTC](https://discuss.elastic.co/t/applying-best-compression-on-already-force-merged-indices/308552 "2022-06-30T12:08:42Z")

</div>

Hi All, Have a question related to applying best\_compression on indices that are already force-merged to 1 segment. My question is: Can i still apply best\_compression on them to save some disk space? I suppose I can c…

---

## [How does ES protect users' private information](https://discuss.elastic.co/t/how-does-es-protect-users-private-information/308544)

<div class="topic-metadata">

**Author:** [@yeziblo](https://discuss.elastic.co/u/yeziblo)\
**Replies:** 4\
**Last updated:** [June 30, 2022, 11:34am UTC](https://discuss.elastic.co/t/how-does-es-protect-users-private-information/308544 "2022-06-30T11:34:24Z")

</div>

We have a user management system that stores some user information, such as email, telephone and so on. Now I want to protect this information from possible hacking attacks. Does ES have any good protection for fields? …

---

## [Use french steemer on java api](https://discuss.elastic.co/t/use-french-steemer-on-java-api/308563)

<div class="topic-metadata">

**Author:** [@Dorian](https://discuss.elastic.co/u/Dorian)\
**Replies:** 0\
**Last updated:** [June 30, 2022, 11:20am UTC](https://discuss.elastic.co/t/use-french-steemer-on-java-api/308563 "2022-06-30T11:20:24Z")

</div>

Hi, from 1 week i try to index document using the french steemer. I'm totally stuck can someone give me an example ?

---

## [Azure connection with elastic search](https://discuss.elastic.co/t/azure-connection-with-elastic-search/308475)

<div class="topic-metadata">

**Author:** [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Replies:** 2\
**Last updated:** [June 30, 2022, 10:07am UTC](https://discuss.elastic.co/t/azure-connection-with-elastic-search/308475 "2022-06-30T10:07:25Z")

</div>

Hi all , Is there a way to check if any azure account is added to my elasticsearch cluster already or not ? It's urgent , hope to get a response soon ! Thanks !

---

## [Pod is not running](https://discuss.elastic.co/t/pod-is-not-running/307245)

<div class="topic-metadata">

**Author:** [@gerardgorrion](https://discuss.elastic.co/u/gerardgorrion)\
**Replies:** 6\
**Last updated:** [June 30, 2022, 9:50am UTC](https://discuss.elastic.co/t/pod-is-not-running/307245 "2022-06-30T09:50:18Z")

</div>

Good morning, We try to update kubernetes version from 1.19 to 1.20, and when try to renew an Elasticsearch data pod, this data pod is not runnning, showing this error in logs: {"type": "server", "timestamp": "2022-06-…

---

## [Optimizing a single node ES instance for throughput](https://discuss.elastic.co/t/optimizing-a-single-node-es-instance-for-throughput/307808)

<div class="topic-metadata">

**Author:** [@dmh43](https://discuss.elastic.co/u/dmh43)\
**Replies:** 6\
**Last updated:** [June 30, 2022, 9:41am UTC](https://discuss.elastic.co/t/optimizing-a-single-node-es-instance-for-throughput/307808 "2022-06-30T09:41:50Z")

</div>

I have a single large (500GB ram and 128 cores) machine that I have indexed a corpus of around 1TB in size. The documents vary in length, from very short (~100 characters) to very long (a single documents that is \> 100 M…

---

## [Increase 255 character limit in analyzer](https://discuss.elastic.co/t/increase-255-character-limit-in-analyzer/308543)

<div class="topic-metadata">

**Author:** [@ansamHox](https://discuss.elastic.co/u/ansamHox)\
**Replies:** 0\
**Last updated:** [June 30, 2022, 8:51am UTC](https://discuss.elastic.co/t/increase-255-character-limit-in-analyzer/308543 "2022-06-30T08:51:59Z")

</div>

I want to use a whitespace tokenizer, but I have very long "tokens", and if it is longer than 255 characters, it will split it into 2 or more tokens. GET \_analyze { "tokenizer": "whitespace", "filter": \[ { …

---

## [New elasticsearch-java client needs to initialize in springboot?](https://discuss.elastic.co/t/new-elasticsearch-java-client-needs-to-initialize-in-springboot/308451)

<div class="topic-metadata">

**Author:** [@the-worm](https://discuss.elastic.co/u/the-worm)\
**Replies:** 1\
**Last updated:** [June 30, 2022, 8:05am UTC](https://discuss.elastic.co/t/new-elasticsearch-java-client-needs-to-initialize-in-springboot/308451 "2022-06-30T08:05:47Z")

</div>

Do we always need to initialize elasticsearch-java to use port 9200 or other custom ports and other setings? Previous high level REST client(HLRC) does not need the initialization in springboot. You just declare it and …

---

## [Failed to download database GeoLite2-City.mmdb](https://discuss.elastic.co/t/failed-to-download-database-geolite2-city-mmdb/308491)

<div class="topic-metadata">

**Author:** [@Ravi\_S1](https://discuss.elastic.co/u/Ravi_S1)\
**Replies:** 4\
**Last updated:** [June 30, 2022, 7:54am UTC](https://discuss.elastic.co/t/failed-to-download-database-geolite2-city-mmdb/308491 "2022-06-30T07:54:21Z")

</div>

{"type": "server", "timestamp": "2022-06-29T06:19:15,707Z", "level": "ERROR", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "elasticsearch-prod", "node.name": "elasticsearch-XXXXXXXXXXXXXXXXX", "message": "…

---

## [Blacklisting(restricting) fields from elasticsearch query to be search](https://discuss.elastic.co/t/blacklisting-restricting-fields-from-elasticsearch-query-to-be-search/308539)

<div class="topic-metadata">

**Author:** [@deepak\_prem](https://discuss.elastic.co/u/deepak_prem)\
**Replies:** 3\
**Last updated:** [June 30, 2022, 7:32am UTC](https://discuss.elastic.co/t/blacklisting-restricting-fields-from-elasticsearch-query-to-be-search/308539 "2022-06-30T07:32:00Z")

</div>

Hi, friends am new to Elasticsearch. I want to know if I can exclude certain fields from search from Elasticsearch. To elaborate I want to ignore it from my search. It should not search that field when we specify but sho…

---

## [My use case : Joining indices?](https://discuss.elastic.co/t/my-use-case-joining-indices/308476)

<div class="topic-metadata">

**Author:** [@Vincent\_Enjalbert](https://discuss.elastic.co/u/Vincent_Enjalbert)\
**Replies:** 4\
**Last updated:** [June 30, 2022, 7:21am UTC](https://discuss.elastic.co/t/my-use-case-joining-indices/308476 "2022-06-30T07:21:45Z")

</div>

Hi there, I have an issue, and I'm considering using ES to solve it. I will try to simplify the use case at maximum (context = ecommerce) : I have currently two tables in my mysql database. One is a product table. T…

---

## [Kibana Dashboard Integration](https://discuss.elastic.co/t/kibana-dashboard-integration/308538)

<div class="topic-metadata">

**Author:** [@Aseem\_Mangla](https://discuss.elastic.co/u/Aseem_Mangla)\
**Replies:** 2\
**Last updated:** [June 30, 2022, 6:59am UTC](https://discuss.elastic.co/t/kibana-dashboard-integration/308538 "2022-06-30T06:59:57Z")

</div>

Hi, I want to integrate the Kibana Open Search Dashboard with the front-end but facing difficulty. I did these below-mentioned steps Created and saved a dashboard. Clicked "Share" at the top Copied the iframe code fro…

---

## [Do i need to install tika myself?](https://discuss.elastic.co/t/do-i-need-to-install-tika-myself/308521)

<div class="topic-metadata">

**Author:** [@aakerbeere](https://discuss.elastic.co/u/aakerbeere)\
**Replies:** 2\
**Last updated:** [June 30, 2022, 6:39am UTC](https://discuss.elastic.co/t/do-i-need-to-install-tika-myself/308521 "2022-06-30T06:39:37Z")

</div>

I am running elasticsearch on my nextcloud instance. As of Ingest Plugins | Elasticsearch Plugins and Integrations \[8.3\] | Elastic Ingest makes use of "tika". Does installing Ingest also install tika or do i need to do …

---

## [8.2.3 Failed to parse field of type text](https://discuss.elastic.co/t/8-2-3-failed-to-parse-field-of-type-text/308168)

<div class="topic-metadata">

**Author:** [@Jack\_Park](https://discuss.elastic.co/u/Jack_Park)\
**Replies:** 12\
**Last updated:** [June 29, 2022, 11:42pm UTC](https://discuss.elastic.co/t/8-2-3-failed-to-parse-field-of-type-text/308168 "2022-06-29T23:42:48Z")

</div>

I created a gist here It could be something as trivial as the way I crafted the mappings. I've been using ES 6 for years, but migrating to 8+ brings on new adventures. The gist gives the json object I am passing in. I…

---

## [In what folder is the private key that corresponds to the certificate config\\certs\\http\_ca.crt?](https://discuss.elastic.co/t/in-what-folder-is-the-private-key-that-corresponds-to-the-certificate-config-certs-http-ca-crt/308488)

<div class="topic-metadata">

**Author:** [@DataStorageMuse](https://discuss.elastic.co/u/DataStorageMuse)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 10:08pm UTC](https://discuss.elastic.co/t/in-what-folder-is-the-private-key-that-corresponds-to-the-certificate-config-certs-http-ca-crt/308488 "2022-06-29T22:08:40Z")

</div>

I'm trying to modify http\_ca.crt (using the command ./bin/elasticsearch-certutil http), and it asks me for the path to private key corresponding to that file: What is the path to your CA key? elasticsearch-8.2.3-window…

---

## [Is there some parse API in ES Java High Level REST Client?](https://discuss.elastic.co/t/is-there-some-parse-api-in-es-java-high-level-rest-client/308397)

<div class="topic-metadata">

**Author:** [@Bruce\_Zu](https://discuss.elastic.co/u/Bruce_Zu)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 9:35pm UTC](https://discuss.elastic.co/t/is-there-some-parse-api-in-es-java-high-level-rest-client/308397 "2022-06-29T21:35:28Z")

</div>

Hi ES Java High Level REST Client team, I am using ES Java High Level REST Client 6.8.0 version. I want to know whether there is some function, like the JSON parser, to be able to covert String type query to QueryB…

---

## [Enrolling a fixed IP server to a server behind a dynamic IP address and a home router with ports forwarded](https://discuss.elastic.co/t/enrolling-a-fixed-ip-server-to-a-server-behind-a-dynamic-ip-address-and-a-home-router-with-ports-forwarded/308393)

<div class="topic-metadata">

**Author:** [@K\_st\_rs](https://discuss.elastic.co/u/K_st_rs)\
**Replies:** 3\
**Last updated:** [June 29, 2022, 9:09pm UTC](https://discuss.elastic.co/t/enrolling-a-fixed-ip-server-to-a-server-behind-a-dynamic-ip-address-and-a-home-router-with-ports-forwarded/308393 "2022-06-29T21:09:00Z")

</div>

I set up two elasticsearch nodes on two computers on my home network which is reachable from the outside via dynamic IP. They seem to see each other. Ports are open in the router Now I want to add a node on a fixed IP …

---

## [No recovered \[0\] indices into cluster\_state](https://discuss.elastic.co/t/no-recovered-0-indices-into-cluster-state/308369)

<div class="topic-metadata">

**Author:** [@jshamili](https://discuss.elastic.co/u/jshamili)\
**Replies:** 3\
**Last updated:** [June 29, 2022, 9:06pm UTC](https://discuss.elastic.co/t/no-recovered-0-indices-into-cluster-state/308369 "2022-06-29T21:06:34Z")

</div>

Can anyone help: This is a prod environment and fresh install. No issue in Dev env its totally working Es version: "name" : "cnfdoqprels01", "cluster\_name" : "bitbucketES", "cluster\_uuid" : "gdT4F-bnS0ifFam9wSOWEQ", …

---

## [Getting routing\_state failed after importing huggingface model](https://discuss.elastic.co/t/getting-routing-state-failed-after-importing-huggingface-model/308505)

<div class="topic-metadata">

**Author:** [@jyang](https://discuss.elastic.co/u/jyang)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 8:15pm UTC](https://discuss.elastic.co/t/getting-routing-state-failed-after-importing-huggingface-model/308505 "2022-06-29T20:15:20Z")

</div>

I'm using elasticsearch 8.2.3, docker version locally with a free trial license. I imported this model with eland: eland\_import\_hub\_model --url http://localhost:9203 --hub-model-id sentence-transformers/distilbert-base…

---

## [Index structure suggestions](https://discuss.elastic.co/t/index-structure-suggestions/308511)

<div class="topic-metadata">

**Author:** [@Jaib](https://discuss.elastic.co/u/Jaib)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 7:04pm UTC](https://discuss.elastic.co/t/index-structure-suggestions/308511 "2022-06-29T19:04:11Z")

</div>

Hi, I would like some advice on how to structure my data. I have some products, approx 37000 { "name": "product1", "sku": "sku\_1", "categories": \["cat1", "cat2"\] } I have some physical stores approx 300 { "id": …

---

## [Username/password prompt 8.3.0](https://discuss.elastic.co/t/username-password-prompt-8-3-0/308494)

<div class="topic-metadata">

**Author:** [@GrahamMarval](https://discuss.elastic.co/u/GrahamMarval)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 4:41pm UTC](https://discuss.elastic.co/t/username-password-prompt-8-3-0/308494 "2022-06-29T16:41:09Z")

</div>

I apologise if this is the wrong place (and a daft question) but I have a question regarding ElasticSearch 8.3.0 and user password. In previous versions, once I have installed the ElasticSearch service ("elasticsearch-s…

---

## [Access Nested Objects using Painless for Alerting to Create Trigger Condition](https://discuss.elastic.co/t/access-nested-objects-using-painless-for-alerting-to-create-trigger-condition/308500)

<div class="topic-metadata">

**Author:** [@Divyank\_Mahalle](https://discuss.elastic.co/u/Divyank_Mahalle)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 4:26pm UTC](https://discuss.elastic.co/t/access-nested-objects-using-painless-for-alerting-to-create-trigger-condition/308500 "2022-06-29T16:26:40Z")

</div>

I tried creating Trigger condition in Monitor.I was trying to extract fields present in \_source which is giving error "reason" : "Illegal list shortcut value \[\_source\].". DSL Extraction Query- { "size": 1, "sor…

---

## [Sorted Pagination on Composite Aggregation](https://discuss.elastic.co/t/sorted-pagination-on-composite-aggregation/308498)

<div class="topic-metadata">

**Author:** [@Mohammad\_Musharraf](https://discuss.elastic.co/u/Mohammad_Musharraf)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 4:19pm UTC](https://discuss.elastic.co/t/sorted-pagination-on-composite-aggregation/308498 "2022-06-29T16:19:36Z")

</div>

I have ElasticSearch 7.1 documents with following mappings:- { "event" : { "mappings" : { "properties" : { "Code1" : { "type" : "keyword" }, "Code2" : { "type" : "…

---

## [Cannot add a value for field \[stepContexts.pageContext.metas\] since one of the intermediate objects is mapped as a nested object: \[stepContexts\]](https://discuss.elastic.co/t/cannot-add-a-value-for-field-stepcontexts-pagecontext-metas-since-one-of-the-intermediate-objects-is-mapped-as-a-nested-object-stepcontexts/308122)

<div class="topic-metadata">

**Author:** [@Sohaib\_Ameen](https://discuss.elastic.co/u/Sohaib_Ameen)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 4:13pm UTC](https://discuss.elastic.co/t/cannot-add-a-value-for-field-stepcontexts-pagecontext-metas-since-one-of-the-intermediate-objects-is-mapped-as-a-nested-object-stepcontexts/308122 "2022-06-29T16:13:31Z")

</div>

"stepContexts" : { "type" : "nested", "properties" : { "additionalContext" : { "type" : "text", "analyzer" : "custom\_analyzer" }, "branchId" : { …

---

## [Alternatives to stemming for plural search term match](https://discuss.elastic.co/t/alternatives-to-stemming-for-plural-search-term-match/308111)

<div class="topic-metadata">

**Author:** [@ano](https://discuss.elastic.co/u/ano)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 4:09pm UTC](https://discuss.elastic.co/t/alternatives-to-stemming-for-plural-search-term-match/308111 "2022-06-29T16:09:30Z")

</div>

Hi all, I have a use case where I want a match when the search string is a plural of a word that's in the index. So, for eg, if the word "Sweet" is indexed, then a search term "Sweets" should match. I know this can be d…

---

## [Mapper\_parsing\_exception when indexing JSON with id property name](https://discuss.elastic.co/t/mapper-parsing-exception-when-indexing-json-with-id-property-name/308493)

<div class="topic-metadata">

**Author:** [@paolovalladolid](https://discuss.elastic.co/u/paolovalladolid)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 3:55pm UTC](https://discuss.elastic.co/t/mapper-parsing-exception-when-indexing-json-with-id-property-name/308493 "2022-06-29T15:55:26Z")

</div>

This is the error message: Elasticsearch.Net.ElasticsearchClientException: 'Request failed to execute. Call: Status code 400 from: PUT /developer-api-portal/\_doc/d63ec56a-c5af-4c1c-a0e0-14340658aa86. ServerError: Type: …

---

## [Aggregations by combining in/out datetimes to get inventory over time](https://discuss.elastic.co/t/aggregations-by-combining-in-out-datetimes-to-get-inventory-over-time/308484)

<div class="topic-metadata">

**Author:** [@mattvl](https://discuss.elastic.co/u/mattvl)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 2:40pm UTC](https://discuss.elastic.co/t/aggregations-by-combining-in-out-datetimes-to-get-inventory-over-time/308484 "2022-06-29T14:40:33Z")

</div>

I have several inventory documents stored in elasticsearch, here is a simplified example (dates in database format YYYY-MM-DD): \[ {"item\_id": "a1", "in": "2020-12-01", "out": "2021-02-03"}, {"item\_id": "b2", "in…

---

## [Configured ELK Basic TLS Security](https://discuss.elastic.co/t/configured-elk-basic-tls-security/308387)

<div class="topic-metadata">

**Author:** [@ftayyab](https://discuss.elastic.co/u/ftayyab)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 2:34pm UTC](https://discuss.elastic.co/t/configured-elk-basic-tls-security/308387 "2022-06-29T14:34:06Z")

</div>

Hi, I have been able to follow the documentation and generate my own certificates and used them in Elasticsearch for Transport and HTTP security. Elasticsearch is up and running. I have also been able to establish conne…

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

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