# Elasticsearch

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

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

**Page:** 625

---

## [Elastic simple query with wildcard](https://discuss.elastic.co/t/elastic-simple-query-with-wildcard/276441)

<div class="topic-metadata">

**Author:** [@Vinoth\_G](https://discuss.elastic.co/u/Vinoth_G)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 8:42am UTC](https://discuss.elastic.co/t/elastic-simple-query-with-wildcard/276441 "2021-06-21T08:42:31Z")

</div>

I am new to elastic and planning to migrate my application from algolia to elastic cloud. In algolia after creating an index and writing a document I can search by passing a search query, no need to specify wildcard pat…

---

## [Getting Elasticsearch exception while indexing using Python script](https://discuss.elastic.co/t/getting-elasticsearch-exception-while-indexing-using-python-script/276299)

<div class="topic-metadata">

**Author:** [@ravi-shanker](https://discuss.elastic.co/u/ravi-shanker)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 8:35am UTC](https://discuss.elastic.co/t/getting-elasticsearch-exception-while-indexing-using-python-script/276299 "2021-06-21T08:35:20Z")

</div>

Hello All I am trying read, parse and index a html file using the below python script. from elasticsearch import Elasticsearch from bs4 import BeautifulSoup import glob es=Elasticsearch(\[{'host':'ip-address','port':9…

---

## [Parse output of elasticsearch-py commands](https://discuss.elastic.co/t/parse-output-of-elasticsearch-py-commands/275879)

<div class="topic-metadata">

**Author:** [@tp20165](https://discuss.elastic.co/u/tp20165)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 8:27am UTC](https://discuss.elastic.co/t/parse-output-of-elasticsearch-py-commands/275879 "2021-06-21T08:27:49Z")

</div>

I am writing on alerting functionality in Python using elasticsearch-py client. https://github.com/elastic/elasticserch-py. CatClient class has methods that I am interested in. I can see the output as stdout when I run m…

---

## [Watcher condition against buckets](https://discuss.elastic.co/t/watcher-condition-against-buckets/275870)

<div class="topic-metadata">

**Author:** [@rgreen](https://discuss.elastic.co/u/rgreen)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 8:27am UTC](https://discuss.elastic.co/t/watcher-condition-against-buckets/275870 "2021-06-21T08:27:04Z")

</div>

I need to be able to write a condition for a watcher that will alert when the results from the Bucket Critical doc\_count is at 50% or higher of bucket Info doc\_count This is the aggregation results "aggregations" : …

---

## [Field host.ip problem](https://discuss.elastic.co/t/field-host-ip-problem/276498)

<div class="topic-metadata">

**Author:** [@rebug](https://discuss.elastic.co/u/rebug)\
**Replies:** 0\
**Last updated:** [June 21, 2021, 7:58am UTC](https://discuss.elastic.co/t/field-host-ip-problem/276498 "2021-06-21T07:58:25Z")

</div>

Hi guys. I have a problem, every index I made (using Filebeat modules or not) I have a field named host.ip with about 20 different IP address in it. I can't use it because it is unrelevant, anyone has the same problem …

---

## [Elasticsearch force parallel collector by default](https://discuss.elastic.co/t/elasticsearch-force-parallel-collector-by-default/276476)

<div class="topic-metadata">

**Author:** [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 5:25am UTC](https://discuss.elastic.co/t/elasticsearch-force-parallel-collector-by-default/276476 "2021-06-21T05:25:42Z")

</div>

Im getting below error while adding nodes to cluster. Im using Elasticsearch 7.10.2 . I was not getting this error in 7.4.2 \[1\] bootstrap checks failed \[1\]: JVM is using the serial collector but should not be for the b…

---

## [Question on using my own value as \_id](https://discuss.elastic.co/t/question-on-using-my-own-value-as-id/276470)

<div class="topic-metadata">

**Author:** [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Replies:** 4\
**Last updated:** [June 21, 2021, 6:15am UTC](https://discuss.elastic.co/t/question-on-using-my-own-value-as-id/276470 "2021-06-21T06:15:18Z")

</div>

Hi As per this post it is not advisable to bring your own \_id to elasticsearch. I have inherited a shared windows (horror of all the horrors) drive as a source of log file and already see re-ingestion happening occasion…

---

## [Smooth migration of ES 2.3 cluster to another data center](https://discuss.elastic.co/t/smooth-migration-of-es-2-3-cluster-to-another-data-center/276065)

<div class="topic-metadata">

**Author:** [@vfiset](https://discuss.elastic.co/u/vfiset)\
**Replies:** 6\
**Last updated:** [June 21, 2021, 5:46am UTC](https://discuss.elastic.co/t/smooth-migration-of-es-2-3-cluster-to-another-data-center/276065 "2021-06-21T05:46:28Z")

</div>

I have an ES 2.3 cluster of 6 nodes running in a data center holding ~60Gb of data. I wish to find the smoothest migration path with the least downtime possible to move the data over to a similar size cluster running on…

---

## [How to check if a document exists for a specified Id and alias name](https://discuss.elastic.co/t/how-to-check-if-a-document-exists-for-a-specified-id-and-alias-name/276464)

<div class="topic-metadata">

**Author:** [@Deepti](https://discuss.elastic.co/u/Deepti)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 3:00am UTC](https://discuss.elastic.co/t/how-to-check-if-a-document-exists-for-a-specified-id-and-alias-name/276464 "2021-06-21T03:00:42Z")

</div>

Iam trying to check if a document exists for the specified ID and alias using the search Api, In the response I just need the index name if the document exists. Adding to this, is there any api to check if the returned …

---

## [Sorting array items within single document](https://discuss.elastic.co/t/sorting-array-items-within-single-document/276440)

<div class="topic-metadata">

**Author:** [@peterlen](https://discuss.elastic.co/u/peterlen)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 1:17am UTC](https://discuss.elastic.co/t/sorting-array-items-within-single-document/276440 "2021-06-21T01:17:20Z")

</div>

One of our indices contains documents that include an internal array. Say within a given document it contains the following: "geoEntities" : \[ "France", "United States", "China", "Germany" \] I want to be able to …

---

## [Fine tune bert model on elasticsearch](https://discuss.elastic.co/t/fine-tune-bert-model-on-elasticsearch/276466)

<div class="topic-metadata">

**Author:** [@pakwai122](https://discuss.elastic.co/u/pakwai122)\
**Replies:** 0\
**Last updated:** [June 20, 2021, 3:56pm UTC](https://discuss.elastic.co/t/fine-tune-bert-model-on-elasticsearch/276466 "2021-06-20T15:56:19Z")

</div>

I got a simple page written in node.js for searching with Elasticsearch engine, and recently, I want to enhance the searching result, and wanna use Google fine tune bert model to do so. I'm not sure how to make two thin…

---

## [Simple search with wildcard not working](https://discuss.elastic.co/t/simple-search-with-wildcard-not-working/276442)

<div class="topic-metadata">

**Author:** [@Vinoth\_G](https://discuss.elastic.co/u/Vinoth_G)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 1:02am UTC](https://discuss.elastic.co/t/simple-search-with-wildcard-not-working/276442 "2021-06-21T01:02:29Z")

</div>

I am new to elastic and planning to migrate my application from algolia to elastic cloud. I created an index called products where I added this data { "dname": "mysore soap", "price": "150", "some": { "id": "…

---

## [Data Stream data retrieval and compression](https://discuss.elastic.co/t/data-stream-data-retrieval-and-compression/276272)

<div class="topic-metadata">

**Author:** [@prithvirajsivarajan](https://discuss.elastic.co/u/prithvirajsivarajan)\
**Replies:** 4\
**Last updated:** [June 20, 2021, 11:32pm UTC](https://discuss.elastic.co/t/data-stream-data-retrieval-and-compression/276272 "2021-06-20T23:32:54Z")

</div>

I'm working on a data stream. I have created a test ILM policy. Have a couple of question regarding that. Is there a huge difference time lag while retrieving data from hot, warm, cold phase indices. I tried inserting…

---

## [Removed MDP (Multi Data path) how to configure new](https://discuss.elastic.co/t/removed-mdp-multi-data-path-how-to-configure-new/276467)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 2\
**Last updated:** [June 20, 2021, 10:34pm UTC](https://discuss.elastic.co/t/removed-mdp-multi-data-path-how-to-configure-new/276467 "2021-06-20T22:34:29Z")

</div>

Now that I just learned that Elk is removing MDP that means I won't be assign multiple raw disk. :sob: ( which is bad idea) but now it is there how do I configure. which is step back. if I use raid1 then I am loosing …

---

## [Lifecycle Policy](https://discuss.elastic.co/t/lifecycle-policy/276454)

<div class="topic-metadata">

**Author:** [@Farid\_N](https://discuss.elastic.co/u/Farid_N)\
**Replies:** 1\
**Last updated:** [June 20, 2021, 8:27am UTC](https://discuss.elastic.co/t/lifecycle-policy/276454 "2021-06-20T08:27:13Z")

</div>

Hi I want to create an index lifecycle policy according to bellow page: I created an lifecycle with name loglife-policy and an index template with these settings: { "index": { "lifecycle": { "name": "logl…

---

## [Is sorting possible on search\_as\_you\_type field](https://discuss.elastic.co/t/is-sorting-possible-on-search-as-you-type-field/276449)

<div class="topic-metadata">

**Author:** [@kiko](https://discuss.elastic.co/u/kiko)\
**Replies:** 2\
**Last updated:** [June 20, 2021, 6:43am UTC](https://discuss.elastic.co/t/is-sorting-possible-on-search-as-you-type-field/276449 "2021-06-20T06:43:58Z")

</div>

I have mapped my product/category titles to search\_as\_you\_type fields. When I try to sort by those fields I get this error: "error": { "root\_cause": \[ { "type": "illegal\_argument\_e…

---

## [Elasticsearch rellocation shard stucks](https://discuss.elastic.co/t/elasticsearch-rellocation-shard-stucks/276448)

<div class="topic-metadata">

**Author:** [@KA3AXCTAH](https://discuss.elastic.co/u/KA3AXCTAH)\
**Replies:** 0\
**Last updated:** [June 20, 2021, 5:01am UTC](https://discuss.elastic.co/t/elasticsearch-rellocation-shard-stucks/276448 "2021-06-20T05:01:31Z")

</div>

I'm delete node from my cluster using this command curl -u elastig:themoststrongpasswordever -XPUT 10.0.10.10:9200/\_cluster/settings -H 'Content-Type: application/json' -d '{ "transient" :{ "cluster.routing.allocati…

---

## [Using huge NVMe disks with elasticsearch](https://discuss.elastic.co/t/using-huge-nvme-disks-with-elasticsearch/276228)

<div class="topic-metadata">

**Author:** [@Timur\_Makarchuk](https://discuss.elastic.co/u/Timur_Makarchuk)\
**Replies:** 8\
**Last updated:** [June 20, 2021, 1:03am UTC](https://discuss.elastic.co/t/using-huge-nvme-disks-with-elasticsearch/276228 "2021-06-20T01:03:44Z")

</div>

Hello everyone. We're currently in process of choosing new hardware for our elasticsearch cluster. Our current cluster consists of 32 nodes and holds 42TB of data across 2000 indices. We're choosing hardware from the …

---

## [Loading csv file data in Elasticsearch with explicite double quote in the beginning and inside of some fields](https://discuss.elastic.co/t/loading-csv-file-data-in-elasticsearch-with-explicite-double-quote-in-the-beginning-and-inside-of-some-fields/276431)

<div class="topic-metadata">

**Author:** [@dom22](https://discuss.elastic.co/u/dom22)\
**Replies:** 0\
**Last updated:** [June 19, 2021, 8:02am UTC](https://discuss.elastic.co/t/loading-csv-file-data-in-elasticsearch-with-explicite-double-quote-in-the-beginning-and-inside-of-some-fields/276431 "2021-06-19T08:02:32Z")

</div>

Hello, I'm new to Elastic search I have to load a csv file into Elasticsearch - csv processor looks fine for the initial purpose Some of the fields have the following non-regular structure: Explicit Double quotes in…

---

## [Limiting traffic speed](https://discuss.elastic.co/t/limiting-traffic-speed/276289)

<div class="topic-metadata">

**Author:** [@driveirk](https://discuss.elastic.co/u/driveirk)\
**Replies:** 3\
**Last updated:** [June 19, 2021, 3:12pm UTC](https://discuss.elastic.co/t/limiting-traffic-speed/276289 "2021-06-19T15:12:49Z")

</div>

When transferring shards, the network speed between 2 nodes can increase up to 16 G/s. I want to limit network usage to 7G/s for the entire cluster. Can this be done by means of ElasticSearch? The only network regulato…

---

## [Elasticsearch privilege to read index templates](https://discuss.elastic.co/t/elasticsearch-privilege-to-read-index-templates/276248)

<div class="topic-metadata">

**Author:** [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Replies:** 1\
**Last updated:** [June 19, 2021, 9:50am UTC](https://discuss.elastic.co/t/elasticsearch-privilege-to-read-index-templates/276248 "2021-06-19T09:50:59Z")

</div>

Hello, Is there a way to allow a user to only read (all) index templates? I can only find manage\_index\_templates, which also allows create, update.. Willem

---

## [Elasticsearch Request Circuit Breaker](https://discuss.elastic.co/t/elasticsearch-request-circuit-breaker/275893)

<div class="topic-metadata">

**Author:** [@animageofmine](https://discuss.elastic.co/u/animageofmine)\
**Replies:** 12\
**Last updated:** [June 19, 2021, 5:55am UTC](https://discuss.elastic.co/t/elasticsearch-request-circuit-breaker/275893 "2021-06-19T05:55:00Z")

</div>

I am looking at indices.breaker.request.limit circuit breaker. Based on the description, my understanding is that it would break if an aggregation consumes the heap configured in the breaker. The default is 60% for versi…

---

## [Cluster won't start after upgrade from 7.13.1 to 7.13.2](https://discuss.elastic.co/t/cluster-wont-start-after-upgrade-from-7-13-1-to-7-13-2/276368)

<div class="topic-metadata">

**Author:** [@Bryan\_Hamilton](https://discuss.elastic.co/u/Bryan_Hamilton)\
**Replies:** 8\
**Last updated:** [June 19, 2021, 5:52am UTC](https://discuss.elastic.co/t/cluster-wont-start-after-upgrade-from-7-13-1-to-7-13-2/276368 "2021-06-19T05:52:47Z")

</div>

Hi, We upgraded our Elasticsearch cluster Yesterday from 7.13.1 to 7.13.2. After upgrading and rebooting all the nodes, the cluster would not start. All the data nodes produce the same error that looks like this: \[2021…

---

## [Apply fuzzy match only on short search arguments?](https://discuss.elastic.co/t/apply-fuzzy-match-only-on-short-search-arguments/276427)

<div class="topic-metadata">

**Author:** [@rocketman0739](https://discuss.elastic.co/u/rocketman0739)\
**Replies:** 0\
**Last updated:** [June 19, 2021, 12:31am UTC](https://discuss.elastic.co/t/apply-fuzzy-match-only-on-short-search-arguments/276427 "2021-06-19T00:31:37Z")

</div>

I'm having a problem getting the “too complex to determinize” exception. The index is running a synonym graph filter. The problem happens when I send a longish query which 1) includes several words that have synonyms, an…

---

## [Unable to allocate shards in ILM cold phase](https://discuss.elastic.co/t/unable-to-allocate-shards-in-ilm-cold-phase/273789)

<div class="topic-metadata">

**Author:** [@askids](https://discuss.elastic.co/u/askids)\
**Replies:** 9\
**Last updated:** [June 18, 2021, 6:26pm UTC](https://discuss.elastic.co/t/unable-to-allocate-shards-in-ilm-cold-phase/273789 "2021-06-18T18:26:49Z")

</div>

hi, I have a 2 node cluster running 7.10.2. I have defined ILM policy to move index from hot-warm-cold phases. However the transition from warm to cold phase is not happening. I have not explicitly set any node roles. S…

---

## [High search latency after upgrading from es 6.8 to 7.12.1](https://discuss.elastic.co/t/high-search-latency-after-upgrading-from-es-6-8-to-7-12-1/276346)

<div class="topic-metadata">

**Author:** [@frank\_thyes](https://discuss.elastic.co/u/frank_thyes)\
**Replies:** 3\
**Last updated:** [June 18, 2021, 5:29pm UTC](https://discuss.elastic.co/t/high-search-latency-after-upgrading-from-es-6-8-to-7-12-1/276346 "2021-06-18T17:29:42Z")

</div>

Since we upgraded our elasticsearch cluster from version 6.8.0 to 7.12.1, consisting of 6 data nodes and 3 master nodes, the search latency is three times higher than on the previous version Are there any known issues? …

---

## [ElasticsearchStatusException\[Unable to parse response body\]; nested: ResponseException\[method \[POST\]](https://discuss.elastic.co/t/elasticsearchstatusexception-unable-to-parse-response-body-nested-responseexception-method-post/276321)

<div class="topic-metadata">

**Author:** [@prashantreddy](https://discuss.elastic.co/u/prashantreddy)\
**Replies:** 2\
**Last updated:** [June 18, 2021, 3:22pm UTC](https://discuss.elastic.co/t/elasticsearchstatusexception-unable-to-parse-response-body-nested-responseexception-method-post/276321 "2021-06-18T15:22:42Z")

</div>

Hello, I am new to ES and I am getting below exception and our ES(7.12.1) instance is on kubernetes. ElasticsearchStatusException\[Unable to parse response body\]; nested: ResponseException\[method \[POST\], host \[http://es.…

---

## [Elastic does not allocate indices equally](https://discuss.elastic.co/t/elastic-does-not-allocate-indices-equally/275903)

<div class="topic-metadata">

**Author:** [@d4nnyx](https://discuss.elastic.co/u/d4nnyx)\
**Replies:** 6\
**Last updated:** [June 18, 2021, 9:30am UTC](https://discuss.elastic.co/t/elastic-does-not-allocate-indices-equally/275903 "2021-06-18T09:30:51Z")

</div>

Hello, I have an issue with Elastic allocation decider. Sometimes Elastic allocates new indices to nodes which are quite full for no reason. On the other nodes there is a plenty of space and it allocates indices on the …

---

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

<div class="topic-metadata">

**Author:** [@alexs1](https://discuss.elastic.co/u/alexs1)\
**Replies:** 5\
**Last updated:** [June 18, 2021, 8:22am UTC](https://discuss.elastic.co/t/aggregation-performance/276198 "2021-06-18T08:22:45Z")

</div>

hello, Can anyone please advice how to improve a query performance? the bool filter takes 50ms. filter dates: last 7 days total search documents : 20075 total index documents : 79m searched indices: 1 …

---

## [Transforms: do I need to filter source for time-series data?](https://discuss.elastic.co/t/transforms-do-i-need-to-filter-source-for-time-series-data/276057)

<div class="topic-metadata">

**Author:** [@rokcarl](https://discuss.elastic.co/u/rokcarl)\
**Replies:** 9\
**Last updated:** [June 18, 2021, 8:18am UTC](https://discuss.elastic.co/t/transforms-do-i-need-to-filter-source-for-time-series-data/276057 "2021-06-18T08:18:42Z")

</div>

I'm doing a transformation of time-series/events data that does not change for the past. I've talked to an Elastic engineer Ben on Slack and it seems like I might have stumbled upon a bug. I'm using this index config a…

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

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