# Elasticsearch

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

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

**Page:** 1165

---

## [Elasticsearch stops in minutes when restarted](https://discuss.elastic.co/t/elasticsearch-stops-in-minutes-when-restarted/198221)

<div class="topic-metadata">

**Author:** [@lmqnam](https://discuss.elastic.co/u/lmqnam)\
**Replies:** 17\
**Last updated:** [September 9, 2019, 6:56am UTC](https://discuss.elastic.co/t/elasticsearch-stops-in-minutes-when-restarted/198221 "2019-09-09T06:56:07Z")

</div>

When I restart Elasticsearch, it stops more than 10 minutes at "logger":"o.e.g.GatewayService", "log":"recovered \[0\] indices into cluster\_state" I don't know the root cause. Please help me. Thanks for your time! {"type…

---

## [Elasticsearch starts and stops automatically if i change network host](https://discuss.elastic.co/t/elasticsearch-starts-and-stops-automatically-if-i-change-network-host/198025)

<div class="topic-metadata">

**Author:** [@katara](https://discuss.elastic.co/u/katara)\
**Replies:** 4\
**Last updated:** [September 9, 2019, 6:38am UTC](https://discuss.elastic.co/t/elasticsearch-starts-and-stops-automatically-if-i-change-network-host/198025 "2019-09-09T06:38:06Z")

</div>

In my elasticsearch yml (version 7.1.0), when i change my network host to the IP or simply 0.0.0.0, once i restart the service, the service runs for a few seconds and stops automatically. Please help me with this.

---

## [Rolling Upgrade from 6.8.0 to 7.3.1 Failed to Join the Cluster](https://discuss.elastic.co/t/rolling-upgrade-from-6-8-0-to-7-3-1-failed-to-join-the-cluster/198604)

<div class="topic-metadata">

**Author:** [@Namrata\_Khobragade](https://discuss.elastic.co/u/Namrata_Khobragade)\
**Replies:** 4\
**Last updated:** [September 9, 2019, 6:31am UTC](https://discuss.elastic.co/t/rolling-upgrade-from-6-8-0-to-7-3-1-failed-to-join-the-cluster/198604 "2019-09-09T06:31:06Z")

</div>

Hello all, I am currently having an Elasticsearch 6.8 Cluster with one master and one slave node. I need to upgrade this Elasticsearch to current version 7.3.1. I am following the Rolling Upgrade Steps given in https…

---

## [Failed to flush export bulks \[default\_local\]](https://discuss.elastic.co/t/failed-to-flush-export-bulks-default-local/198606)

<div class="topic-metadata">

**Author:** [@Sumit\_Kumar1](https://discuss.elastic.co/u/Sumit_Kumar1)\
**Replies:** 0\
**Last updated:** [September 9, 2019, 6:18am UTC](https://discuss.elastic.co/t/failed-to-flush-export-bulks-default-local/198606 "2019-09-09T06:18:19Z")

</div>

Caused by: org.elasticsearch.xpack.monitoring.exporter.ExportException: failed to flush export bulk \[default\_local\] monitoring execution failed org.elasticsearch.xpack.monitoring.exporter.ExportException: failed to flu…

---

## [How to combine multiple AND with OR in a query?](https://discuss.elastic.co/t/how-to-combine-multiple-and-with-or-in-a-query/198364)

<div class="topic-metadata">

**Author:** [@porunov](https://discuss.elastic.co/u/porunov)\
**Replies:** 3\
**Last updated:** [September 9, 2019, 6:17am UTC](https://discuss.elastic.co/t/how-to-combine-multiple-and-with-or-in-a-query/198364 "2019-09-09T06:17:25Z")

</div>

I am trying to figure out if it is possible to combine multiple AND with OR in a single request. The query I am trying to make is: field1 == 1 && field2 == 2 && field3!=3 && ( field4==4 || field5==5 || field6!=6 ). I d…

---

## [Elastic search for time series](https://discuss.elastic.co/t/elastic-search-for-time-series/198600)

<div class="topic-metadata">

**Author:** [@Mansoor\_Ali](https://discuss.elastic.co/u/Mansoor_Ali)\
**Replies:** 1\
**Last updated:** [September 9, 2019, 5:54am UTC](https://discuss.elastic.co/t/elastic-search-for-time-series/198600 "2019-09-09T05:54:39Z")

</div>

Hi All, I am new to Nosql and Elastic Search world. I am evaluating Database for keeping 5 years of time series data for multiple clients, the data changes from client to client that’s why I am looking for NoSql Datab…

---

## [Elasticsearch FAILED](https://discuss.elastic.co/t/elasticsearch-failed/198592)

<div class="topic-metadata">

**Author:** [@TheSun](https://discuss.elastic.co/u/TheSun)\
**Replies:** 2\
**Last updated:** [September 9, 2019, 5:43am UTC](https://discuss.elastic.co/t/elasticsearch-failed/198592 "2019-09-09T05:43:24Z")

</div>

Hi, I am trying to install ELK on Ubuntu server 18.04 but when starting, elasticsearch service failed. Please!! Help me!!. Thank you!!. Java verison : openjdk version "1.8.0\_222" OpenJDK Runtime Environment (build 1…

---

## [Standalone license model](https://discuss.elastic.co/t/standalone-license-model/198550)

<div class="topic-metadata">

**Author:** [@Vijayakumar\_Kannan](https://discuss.elastic.co/u/Vijayakumar_Kannan)\
**Replies:** 1\
**Last updated:** [September 8, 2019, 2:23pm UTC](https://discuss.elastic.co/t/standalone-license-model/198550 "2019-09-08T14:23:00Z")

</div>

Dear All, I want to understand enterprise version license model. if i have 3 \* ES nodes , 3 \* Logstash nodes and 2 \* kibana nodes . Then how many number of elasticstack single node standalone license requrired? 3 or …

---

## [Using script instead of a regex in aggs term filter include configuration](https://discuss.elastic.co/t/using-script-instead-of-a-regex-in-aggs-term-filter-include-configuration/198580)

<div class="topic-metadata">

**Author:** [@tblsoft](https://discuss.elastic.co/u/tblsoft)\
**Replies:** 1\
**Last updated:** [September 9, 2019, 4:57am UTC](https://discuss.elastic.co/t/using-script-instead-of-a-regex-in-aggs-term-filter-include-configuration/198580 "2019-09-09T04:57:57Z")

</div>

Hello, in the term aggregation it is possible to use the "include" to filter values with a regex. https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#\_filte…

---

## [We couldn’t activate monitoring - No monitoring data found](https://discuss.elastic.co/t/we-couldn-t-activate-monitoring-no-monitoring-data-found/198590)

<div class="topic-metadata">

**Author:** [@ted\_ye](https://discuss.elastic.co/u/ted_ye)\
**Replies:** 0\
**Last updated:** [September 9, 2019, 2:56am UTC](https://discuss.elastic.co/t/we-couldn-t-activate-monitoring-no-monitoring-data-found/198590 "2019-09-09T02:56:21Z")

</div>

hello ，I've met a problem when I open stack monitoring on kibana----We couldn’t activate monitoring - No monitoring data found. And then I use GET \_license to check my license, it returned { }. where is my license??? …

---

## [Regarding to add a header " -H 'Content-Type: application/json' "](https://discuss.elastic.co/t/regarding-to-add-a-header-h-content-type-application-json/198363)

<div class="topic-metadata">

**Author:** [@terrymu](https://discuss.elastic.co/u/terrymu)\
**Replies:** 4\
**Last updated:** [September 9, 2019, 2:56am UTC](https://discuss.elastic.co/t/regarding-to-add-a-header-h-content-type-application-json/198363 "2019-09-09T02:56:12Z")

</div>

Hi Experts, I met an issue during modify a parameter from template. I want to modify a value of parameter which named "total\_fields" in template such like this: I use curl to input several commands to modify it, but…

---

## [Issues during index where field is null after upgrade to 7.x](https://discuss.elastic.co/t/issues-during-index-where-field-is-null-after-upgrade-to-7-x/198262)

<div class="topic-metadata">

**Author:** [@Dallas\_Toth](https://discuss.elastic.co/u/Dallas_Toth)\
**Replies:** 4\
**Last updated:** [September 8, 2019, 9:26pm UTC](https://discuss.elastic.co/t/issues-during-index-where-field-is-null-after-upgrade-to-7-x/198262 "2019-09-08T21:26:58Z")

</div>

In previous versions of ES I have been able to send data in from SQL Server with fields that have null values. I know I needed to make some changes to the mapping to deal with the move from 5.x-6.x-7.x and I never had an…

---

## [Basic HA/Failover Setup](https://discuss.elastic.co/t/basic-ha-failover-setup/198567)

<div class="topic-metadata">

**Author:** [@revglen](https://discuss.elastic.co/u/revglen)\
**Replies:** 5\
**Last updated:** [September 8, 2019, 8:58pm UTC](https://discuss.elastic.co/t/basic-ha-failover-setup/198567 "2019-09-08T20:58:46Z")

</div>

Hi All, I am looking for the basic configuration for HA/Failover. I have 2 clusters. The first cluster consists of separate coordinating and master/data nodes running in 2 processes in one system while in the 2nd cluste…

---

## [Query and receive response in alphabetic order](https://discuss.elastic.co/t/query-and-receive-response-in-alphabetic-order/198297)

<div class="topic-metadata">

**Author:** [@matheusribeirogarcia](https://discuss.elastic.co/u/matheusribeirogarcia)\
**Replies:** 1\
**Last updated:** [September 8, 2019, 5:26pm UTC](https://discuss.elastic.co/t/query-and-receive-response-in-alphabetic-order/198297 "2019-09-08T17:26:45Z")

</div>

Hello everyone, i'm doing a query like this: query : { match\_all: {}}, \_source: 'titulo'}; And what I receive as response in hits.hits is: \[{"\_index":"xtrorigem","\_type":"empresas\_publicas","\_id":"licencas\_ambientais\_…

---

## [I am updated index template but i am getting error](https://discuss.elastic.co/t/i-am-updated-index-template-but-i-am-getting-error/198571)

<div class="topic-metadata">

**Author:** [@Gnanendra](https://discuss.elastic.co/u/Gnanendra)\
**Replies:** 0\
**Last updated:** [September 8, 2019, 5:25pm UTC](https://discuss.elastic.co/t/i-am-updated-index-template-but-i-am-getting-error/198571 "2019-09-08T17:25:04Z")

</div>

Hi, i am updated elasticsearch7.3.0 and update index template but i am getting below error. Error : \[2019-09-08 11:55:34,692\] ERROR WorkerSinkTask{id=elasticSearch-sink-3} Task threw an uncaught and unrecoverable excep…

---

## [Handling Punctuation in multi\_match query](https://discuss.elastic.co/t/handling-punctuation-in-multi-match-query/198318)

<div class="topic-metadata">

**Author:** [@Cannon\_Moyer](https://discuss.elastic.co/u/Cannon_Moyer)\
**Replies:** 1\
**Last updated:** [September 8, 2019, 4:59pm UTC](https://discuss.elastic.co/t/handling-punctuation-in-multi-match-query/198318 "2019-09-08T16:59:28Z")

</div>

I have a query where I search for a product name field. My products might contain punctuation and my queries might contain the punctuation as well. Given the following product title "CenterG 5.3 Drive Belt for model numb…

---

## [Custom Boosting a Page Result](https://discuss.elastic.co/t/custom-boosting-a-page-result/198339)

<div class="topic-metadata">

**Author:** [@pocguy](https://discuss.elastic.co/u/pocguy)\
**Replies:** 1\
**Last updated:** [September 8, 2019, 4:34pm UTC](https://discuss.elastic.co/t/custom-boosting-a-page-result/198339 "2019-09-08T16:34:28Z")

</div>

I am trying to promote a given page to the top of search result. Currently say, the page appears on the 3rd item in the search results. I wish to have this to the top of the search result. The current way of implementi…

---

## [Index creation](https://discuss.elastic.co/t/index-creation/198376)

<div class="topic-metadata">

**Author:** [@kadiveti](https://discuss.elastic.co/u/kadiveti)\
**Replies:** 3\
**Last updated:** [September 8, 2019, 4:27pm UTC](https://discuss.elastic.co/t/index-creation/198376 "2019-09-08T16:27:50Z")

</div>

Hello, What could be the best practice in creating index in elastic search. For example if I have an application which consits of jobss,Apache,wildfly, server. Can I create the index like Applicationname\_jboss like th…

---

## [Difference between index\_prefixes mapping parameter & Edge N-Gram tokenizer?](https://discuss.elastic.co/t/difference-between-index-prefixes-mapping-parameter-edge-n-gram-tokenizer/198561)

<div class="topic-metadata">

**Author:** [@siffash](https://discuss.elastic.co/u/siffash)\
**Replies:** 0\
**Last updated:** [September 8, 2019, 2:17pm UTC](https://discuss.elastic.co/t/difference-between-index-prefixes-mapping-parameter-edge-n-gram-tokenizer/198561 "2019-09-08T14:17:45Z")

</div>

Tried them both and I can't really see the difference between the results. Is there any difference between them at all? Also how can I see generated tokens for the fields that have index\_prefixes mapping parameter?

---

## [How to sort nested documents regardless of different parents](https://discuss.elastic.co/t/how-to-sort-nested-documents-regardless-of-different-parents/198556)

<div class="topic-metadata">

**Author:** [@ahmadam](https://discuss.elastic.co/u/ahmadam)\
**Replies:** 0\
**Last updated:** [September 8, 2019, 11:32am UTC](https://discuss.elastic.co/t/how-to-sort-nested-documents-regardless-of-different-parents/198556 "2019-09-08T11:32:21Z")

</div>

I'm new to elasticsearch and struggling this situation (for example): I want to index offices and clerks of each office. So, I've created this mapping: PUT office { "mappings": { "properties": { "office\_nam…

---

## [Check if full text field has a date in a range](https://discuss.elastic.co/t/check-if-full-text-field-has-a-date-in-a-range/198553)

<div class="topic-metadata">

**Author:** [@babuscam](https://discuss.elastic.co/u/babuscam)\
**Replies:** 0\
**Last updated:** [September 8, 2019, 11:12am UTC](https://discuss.elastic.co/t/check-if-full-text-field-has-a-date-in-a-range/198553 "2019-09-08T11:12:31Z")

</div>

Hello I am new to elastic world and I am trying to figure out how can I find if a field for example "text" (which represents the whole text indexed) has a date that is in a specific range ? Example: In doc\_1 in field "…

---

## [Sporadic refresh happening even though refresh\_interval is set to -1](https://discuss.elastic.co/t/sporadic-refresh-happening-even-though-refresh-interval-is-set-to-1/198524)

<div class="topic-metadata">

**Author:** [@viniciof](https://discuss.elastic.co/u/viniciof)\
**Replies:** 1\
**Last updated:** [September 8, 2019, 6:47am UTC](https://discuss.elastic.co/t/sporadic-refresh-happening-even-though-refresh-interval-is-set-to-1/198524 "2019-09-08T06:47:33Z")

</div>

Hi everyone, Today I noticed that for an index I'm currently reindexing (as source, all writes disabled only search taking place) there are some refreshes happening, but the refresh\_interval is already set to -1. I see…

---

## [Slow reindex operation on heavy index](https://discuss.elastic.co/t/slow-reindex-operation-on-heavy-index/198320)

<div class="topic-metadata">

**Author:** [@viniciof](https://discuss.elastic.co/u/viniciof)\
**Replies:** 3\
**Last updated:** [September 8, 2019, 2:02am UTC](https://discuss.elastic.co/t/slow-reindex-operation-on-heavy-index/198320 "2019-09-08T02:02:05Z")

</div>

Hi all, How can I speed up a long running reindex operation ? This is being done from a source index of around 4.2TB with 16 shards each of around 300GB~ in a 10 data nodes clusters. Target index is 90 shards. I've se…

---

## [Curator: "Invalid epoch received, unable to convert None to int"](https://discuss.elastic.co/t/curator-invalid-epoch-received-unable-to-convert-none-to-int/198516)

<div class="topic-metadata">

**Author:** [@NominaSumpta](https://discuss.elastic.co/u/NominaSumpta)\
**Replies:** 7\
**Last updated:** [September 7, 2019, 10:15pm UTC](https://discuss.elastic.co/t/curator-invalid-epoch-received-unable-to-convert-none-to-int/198516 "2019-09-07T22:15:53Z")

</div>

Hello, When I try to delete old indices, I get the following error: 2019-09-07 18:13:34,959 INFO Preparing Action ID: 2, "delete\_indices" 2019-09-07 18:13:34,965 INFO Trying Action ID: 2, "delete\_indices": De…

---

## [How to do pagination to buckets within the composite aggregation result?](https://discuss.elastic.co/t/how-to-do-pagination-to-buckets-within-the-composite-aggregation-result/198517)

<div class="topic-metadata">

**Author:** [@111203](https://discuss.elastic.co/u/111203)\
**Replies:** 0\
**Last updated:** [September 7, 2019, 4:48pm UTC](https://discuss.elastic.co/t/how-to-do-pagination-to-buckets-within-the-composite-aggregation-result/198517 "2019-09-07T16:48:27Z")

</div>

I use the composite aggregation query below on the order data set, Is there any possible to do pagination to buckets within the composite aggregation result ? If can , but how? If can't , How to do multiple field aggre…

---

## [Ingest pipeline write to different index](https://discuss.elastic.co/t/ingest-pipeline-write-to-different-index/198512)

<div class="topic-metadata">

**Author:** [@larryzhu](https://discuss.elastic.co/u/larryzhu)\
**Replies:** 1\
**Last updated:** [September 7, 2019, 3:25pm UTC](https://discuss.elastic.co/t/ingest-pipeline-write-to-different-index/198512 "2019-09-07T15:25:19Z")

</div>

I would like to create new documents based on results from the ingest pipeline. is that possible? for example, if there is a log message that says "tests failed", I would like to write into a different "failed\_tests" in…

---

## [Who can help me about this issue?](https://discuss.elastic.co/t/who-can-help-me-about-this-issue/198401)

<div class="topic-metadata">

**Author:** [@zero2](https://discuss.elastic.co/u/zero2)\
**Replies:** 3\
**Last updated:** [September 7, 2019, 11:58am UTC](https://discuss.elastic.co/t/who-can-help-me-about-this-issue/198401 "2019-09-07T11:58:20Z")

</div>

After i installed the x-pack ,then start the elsticsearch , occurred the following issue: \[ERROR\]\[o.e.x.m.c.n.NodeStatsCollector\] \[-YrbNj-\] collector \[node-stats-collector\] failed to collect data java.lang.IndexOutOf…

---

## [How to setup a custom Similarity class that depends on the current query string](https://discuss.elastic.co/t/how-to-setup-a-custom-similarity-class-that-depends-on-the-current-query-string/198504)

<div class="topic-metadata">

**Author:** [@David\_G\_Ortega](https://discuss.elastic.co/u/David_G_Ortega)\
**Replies:** 0\
**Last updated:** [September 7, 2019, 11:32am UTC](https://discuss.elastic.co/t/how-to-setup-a-custom-similarity-class-that-depends-on-the-current-query-string/198504 "2019-09-07T11:32:37Z")

</div>

Hi, hopefully someone can help me to sort out this question. I have a custom lucene Similarity, it depends on a deep learning model that needs to analyze the current query string. In vanilla lucene that would be Simila…

---

## [What's the best practices when doing both of searching and indexing on same index](https://discuss.elastic.co/t/whats-the-best-practices-when-doing-both-of-searching-and-indexing-on-same-index/198015)

<div class="topic-metadata">

**Author:** [@btungut](https://discuss.elastic.co/u/btungut)\
**Replies:** 1\
**Last updated:** [September 7, 2019, 11:00am UTC](https://discuss.elastic.co/t/whats-the-best-practices-when-doing-both-of-searching-and-indexing-on-same-index/198015 "2019-09-07T11:00:00Z")

</div>

Hi all, I have some elasticsearch and stack experiences so I got knowledge about most of technical concepts related to elastic ecosystem. Now I should deliver a project which needs advanced searching features, sure ela…

---

## [Spike Alert](https://discuss.elastic.co/t/spike-alert/198055)

<div class="topic-metadata">

**Author:** [@Arnav\_Bose](https://discuss.elastic.co/u/Arnav_Bose)\
**Replies:** 1\
**Last updated:** [September 7, 2019, 10:58am UTC](https://discuss.elastic.co/t/spike-alert/198055 "2019-09-07T10:58:18Z")

</div>

I have worked on Elast alert with Spike before but generally I have worked on spike\_type as "Up". So I would put the spike\_ height as 5 meaning that if the current value is 5 times more than the threshold, it should trig…

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

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