# Elasticsearch

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

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

**Page:** 695

---

## [Java high level client 7.10 shard successful 0 when took \> 1000](https://discuss.elastic.co/t/java-high-level-client-7-10-shard-successful-0-when-took-1000/265291)

<div class="topic-metadata">

**Author:** [@ZorroYue](https://discuss.elastic.co/u/ZorroYue)\
**Replies:** 2\
**Last updated:** [February 26, 2021, 9:32am UTC](https://discuss.elastic.co/t/java-high-level-client-7-10-shard-successful-0-when-took-1000/265291 "2021-02-26T09:32:48Z")

</div>

Hi I'm using java high level client to execute aggregation。 when the took in response gt 1000,it give a wrong result like below( it always ok when i do it in kibana): { "took": 1002, "timed\_out": false, "terminat…

---

## [High level client parse aggregation in response of GetAsyncSearchRequest failed](https://discuss.elastic.co/t/high-level-client-parse-aggregation-in-response-of-getasyncsearchrequest-failed/265582)

<div class="topic-metadata">

**Author:** [@ZorroYue](https://discuss.elastic.co/u/ZorroYue)\
**Replies:** 0\
**Last updated:** [February 26, 2021, 9:14am UTC](https://discuss.elastic.co/t/high-level-client-parse-aggregation-in-response-of-getasyncsearchrequest-failed/265582 "2021-02-26T09:14:48Z")

</div>

Hi i got problem that high level client parse aggregation in response of GetAsyncSearchRequest failed.Get async request in kibana as: GET /\_async\_search/FjJxanhwbHpoUS1lUXFDU2M1ajEyVHcdVnp4Z09RT3VTdjZYZWxDUUx3dDRMUTox…

---

## [Delete .reporting index](https://discuss.elastic.co/t/delete-reporting-index/265417)

<div class="topic-metadata">

**Author:** [@Tiephen](https://discuss.elastic.co/u/Tiephen)\
**Replies:** 2\
**Last updated:** [February 26, 2021, 8:37am UTC](https://discuss.elastic.co/t/delete-reporting-index/265417 "2021-02-26T08:37:48Z")

</div>

Hello, I use watcher to generate lots of pdf report. I have automatically many .reporting index each 3 days so too many index in my elastic cluster. I would like try to delete automatically index after some time. Is …

---

## [Index Mapping- Update API](https://discuss.elastic.co/t/index-mapping-update-api/265515)

<div class="topic-metadata">

**Author:** [@leemase004](https://discuss.elastic.co/u/leemase004)\
**Replies:** 2\
**Last updated:** [February 26, 2021, 2:42am UTC](https://discuss.elastic.co/t/index-mapping-update-api/265515 "2021-02-26T02:42:32Z")

</div>

We found an error in our index mapping and have successfully fixed the issue- all future indices will have the correct mapping; however, we are now looking to go back and fix all the old indices that have the incorrect m…

---

## [Failed to start LSB, and Elasticsearch startup script does not exist or is not executable](https://discuss.elastic.co/t/failed-to-start-lsb-and-elasticsearch-startup-script-does-not-exist-or-is-not-executable/265351)

<div class="topic-metadata">

**Author:** [@PSandusky](https://discuss.elastic.co/u/PSandusky)\
**Replies:** 7\
**Last updated:** [February 26, 2021, 1:22am UTC](https://discuss.elastic.co/t/failed-to-start-lsb-and-elasticsearch-startup-script-does-not-exist-or-is-not-executable/265351 "2021-02-26T01:22:51Z")

</div>

I've been having a rough time getting Elasticsearch to start at all. On the most recent attempt, I got a response that the startup script did not exist or was not executable. When I pulled systemctl status and then journ…

---

## [Spanish stemming not working with 4 or less letter words](https://discuss.elastic.co/t/spanish-stemming-not-working-with-4-or-less-letter-words/265554)

<div class="topic-metadata">

**Author:** [@eperezf](https://discuss.elastic.co/u/eperezf)\
**Replies:** 0\
**Last updated:** [February 26, 2021, 12:11am UTC](https://discuss.elastic.co/t/spanish-stemming-not-working-with-4-or-less-letter-words/265554 "2021-02-26T00:11:59Z")

</div>

Hello! When trying to do stemming in spanish of 4 or less letter words, the stemming algorithm ignores them completely. For example, "roja" should return the following token "roj" due to the feminine/masculine form of …

---

## [TIme series based index strategy](https://discuss.elastic.co/t/time-series-based-index-strategy/265445)

<div class="topic-metadata">

**Author:** [@Kalpa](https://discuss.elastic.co/u/Kalpa)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 11:06pm UTC](https://discuss.elastic.co/t/time-series-based-index-strategy/265445 "2021-02-25T23:06:59Z")

</div>

Hi All, I was looking into Indexint Strategy for multitenancy, i see that 1) user based index with shared index and big customers isolated index strategy. 2) time series based. any thought on clubbiing time based inde…

---

## [If I want Q&A system, should I use Elasticsearch or IBM Watson Discovery?](https://discuss.elastic.co/t/if-i-want-q-a-system-should-i-use-elasticsearch-or-ibm-watson-discovery/265469)

<div class="topic-metadata">

**Author:** [@Cloud9Clone](https://discuss.elastic.co/u/Cloud9Clone)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 11:05pm UTC](https://discuss.elastic.co/t/if-i-want-q-a-system-should-i-use-elasticsearch-or-ibm-watson-discovery/265469 "2021-02-25T23:05:23Z")

</div>

Hello everyone, I am new to the elasticsearch and as such I would like to ask you for your meaning. In front of me stays a project where I save Q&A pairs in a database and then when a question is asked I would like to r…

---

## [Running Elasticsearch on Eclipse OpenJ9 JVM](https://discuss.elastic.co/t/running-elasticsearch-on-eclipse-openj9-jvm/265523)

<div class="topic-metadata">

**Author:** [@Naoshad\_Mehta](https://discuss.elastic.co/u/Naoshad_Mehta)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 11:03pm UTC](https://discuss.elastic.co/t/running-elasticsearch-on-eclipse-openj9-jvm/265523 "2021-02-25T23:03:58Z")

</div>

We have been using Elasticsearch with AdoptJDK11 + Eclipse OpenJ9 JVM and it has worked well for the most part. We have lately been seeing some weird issues related to Garbage Collection and so were wondering why Elastic…

---

## [Aggregate sum wrong with huge datasets](https://discuss.elastic.co/t/aggregate-sum-wrong-with-huge-datasets/265549)

<div class="topic-metadata">

**Author:** [@Giovanni\_Di\_Lembo](https://discuss.elastic.co/u/Giovanni_Di_Lembo)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 10:05pm UTC](https://discuss.elastic.co/t/aggregate-sum-wrong-with-huge-datasets/265549 "2021-02-25T22:05:20Z")

</div>

Hi all and sorry for my poor english. Hi have data like that: { "\_index": "statistic", "\_type": "\_doc", "\_id": "df5d295f-99bf-49b3-b640-a9000461de3a", "\_score": 1.0, "\_source":{ "\_class": "com.x.dsp.elasticssearc…

---

## [ECS Tooling to HttpTriggered Azure Function](https://discuss.elastic.co/t/ecs-tooling-to-httptriggered-azure-function/265544)

<div class="topic-metadata">

**Author:** [@mxu](https://discuss.elastic.co/u/mxu)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 9:13pm UTC](https://discuss.elastic.co/t/ecs-tooling-to-httptriggered-azure-function/265544 "2021-02-25T21:13:44Z")

</div>

Hi, we have been using ECS Tooling to generate index templates with custom schemas. We plan to have that as HttpTriggered Azure Function which takes in custom schema in the request and generates template dynamically. …

---

## [Pre-filtering for \_termvectors API to get statistics on a subset of documents](https://discuss.elastic.co/t/pre-filtering-for-termvectors-api-to-get-statistics-on-a-subset-of-documents/265540)

<div class="topic-metadata">

**Author:** [@bbaronas](https://discuss.elastic.co/u/bbaronas)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 8:42pm UTC](https://discuss.elastic.co/t/pre-filtering-for-termvectors-api-to-get-statistics-on-a-subset-of-documents/265540 "2021-02-25T20:42:33Z")

</div>

Is there a way to pre-filter documents for the \_termvector API to get statistics limited to a subset of the documents in an index? I would like to use the term vector API to look at tf/idf, etc. for items in my index, b…

---

## [For the same data with date format search works in Elasticsearch 6.x.But, it do not work on 7.x](https://discuss.elastic.co/t/for-the-same-data-with-date-format-search-works-in-elasticsearch-6-x-but-it-do-not-work-on-7-x/265536)

<div class="topic-metadata">

**Author:** [@Bharath\_Italapur](https://discuss.elastic.co/u/Bharath_Italapur)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 8:12pm UTC](https://discuss.elastic.co/t/for-the-same-data-with-date-format-search-works-in-elasticsearch-6-x-but-it-do-not-work-on-7-x/265536 "2021-02-25T20:12:53Z")

</div>

Hi, The search with timestamp is not working for the 12-hour date format on 7.X . Please help me understand or fix the issue posted below. Thank you for the help. ------- This is the date format we are using. PUT test …

---

## [Conundrum with repositories](https://discuss.elastic.co/t/conundrum-with-repositories/265247)

<div class="topic-metadata">

**Author:** [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Replies:** 5\
**Last updated:** [February 25, 2021, 6:08pm UTC](https://discuss.elastic.co/t/conundrum-with-repositories/265247 "2021-02-25T18:08:15Z")

</div>

when I query my repositories using the API I get a list of the repositories as expected: http://localhost:9200/\_snapshot/\*?pretty { "version6" : { "type" : "fs", "settings" : { "location" : "/data/elast…

---

## [How to setup elasticsearch warm node](https://discuss.elastic.co/t/how-to-setup-elasticsearch-warm-node/264805)

<div class="topic-metadata">

**Author:** [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 5:30pm UTC](https://discuss.elastic.co/t/how-to-setup-elasticsearch-warm-node/264805 "2021-02-25T17:30:37Z")

</div>

I have 8 node elasticsearch cluster (3 Master+3Hot data node+2Warm data node).At beginning all the indices like metricbeat and system indices were on hot node and warm node after sometime i ran the following query. PUT…

---

## [ILM policy trigerring late](https://discuss.elastic.co/t/ilm-policy-trigerring-late/265436)

<div class="topic-metadata">

**Author:** [@maheshe](https://discuss.elastic.co/u/maheshe)\
**Replies:** 2\
**Last updated:** [February 25, 2021, 5:27pm UTC](https://discuss.elastic.co/t/ilm-policy-trigerring-late/265436 "2021-02-25T17:27:19Z")

</div>

Hi : I am trying to dev test the ILM template by specifying the below... The rollover happens after a few minutes and after it reaches like 750KB instead of 10 KB as mentioned in ILM. Why is it not rolling over as soon…

---

## [Geo shape query radius problem](https://discuss.elastic.co/t/geo-shape-query-radius-problem/265323)

<div class="topic-metadata">

**Author:** [@Fatih\_Kurnaz](https://discuss.elastic.co/u/Fatih_Kurnaz)\
**Replies:** 3\
**Last updated:** [February 25, 2021, 3:36pm UTC](https://discuss.elastic.co/t/geo-shape-query-radius-problem/265323 "2021-02-25T15:36:33Z")

</div>

Hi everyone; Here my mapping; \</\> PUT /circle-example { "mappings": { "properties": { "location": { "type": "geo\_shape", "strategy": "recursive" } } } } \</\> Here example docum…

---

## [Avoid override of log4j2.properties during upgrade](https://discuss.elastic.co/t/avoid-override-of-log4j2-properties-during-upgrade/265505)

<div class="topic-metadata">

**Author:** [@ALIT](https://discuss.elastic.co/u/ALIT)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 3:20pm UTC](https://discuss.elastic.co/t/avoid-override-of-log4j2-properties-during-upgrade/265505 "2021-02-25T15:20:45Z")

</div>

Hi, we want to edit our log4j2.properties to change the rotation of deprecation logs. But with upgrading ES (Ubuntu - APT) we need to merge the file with a new one (if there are any changes in the new version). Its eve…

---

## [ES 1.7.3 Elasticsearch java client significant terms aggregation unknown values](https://discuss.elastic.co/t/es-1-7-3-elasticsearch-java-client-significant-terms-aggregation-unknown-values/265504)

<div class="topic-metadata">

**Author:** [@IvannKurchenko](https://discuss.elastic.co/u/IvannKurchenko)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 3:14pm UTC](https://discuss.elastic.co/t/es-1-7-3-elasticsearch-java-client-significant-terms-aggregation-unknown-values/265504 "2021-02-25T15:14:14Z")

</div>

Hello, Elasticsearch Community! Out team currently on way of migration legacy project from Elasticsearch v1.7.3 to v7.8.0. It's in most part written in Scala, so along with this we would like to replace Java client : or…

---

## [Elasticsearch keystore distinguished name](https://discuss.elastic.co/t/elasticsearch-keystore-distinguished-name/265372)

<div class="topic-metadata">

**Author:** [@dzyubanv](https://discuss.elastic.co/u/dzyubanv)\
**Replies:** 2\
**Last updated:** [February 24, 2021, 10:22pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-distinguished-name/265372 "2021-02-24T22:22:38Z")

</div>

Hi elastic engineers, Is there a way to create/generate/rename and use distinguished elasticsearch keystore file name instead of default name elasticsearch.keystore ? I'm running multiple elasticsearch clusters (v.7.9/…

---

## [Aggregation over big data](https://discuss.elastic.co/t/aggregation-over-big-data/265486)

<div class="topic-metadata">

**Author:** [@Filip\_Sirc](https://discuss.elastic.co/u/Filip_Sirc)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 2:22pm UTC](https://discuss.elastic.co/t/aggregation-over-big-data/265486 "2021-02-25T14:22:47Z")

</div>

Hello, i would like to ask you for advice. I have index with milions of documents and need to query it (query will return cca. 100 000 documents) and use results for aggregations. My current code is: { "query": { …

---

## [Wildcard query rewrite parameter not working with new wildcard field type?](https://discuss.elastic.co/t/wildcard-query-rewrite-parameter-not-working-with-new-wildcard-field-type/265453)

<div class="topic-metadata">

**Author:** [@cads](https://discuss.elastic.co/u/cads)\
**Replies:** 3\
**Last updated:** [February 25, 2021, 1:48pm UTC](https://discuss.elastic.co/t/wildcard-query-rewrite-parameter-not-working-with-new-wildcard-field-type/265453 "2021-02-25T13:48:53Z")

</div>

The Wildcard Query offers a rewrite parameter to influence how Lucene calculates the relevance scores. On keyword fields this works as expected but it does not seem to work with the new wildcard field type which belongs …

---

## [Generating the password hash](https://discuss.elastic.co/t/generating-the-password-hash/262432)

<div class="topic-metadata">

**Author:** [@mchudinov](https://discuss.elastic.co/u/mchudinov)\
**Replies:** 7\
**Last updated:** [February 25, 2021, 2:05pm UTC](https://discuss.elastic.co/t/generating-the-password-hash/262432 "2021-02-25T14:05:28Z")

</div>

How to generate a hash for file realm? as described here: I use Elasticsearch in K8S ECK and use this document for define users: kind: Secret apiVersion: v1 metadata: name: my-filerealm-secret…

---

## [Node couldn't rejoin cluster because "version not supported"](https://discuss.elastic.co/t/node-couldnt-rejoin-cluster-because-version-not-supported/265473)

<div class="topic-metadata">

**Author:** [@mikewillis](https://discuss.elastic.co/u/mikewillis)\
**Replies:** 2\
**Last updated:** [February 25, 2021, 1:21pm UTC](https://discuss.elastic.co/t/node-couldnt-rejoin-cluster-because-version-not-supported/265473 "2021-02-25T13:21:43Z")

</div>

I've got an Elasticsearch cluster of four nodes. Three can hold data and are master eligible. One cannot hold data, isn't master eligible and has Kibana on it. Two of the master eligible nodes became unhappy resulting in…

---

## [Date Math Support in index names while defining SLM policy](https://discuss.elastic.co/t/date-math-support-in-index-names-while-defining-slm-policy/263613)

<div class="topic-metadata">

**Author:** [@ParashB](https://discuss.elastic.co/u/ParashB)\
**Replies:** 3\
**Last updated:** [February 25, 2021, 12:04pm UTC](https://discuss.elastic.co/t/date-math-support-in-index-names-while-defining-slm-policy/263613 "2021-02-25T12:04:14Z")

</div>

Hi, I want to backup only last months index using SLM policy and trying to use date Math while configuring the indices in SLM policy. Unfortunately, it doesn't work and can't find the index. However the same date math p…

---

## [Inner\_hits segment omitted while querying with elasticsearch-hadoop](https://discuss.elastic.co/t/inner-hits-segment-omitted-while-querying-with-elasticsearch-hadoop/265464)

<div class="topic-metadata">

**Author:** [@siddharthsourabh](https://discuss.elastic.co/u/siddharthsourabh)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 10:35am UTC](https://discuss.elastic.co/t/inner-hits-segment-omitted-while-querying-with-elasticsearch-hadoop/265464 "2021-02-25T10:35:00Z")

</div>

A query with inner\_hits is only returning the \_source segment from within all the hits, and the inner\_hits are being ignored. The ScrollReader only has logic to extract \_source & id fields, see here - https://github.com/…

---

## [Agent can't sent data to host](https://discuss.elastic.co/t/agent-cant-sent-data-to-host/264393)

<div class="topic-metadata">

**Author:** [@Wan\_IndyKz](https://discuss.elastic.co/u/Wan_IndyKz)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 10:15am UTC](https://discuss.elastic.co/t/agent-cant-sent-data-to-host/264393 "2021-02-25T10:15:16Z")

</div>

Agent can't sent data to host Behind Agent config "Default config" haven't "rev. xx" and status swap to offline Error Message Application: endpoint-security--7:9 3 \[abe34abd -8a88-4f6e-942c-87 442addd7 aa\]: State c…

---

## [Unexpected Shingle Behaviour](https://discuss.elastic.co/t/unexpected-shingle-behaviour/265461)

<div class="topic-metadata">

**Author:** [@rishabhm12](https://discuss.elastic.co/u/rishabhm12)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 9:48am UTC](https://discuss.elastic.co/t/unexpected-shingle-behaviour/265461 "2021-02-25T09:48:17Z")

</div>

Hey, I have a field locality in my index having 'ashok vihar phase 2' as one of the document. The corresponding setting is {"settings": { "analysis": { "analyzer": { "custom\_analyzer": …

---

## [How to query geo data from Elastic Maps Service](https://discuss.elastic.co/t/how-to-query-geo-data-from-elastic-maps-service/265334)

<div class="topic-metadata">

**Author:** [@Zhifei](https://discuss.elastic.co/u/Zhifei)\
**Replies:** 2\
**Last updated:** [February 25, 2021, 10:03am UTC](https://discuss.elastic.co/t/how-to-query-geo-data-from-elastic-maps-service/265334 "2021-02-25T10:03:32Z")

</div>

Hi, I found Elastic recently introduced a new brilliant feature called Elastic Maps Service, and I have tried to create Maps with it by adding Vector Layers. I wonder can I query the GeoJSON data of each of the Vector L…

---

## [I want to get the list of fields where matched in records (search explanation)](https://discuss.elastic.co/t/i-want-to-get-the-list-of-fields-where-matched-in-records-search-explanation/265460)

<div class="topic-metadata">

**Author:** [@VladimirI](https://discuss.elastic.co/u/VladimirI)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 9:38am UTC](https://discuss.elastic.co/t/i-want-to-get-the-list-of-fields-where-matched-in-records-search-explanation/265460 "2021-02-25T09:38:10Z")

</div>

The only closest thing I found is to request an explanation that has the field name as part of description, something like weight(fieldName:1 in 0) \[PerFieldSimilarity\], result of: But the field name here is not access…

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

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