# Elasticsearch

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

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

**Page:** 571

---

## [Multiple index Search using php client](https://discuss.elastic.co/t/multiple-index-search-using-php-client/284839)

<div class="topic-metadata">

**Author:** [@Jihad\_Abdulrazaq](https://discuss.elastic.co/u/Jihad_Abdulrazaq)\
**Replies:** 3\
**Last updated:** [September 22, 2021, 10:49pm UTC](https://discuss.elastic.co/t/multiple-index-search-using-php-client/284839 "2021-09-22T22:49:24Z")

</div>

Hello All, When searching across multiple indices, how to get the index name in search results using php client methods? Please your support, thanks all.

---

## [ELK SIZING](https://discuss.elastic.co/t/elk-sizing/284945)

<div class="topic-metadata">

**Author:** [@frank\_rib](https://discuss.elastic.co/u/frank_rib)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 9:52pm UTC](https://discuss.elastic.co/t/elk-sizing/284945 "2021-09-22T21:52:41Z")

</div>

Hello Evry body, I want to deploy an ELK with the architecture: Server for master node (kibana) Server for Elasticsearch hot Server fot Elasticsearch WARM Server logstash With 23 GB data by day and the re…

---

## [Snapshot Restore - Index green & present with data, but missing data](https://discuss.elastic.co/t/snapshot-restore-index-green-present-with-data-but-missing-data/284944)

<div class="topic-metadata">

**Author:** [@elasticband](https://discuss.elastic.co/u/elasticband)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 9:30pm UTC](https://discuss.elastic.co/t/snapshot-restore-index-green-present-with-data-but-missing-data/284944 "2021-09-22T21:30:53Z")

</div>

Hello everyone, I am fairly new to this whole ES thing, but I am getting through the trial by fire on my first misconfiguration. I ended up doing a snapshots from my multi node cluster and restored it to a single node t…

---

## [Elasticsearch missing results and incorrect sorting](https://discuss.elastic.co/t/elasticsearch-missing-results-and-incorrect-sorting/284930)

<div class="topic-metadata">

**Author:** [@Mike\_Miller](https://discuss.elastic.co/u/Mike_Miller)\
**Replies:** 2\
**Last updated:** [September 22, 2021, 8:30pm UTC](https://discuss.elastic.co/t/elasticsearch-missing-results-and-incorrect-sorting/284930 "2021-09-22T20:30:12Z")

</div>

I have Elasticsearch setup for searching book content. It works for the most part, however it frequently misses single search terms, especially in the 'entryTitle'. An example is in one book there is a Section title call…

---

## [Convert int to DateTime in Nest query?](https://discuss.elastic.co/t/convert-int-to-datetime-in-nest-query/284937)

<div class="topic-metadata">

**Author:** [@bensalerno](https://discuss.elastic.co/u/bensalerno)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 7:45pm UTC](https://discuss.elastic.co/t/convert-int-to-datetime-in-nest-query/284937 "2021-09-22T19:45:53Z")

</div>

I am attempting to query an ES cluster through Nest. However, I'm having an issue because my types are not matching. This is the C# side: As you can see CreatedTimeStamp is a DateTime. However, this is what I recei…

---

## [Elastic search will not bind to port 80 (no web server is running)](https://discuss.elastic.co/t/elastic-search-will-not-bind-to-port-80-no-web-server-is-running/284658)

<div class="topic-metadata">

**Author:** [@lsnwebmaster](https://discuss.elastic.co/u/lsnwebmaster)\
**Replies:** 6\
**Last updated:** [September 22, 2021, 7:30pm UTC](https://discuss.elastic.co/t/elastic-search-will-not-bind-to-port-80-no-web-server-is-running/284658 "2021-09-22T19:30:55Z")

</div>

I am trying elasticsearch as a standalone search for WordPress. I created a new server on Ubuntu 20.04 LTS with nothing but elasticsearch. I did nothing to the config file, accepting all defaults. It started fine on port…

---

## [APT repository failing](https://discuss.elastic.co/t/apt-repository-failing/284915)

<div class="topic-metadata">

**Author:** [@armov](https://discuss.elastic.co/u/armov)\
**Replies:** 3\
**Last updated:** [September 22, 2021, 6:55pm UTC](https://discuss.elastic.co/t/apt-repository-failing/284915 "2021-09-22T18:55:45Z")

</div>

Elasticsearch repository in a Ubuntu focal 20.04 throws the following error while attempting to update apt: E: Failed to fetch https://artifacts.elastic.co/packages/7.x/apt/dists/stable/main/binary-amd64/Packages.bz2 F…

---

## [Elasticsearch System Parameter for ASYNC IO](https://discuss.elastic.co/t/elasticsearch-system-parameter-for-async-io/284750)

<div class="topic-metadata">

**Author:** [@tusharnemade](https://discuss.elastic.co/u/tusharnemade)\
**Replies:** 7\
**Last updated:** [September 22, 2021, 5:50pm UTC](https://discuss.elastic.co/t/elasticsearch-system-parameter-for-async-io/284750 "2021-09-22T17:50:15Z")

</div>

Hello Team I am using Elasticsearch version 7.8.0. I understand that Elasticsearch uses ASYNC IO to perform document indexing ... I would like to know in /etc/sysctl.conf minimum values required for ASYNC IO aio-max…

---

## [Default Name Inferrer not working?](https://discuss.elastic.co/t/default-name-inferrer-not-working/284910)

<div class="topic-metadata">

**Author:** [@bensalerno](https://discuss.elastic.co/u/bensalerno)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 5:08pm UTC](https://discuss.elastic.co/t/default-name-inferrer-not-working/284910 "2021-09-22T17:08:42Z")

</div>

I believe that I'm having trouble with field capitalization in my Nest queries on this topic. ElasticSearch Nest query returning Null values for every field? I was told to try adding .DefaultFieldNameInferrer(p =\> p) t…

---

## [Array index out of bound exception](https://discuss.elastic.co/t/array-index-out-of-bound-exception/283451)

<div class="topic-metadata">

**Author:** [@auto\_reply\_007](https://discuss.elastic.co/u/auto_reply_007)\
**Replies:** 14\
**Last updated:** [September 22, 2021, 4:44pm UTC](https://discuss.elastic.co/t/array-index-out-of-bound-exception/283451 "2021-09-22T16:44:42Z")

</div>

Hello! i have snapshot repository which is located on NFS share, and i'm try to register repo from my local ES instance and got strange error curl -X PUT "192.168.2.11:9200/\_snapshot/delete\_after\_read?pretty" -H 'Conte…

---

## [Is it possible to change document id?](https://discuss.elastic.co/t/is-it-possible-to-change-document-id/284842)

<div class="topic-metadata">

**Author:** [@vovakor1](https://discuss.elastic.co/u/vovakor1)\
**Replies:** 2\
**Last updated:** [September 22, 2021, 4:23pm UTC](https://discuss.elastic.co/t/is-it-possible-to-change-document-id/284842 "2021-09-22T16:23:50Z")

</div>

Could someone help, please? How can I change document id which is used in URL: \<index\_name\>/\_doc/\<id\>

---

## [Rate aggregation in Java client](https://discuss.elastic.co/t/rate-aggregation-in-java-client/284897)

<div class="topic-metadata">

**Author:** [@gaczm](https://discuss.elastic.co/u/gaczm)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 3:28pm UTC](https://discuss.elastic.co/t/rate-aggregation-in-java-client/284897 "2021-09-22T15:28:50Z")

</div>

Hi, I'm looking for a way to use rate aggregation in Java High Level Client. I haven't found anything about this in docs. I've also looked through source code, but without a luck.

---

## [Filters Aggregation performance](https://discuss.elastic.co/t/filters-aggregation-performance/284894)

<div class="topic-metadata">

**Author:** [@Cristiana\_Tiugan](https://discuss.elastic.co/u/Cristiana_Tiugan)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 3:06pm UTC](https://discuss.elastic.co/t/filters-aggregation-performance/284894 "2021-09-22T15:06:57Z")

</div>

Hello, I have a performance issue regarding the next query. For some context i have a products index on which I have to perform several queries and aggregations based on a configurable set of filters. Now, my index ha…

---

## [How to add fields with special characters using painless scripting(Java ES SDK)](https://discuss.elastic.co/t/how-to-add-fields-with-special-characters-using-painless-scripting-java-es-sdk/284888)

<div class="topic-metadata">

**Author:** [@Rahul\_Balaji](https://discuss.elastic.co/u/Rahul_Balaji)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 2:39pm UTC](https://discuss.elastic.co/t/how-to-add-fields-with-special-characters-using-painless-scripting-java-es-sdk/284888 "2021-09-22T14:39:06Z")

</div>

Hi All, I am using ES Java SDK for my insert/update operation. I am using "update by query" with painless scripting. Everything works well but I am facing issues while indexing data with special characters. Please find …

---

## [ES Indices created by component/index template has mismatch in specified data type](https://discuss.elastic.co/t/es-indices-created-by-component-index-template-has-mismatch-in-specified-data-type/284878)

<div class="topic-metadata">

**Author:** [@Shreesh\_Narayanan](https://discuss.elastic.co/u/Shreesh_Narayanan)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 1:58pm UTC](https://discuss.elastic.co/t/es-indices-created-by-component-index-template-has-mismatch-in-specified-data-type/284878 "2021-09-22T13:58:24Z")

</div>

Hello, I'm using component templates to define mapping and data types (such as long/integer/IP) and have the index templates which inherit these properties . However when the indices are created , the data types are al…

---

## [Failed to write shard level snapshot](https://discuss.elastic.co/t/failed-to-write-shard-level-snapshot/284751)

<div class="topic-metadata">

**Author:** [@francescoo](https://discuss.elastic.co/u/francescoo)\
**Replies:** 2\
**Last updated:** [September 22, 2021, 1:50pm UTC](https://discuss.elastic.co/t/failed-to-write-shard-level-snapshot/284751 "2021-09-22T13:50:34Z")

</div>

Dear all, I hope you can help me to understand the issue we are having performing a snapshot. We have a cluster (Elasticsearch version 7.10.1) of 4 nodes (1 ingest and 3 data/master) running as services on Windows serve…

---

## [Upgrade Elastic from 7.12.0 to 7.12.1 in docker environment](https://discuss.elastic.co/t/upgrade-elastic-from-7-12-0-to-7-12-1-in-docker-environment/284869)

<div class="topic-metadata">

**Author:** [@palomasun](https://discuss.elastic.co/u/palomasun)\
**Replies:** 1\
**Last updated:** [September 22, 2021, 1:17pm UTC](https://discuss.elastic.co/t/upgrade-elastic-from-7-12-0-to-7-12-1-in-docker-environment/284869 "2021-09-22T13:17:11Z")

</div>

Hello, I need to upgrade my Elasticsearch + kibana , from 7.12.0 to 7.12.1. I have it all in docker environment (with a docker composer file), and I am wondering what is the best way to do it? Can I just update the ve…

---

## [Failed to discover Elasticsearch cluster](https://discuss.elastic.co/t/failed-to-discover-elasticsearch-cluster/284865)

<div class="topic-metadata">

**Author:** [@zhaoyi0113](https://discuss.elastic.co/u/zhaoyi0113)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 12:33pm UTC](https://discuss.elastic.co/t/failed-to-discover-elasticsearch-cluster/284865 "2021-09-22T12:33:50Z")

</div>

I tried to deploy two nodes Elasticsearch cluster but failed on discover master node. One node yml file: cluster.name: elk-cluster network.host: "0.0.0.0" bootstrap.memory\_lock: false node.name: master …

---

## [How do I see how many shards a index is using?](https://discuss.elastic.co/t/how-do-i-see-how-many-shards-a-index-is-using/284606)

<div class="topic-metadata">

**Author:** [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Replies:** 5\
**Last updated:** [September 22, 2021, 12:27pm UTC](https://discuss.elastic.co/t/how-do-i-see-how-many-shards-a-index-is-using/284606 "2021-09-22T12:27:42Z")

</div>

Hello To check if something is working correctly, I want to see how many shards a index is using. How can I check this thru the dev console? Thank you.

---

## [Use ILM to reduce the size of an existing index](https://discuss.elastic.co/t/use-ilm-to-reduce-the-size-of-an-existing-index/284709)

<div class="topic-metadata">

**Author:** [@goncalobsantos](https://discuss.elastic.co/u/goncalobsantos)\
**Replies:** 2\
**Last updated:** [September 22, 2021, 10:57am UTC](https://discuss.elastic.co/t/use-ilm-to-reduce-the-size-of-an-existing-index/284709 "2021-09-22T10:57:37Z")

</div>

I have an index that has grown too much and am trying to understand if the index lifecycle management can help me with this problem. The index is approaching the size of 50 GB. From what I have read, I could use ilm to …

---

## [Searching in Logs using wildcards does not work](https://discuss.elastic.co/t/searching-in-logs-using-wildcards-does-not-work/284846)

<div class="topic-metadata">

**Author:** [@Glenn\_Glashagen](https://discuss.elastic.co/u/Glenn_Glashagen)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 10:21am UTC](https://discuss.elastic.co/t/searching-in-logs-using-wildcards-does-not-work/284846 "2021-09-22T10:21:57Z")

</div>

Hey all, I'm trying to search for a logline within the Logtailing tab(part of the Observer features): read 24FPS, detection 24FPS, track 24FPS (0) I can find this logline by using the query: message: track however, if…

---

## [What is the difference b/w Reindexing and Split index](https://discuss.elastic.co/t/what-is-the-difference-b-w-reindexing-and-split-index/284687)

<div class="topic-metadata">

**Author:** [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Replies:** 2\
**Last updated:** [September 22, 2021, 10:00am UTC](https://discuss.elastic.co/t/what-is-the-difference-b-w-reindexing-and-split-index/284687 "2021-09-22T10:00:13Z")

</div>

Just reading something about elasticsearch how it route documents,i saw a term called Split API.What is the use Split API,we have reindex api we have clone api.Want to know the difference between in all this could not un…

---

## [ARM64 support](https://discuss.elastic.co/t/arm64-support/284825)

<div class="topic-metadata">

**Author:** [@Alessio\_Creo](https://discuss.elastic.co/u/Alessio_Creo)\
**Replies:** 1\
**Last updated:** [September 22, 2021, 9:32am UTC](https://discuss.elastic.co/t/arm64-support/284825 "2021-09-22T09:32:45Z")

</div>

Hi there, I wish to know if the arm64 support is now in General Availabilty and supported for production environment. Best regards, Alessio

---

## [Request memory constant increase untill it hits circuit breaker request limit. No drop if we stop queries](https://discuss.elastic.co/t/request-memory-constant-increase-untill-it-hits-circuit-breaker-request-limit-no-drop-if-we-stop-queries/284689)

<div class="topic-metadata">

**Author:** [@dimitris\_sb](https://discuss.elastic.co/u/dimitris_sb)\
**Replies:** 4\
**Last updated:** [September 22, 2021, 9:14am UTC](https://discuss.elastic.co/t/request-memory-constant-increase-untill-it-hits-circuit-breaker-request-limit-no-drop-if-we-stop-queries/284689 "2021-09-22T09:14:52Z")

</div>

Hi All, We noticed that the aggregation query we use to rollup data in a python script is causing our elasticsearch cluster request What we have isolated is that the queries consume memory which is not freed up even w…

---

## [Advance Watcher Script](https://discuss.elastic.co/t/advance-watcher-script/284824)

<div class="topic-metadata">

**Author:** [@Ravishankar\_Rai](https://discuss.elastic.co/u/Ravishankar_Rai)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 9:13am UTC](https://discuss.elastic.co/t/advance-watcher-script/284824 "2021-09-22T09:13:34Z")

</div>

Hi All, I am implementing the uptime alerts for the heartbeat index and my requirement is as below. I want to send an alert to the corresponding monitor mail id from the same index with trigger time =2m when monitor.st…

---

## [How Set Cluster Name for HighLevel Rest Client](https://discuss.elastic.co/t/how-set-cluster-name-for-highlevel-rest-client/284794)

<div class="topic-metadata">

**Author:** [@Sammeta\_David\_Raju](https://discuss.elastic.co/u/Sammeta_David_Raju)\
**Replies:** 11\
**Last updated:** [September 22, 2021, 9:03am UTC](https://discuss.elastic.co/t/how-set-cluster-name-for-highlevel-rest-client/284794 "2021-09-22T09:03:41Z")

</div>

Hi , I am using 7.3.2 version of Elasticsearch ,here I am using HighLevel Rest Client , here how can I set the clustername for which I have changed the default "Elasticsearch" . 1.Do I need to change the cluster Name …

---

## [How do I aggregate based on these fields?](https://discuss.elastic.co/t/how-do-i-aggregate-based-on-these-fields/284821)

<div class="topic-metadata">

**Author:** [@blueren](https://discuss.elastic.co/u/blueren)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 9:02am UTC](https://discuss.elastic.co/t/how-do-i-aggregate-based-on-these-fields/284821 "2021-09-22T09:02:54Z")

</div>

Hi all, I'm trying to come up with a query that results in a table that is similar to: SourceCity | dstCity | dstCountry | dstCountryISO | total sum of flows | total data transferred cityA | cityB | countryB | CB | 15…

---

## [Why term query not returning the document that contains the exact term in 7.3.2](https://discuss.elastic.co/t/why-term-query-not-returning-the-document-that-contains-the-exact-term-in-7-3-2/284540)

<div class="topic-metadata">

**Author:** [@Lee\_Copper](https://discuss.elastic.co/u/Lee_Copper)\
**Replies:** 5\
**Last updated:** [September 22, 2021, 7:24am UTC](https://discuss.elastic.co/t/why-term-query-not-returning-the-document-that-contains-the-exact-term-in-7-3-2/284540 "2021-09-22T07:24:44Z")

</div>

I have a order\_no with value '100000076268946605' in my index. The following term query does not return me the document with order\_no '100000076268946605': { "query": { "term": { "order\_no": { …

---

## [Shards of an index present only in one node in a multinode cluster](https://discuss.elastic.co/t/shards-of-an-index-present-only-in-one-node-in-a-multinode-cluster/284805)

<div class="topic-metadata">

**Author:** [@Srinivas1602](https://discuss.elastic.co/u/Srinivas1602)\
**Replies:** 4\
**Last updated:** [September 22, 2021, 7:18am UTC](https://discuss.elastic.co/t/shards-of-an-index-present-only-in-one-node-in-a-multinode-cluster/284805 "2021-09-22T07:18:37Z")

</div>

Hi, I have a multinode Elasticsearch setup with one master node and two data nodes. I created an index with number of shards as 2 and number of replicas as 1 and inserted the data in the index. However I see that both …

---

## [How to extract error root cause reason using Java RestHighLevelClient?](https://discuss.elastic.co/t/how-to-extract-error-root-cause-reason-using-java-resthighlevelclient/284801)

<div class="topic-metadata">

**Author:** [@Nishikant\_Tayade](https://discuss.elastic.co/u/Nishikant_Tayade)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 5:15am UTC](https://discuss.elastic.co/t/how-to-extract-error-root-cause-reason-using-java-resthighlevelclient/284801 "2021-09-22T05:15:07Z")

</div>

Hi, I am trying to perform a wildcard query on date type, which is not allowed by ES, so I see an exception being thrown from ES as below: { "error": { "root\_cause": \[ { "type": "query\_shard\_excepti…

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

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