# Elasticsearch

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

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

**Page:** 1291

---

## ["reason"=\>"No mapping found for \[@timestamp\] in order to sort on",](https://discuss.elastic.co/t/reason-no-mapping-found-for-timestamp-in-order-to-sort-on/182426)

<div class="topic-metadata">

**Author:** [@DavidLevi](https://discuss.elastic.co/u/DavidLevi)\
**Replies:** 0\
**Last updated:** [May 23, 2019, 12:03pm UTC](https://discuss.elastic.co/t/reason-no-mapping-found-for-timestamp-in-order-to-sort-on/182426 "2019-05-23T12:03:34Z")

</div>

Hello guys, I see lots of error messages when I command "tail -f /var/log/messages". This message filled the disk volume. Do you have any idea how can I solve this? "reason"=\>"No mapping found for \[@timestamp\] in order…

---

## [Do index request's response do return after data flush to disk?](https://discuss.elastic.co/t/do-index-requests-response-do-return-after-data-flush-to-disk/182333)

<div class="topic-metadata">

**Author:** [@clement\_zuo](https://discuss.elastic.co/u/clement_zuo)\
**Replies:** 5\
**Last updated:** [May 23, 2019, 11:18am UTC](https://discuss.elastic.co/t/do-index-requests-response-do-return-after-data-flush-to-disk/182333 "2019-05-23T11:18:36Z")

</div>

Recently find a issue that when I send a index request it takes 200ms ~ 500ms to get the response. So I want to know that do ES response to client after data flush to disk completely?

---

## [Order Terms aggregations buckets by top hits sub aggregation](https://discuss.elastic.co/t/order-terms-aggregations-buckets-by-top-hits-sub-aggregation/182410)

<div class="topic-metadata">

**Author:** [@PPraveenKumar](https://discuss.elastic.co/u/PPraveenKumar)\
**Replies:** 0\
**Last updated:** [May 23, 2019, 11:06am UTC](https://discuss.elastic.co/t/order-terms-aggregations-buckets-by-top-hits-sub-aggregation/182410 "2019-05-23T11:06:56Z")

</div>

I have a query, Context: These is one Tour Packages Index, with one of property "set\_url", multiple packages with same set\_url are called family packages. Requirement: Getting seo packages in sorting order of any fie…

---

## [Script\_exception in watcher condition](https://discuss.elastic.co/t/script-exception-in-watcher-condition/182358)

<div class="topic-metadata">

**Author:** [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Replies:** 1\
**Last updated:** [May 23, 2019, 10:09am UTC](https://discuss.elastic.co/t/script-exception-in-watcher-condition/182358 "2019-05-23T10:09:07Z")

</div>

Hi All, I have configured a watcher and added the following condition: "condition": { "script": { "source": "boolean trigger=false;ArrayList offenders = new ArrayList();if (ctx.payload.aggregations.login.buck…

---

## [Consider spaces with tokens](https://discuss.elastic.co/t/consider-spaces-with-tokens/182394)

<div class="topic-metadata">

**Author:** [@vikasnigam93](https://discuss.elastic.co/u/vikasnigam93)\
**Replies:** 0\
**Last updated:** [May 23, 2019, 9:52am UTC](https://discuss.elastic.co/t/consider-spaces-with-tokens/182394 "2019-05-23T09:52:14Z")

</div>

Hi All, while searching with match query, i want to create tokens with space: for ex:i have documents containing text "iphone parts" -\>If search keyword “iph” ( no space) \* service should return results -\>search ke…

---

## [Date\_histogram over terms bucket](https://discuss.elastic.co/t/date-histogram-over-terms-bucket/182249)

<div class="topic-metadata">

**Author:** [@Madala](https://discuss.elastic.co/u/Madala)\
**Replies:** 3\
**Last updated:** [May 23, 2019, 9:40am UTC](https://discuss.elastic.co/t/date-histogram-over-terms-bucket/182249 "2019-05-23T09:40:45Z")

</div>

Hi, I'm trying to create a date histogram on the buckets formed based on aggregations. But, some how I'm not getting any data on the date histogram. Please see below to understand the scenario. PUT view\_log { "mappin…

---

## [7.1.0 won't start after upgrading. How to troubleshoot?](https://discuss.elastic.co/t/7-1-0-wont-start-after-upgrading-how-to-troubleshoot/182330)

<div class="topic-metadata">

**Author:** [@i333](https://discuss.elastic.co/u/i333)\
**Replies:** 1\
**Last updated:** [May 23, 2019, 9:06am UTC](https://discuss.elastic.co/t/7-1-0-wont-start-after-upgrading-how-to-troubleshoot/182330 "2019-05-23T09:06:38Z")

</div>

I'm on linux and running sudo systemctl start elasticsearch doesn't start the service as it normally does. That command just hangs and doesn't complete. Running systemctl status elasticsearch shows it in a status of acti…

---

## [How to access java methods inside of painless](https://discuss.elastic.co/t/how-to-access-java-methods-inside-of-painless/182242)

<div class="topic-metadata">

**Author:** [@Lockhead](https://discuss.elastic.co/u/Lockhead)\
**Replies:** 6\
**Last updated:** [May 23, 2019, 9:06am UTC](https://discuss.elastic.co/t/how-to-access-java-methods-inside-of-painless/182242 "2019-05-23T09:06:27Z")

</div>

I would like to do a popcount over a long field inside of a painless script, but I do not understand the documentation here. There is no single example in how to access native java functions inside of painless. { "scri…

---

## [Size Limit on elastic search](https://discuss.elastic.co/t/size-limit-on-elastic-search/182360)

<div class="topic-metadata">

**Author:** [@sjabiulla](https://discuss.elastic.co/u/sjabiulla)\
**Replies:** 1\
**Last updated:** [May 23, 2019, 7:15am UTC](https://discuss.elastic.co/t/size-limit-on-elastic-search/182360 "2019-05-23T07:15:20Z")

</div>

Hi, I'm indexing my application logs to ElasticSearch and I am planning to maintain the history of logs for an year or so. Is there any size limit that I need to consider before hosting the ElasticSearch instance !!

---

## [Empty response when search through too many indices](https://discuss.elastic.co/t/empty-response-when-search-through-too-many-indices/181519)

<div class="topic-metadata">

**Author:** [@Dmitriy\_Bashkalin](https://discuss.elastic.co/u/Dmitriy_Bashkalin)\
**Replies:** 7\
**Last updated:** [May 23, 2019, 6:31am UTC](https://discuss.elastic.co/t/empty-response-when-search-through-too-many-indices/181519 "2019-05-23T06:31:33Z")

</div>

Hello! My situation is: Elasticsearch 1.7.3 (didn't migrate to new version cause of complexity of app modifications but it's already planned) Much indices on different nodes (through tribe node) Each index name has st…

---

## [Single-node restart results in inconsistency between primary and replica shard data](https://discuss.elastic.co/t/single-node-restart-results-in-inconsistency-between-primary-and-replica-shard-data/182337)

<div class="topic-metadata">

**Author:** [@hanbj](https://discuss.elastic.co/u/hanbj)\
**Replies:** 2\
**Last updated:** [May 23, 2019, 6:14am UTC](https://discuss.elastic.co/t/single-node-restart-results-in-inconsistency-between-primary-and-replica-shard-data/182337 "2019-05-23T06:14:08Z")

</div>

Search primary shard： Search replica shard：

---

## [Not able to enable xpack](https://discuss.elastic.co/t/not-able-to-enable-xpack/181674)

<div class="topic-metadata">

**Author:** [@pathri](https://discuss.elastic.co/u/pathri)\
**Replies:** 4\
**Last updated:** [May 23, 2019, 5:43am UTC](https://discuss.elastic.co/t/not-able-to-enable-xpack/181674 "2019-05-23T05:43:53Z")

</div>

I am writing below 3 lines in order to enable to xpack for es.yml xpack.security.enabled: true elasticsearch.username: "test" elasticsearch.,password: "testing" and not able to start es. please let me know how to en…

---

## [Don't understand some sentences in the document](https://discuss.elastic.co/t/dont-understand-some-sentences-in-the-document/182344)

<div class="topic-metadata">

**Author:** [@wangbin](https://discuss.elastic.co/u/wangbin)\
**Replies:** 1\
**Last updated:** [May 23, 2019, 5:36am UTC](https://discuss.elastic.co/t/dont-understand-some-sentences-in-the-document/182344 "2019-05-23T05:36:45Z")

</div>

.setBackoffPolicy( BackoffPolicy.exponentialBackoff(TimeValue.timeValueMillis(100), 3)) Set a custom backoff policy which will initially wait for 100ms, increase exponentially and retries up to three tim…

---

## [Elastic Search with Encrypted EBS volume](https://discuss.elastic.co/t/elastic-search-with-encrypted-ebs-volume/182342)

<div class="topic-metadata">

**Author:** [@Mathew\_Paret](https://discuss.elastic.co/u/Mathew_Paret)\
**Replies:** 1\
**Last updated:** [May 23, 2019, 5:02am UTC](https://discuss.elastic.co/t/elastic-search-with-encrypted-ebs-volume/182342 "2019-05-23T05:02:36Z")

</div>

If I create a new Encrypted EBS volume to my EC2 instance and get Elasticsearch to store and retrieve data from this new encrypted volume, do we need to do any configuration in Elastic Search to enable it to read or writ…

---

## [When do you consider modeling some of the fields in a relational database vs ElasticSearch](https://discuss.elastic.co/t/when-do-you-consider-modeling-some-of-the-fields-in-a-relational-database-vs-elasticsearch/182094)

<div class="topic-metadata">

**Author:** [@Anand\_Swaminathan](https://discuss.elastic.co/u/Anand_Swaminathan)\
**Replies:** 3\
**Last updated:** [May 23, 2019, 3:36am UTC](https://discuss.elastic.co/t/when-do-you-consider-modeling-some-of-the-fields-in-a-relational-database-vs-elasticsearch/182094 "2019-05-23T03:36:37Z")

</div>

Hi, I have a system similar to Blog Posts, comments, likes for posts and comments. I am considering modeling Blogs in ES and having data sync between Postgres system and ES when documents are updated. The Blog posts h…

---

## [Multiple nodes on Ubuntu 18.04with Elasticsearch 7](https://discuss.elastic.co/t/multiple-nodes-on-ubuntu-18-04with-elasticsearch-7/182099)

<div class="topic-metadata">

**Author:** [@Sangu](https://discuss.elastic.co/u/Sangu)\
**Replies:** 4\
**Last updated:** [May 23, 2019, 3:24am UTC](https://discuss.elastic.co/t/multiple-nodes-on-ubuntu-18-04with-elasticsearch-7/182099 "2019-05-23T03:24:08Z")

</div>

New to Ealsticsearch and trying to install it on my personal machine Is there any documentation regarding how to start multiple nodes on Ubuntu 18.04 with Elasticsearch 7?

---

## [Having problems starting Elasticsearch](https://discuss.elastic.co/t/having-problems-starting-elasticsearch/182106)

<div class="topic-metadata">

**Author:** [@Ronald\_Adams](https://discuss.elastic.co/u/Ronald_Adams)\
**Replies:** 4\
**Last updated:** [May 23, 2019, 3:16am UTC](https://discuss.elastic.co/t/having-problems-starting-elasticsearch/182106 "2019-05-23T03:16:29Z")

</div>

Having issues with Elasticsearch stopping. I can get it to start for a few moments but, then it fails. I'm trying to perform some testing with The Hive Project and this is consistent hangup. Thanks. RA. ● elasticsea…

---

## [Elastic Cloud - Upgrade button not available](https://discuss.elastic.co/t/elastic-cloud-upgrade-button-not-available/181920)

<div class="topic-metadata">

**Author:** [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Replies:** 3\
**Last updated:** [May 23, 2019, 2:29am UTC](https://discuss.elastic.co/t/elastic-cloud-upgrade-button-not-available/181920 "2019-05-23T02:29:22Z")

</div>

Hi, I just upgrade one of my instances from 6.7 to 6.8 in preparation for upgrading to 7.1. However after upgrading to 6.8 the upgrade button is not appearing anymore.

---

## [NEST Suggester errors](https://discuss.elastic.co/t/nest-suggester-errors/179634)

<div class="topic-metadata">

**Author:** [@jgomes](https://discuss.elastic.co/u/jgomes)\
**Replies:** 6\
**Last updated:** [May 23, 2019, 12:27am UTC](https://discuss.elastic.co/t/nest-suggester-errors/179634 "2019-05-23T00:27:41Z")

</div>

Hi all, I'm trying to get Suggesters up and running. Using Phrase, Term, or Completion I always get the following error variation. unable to parse SuggestionBuilder with name \[COMPLETION\]: parser not found" unable to …

---

## [ElasticSearch 7.0 upgrade from 6.7.1 issue with Metricbeat templates](https://discuss.elastic.co/t/elasticsearch-7-0-upgrade-from-6-7-1-issue-with-metricbeat-templates/177418)

<div class="topic-metadata">

**Author:** [@RogerDavies](https://discuss.elastic.co/u/RogerDavies)\
**Replies:** 3\
**Last updated:** [May 22, 2019, 8:39pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-upgrade-from-6-7-1-issue-with-metricbeat-templates/177418 "2019-05-22T20:39:03Z")

</div>

Hi I'm looking at a test ElasticSearch instance @ 6.7.1 upgrade to 7.0. The upgrade assistant says that the metricbeat templates for the cluster need looking at. Basically it says:- "Index templates \[metricbeat-7.0.0, …

---

## [Multiple attributes for allocation filter](https://discuss.elastic.co/t/multiple-attributes-for-allocation-filter/182322)

<div class="topic-metadata">

**Author:** [@danielmotaleite](https://discuss.elastic.co/u/danielmotaleite)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 8:31pm UTC](https://discuss.elastic.co/t/multiple-attributes-for-allocation-filter/182322 "2019-05-22T20:31:47Z")

</div>

how to use multiple atributes in elasticsearch, so we can use for shard allocation. I tried node.attr.role: \[ events, archive \] and node.attr.role: events,archive but both fail with: "explanation": "node does not m…

---

## [Groovy script execution occassionally "hangs"](https://discuss.elastic.co/t/groovy-script-execution-occassionally-hangs/182319)

<div class="topic-metadata">

**Author:** [@Bryan\_Warner](https://discuss.elastic.co/u/Bryan_Warner)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 8:22pm UTC](https://discuss.elastic.co/t/groovy-script-execution-occassionally-hangs/182319 "2019-05-22T20:22:10Z")

</div>

ES Version: 2.4.6 Java Version: openjdk version "1.8.0\_191" OS: Ubuntu 16.04.3 LTS Node Stats: 12 data nodes, 48 shards, ~1M parent docs, ~300M child docs Index Refresh Interval: 1s Experiencing an odd issue and wan…

---

## [Elasticsearch Docker container restart cause UUID to change](https://discuss.elastic.co/t/elasticsearch-docker-container-restart-cause-uuid-to-change/182066)

<div class="topic-metadata">

**Author:** [@DaveRoss](https://discuss.elastic.co/u/DaveRoss)\
**Replies:** 2\
**Last updated:** [May 22, 2019, 7:31pm UTC](https://discuss.elastic.co/t/elasticsearch-docker-container-restart-cause-uuid-to-change/182066 "2019-05-22T19:31:51Z")

</div>

Hi guys! So 7.1.0 is out and we where really excited to use RBAC so I did a full cluster restart upgrade but now I'm stuck with an error on my data nodes saying that the local UUID do not match the cluster one. After a …

---

## [Please help](https://discuss.elastic.co/t/please-help/181457)

<div class="topic-metadata">

**Author:** [@Aryan90](https://discuss.elastic.co/u/Aryan90)\
**Replies:** 9\
**Last updated:** [May 22, 2019, 6:32pm UTC](https://discuss.elastic.co/t/please-help/181457 "2019-05-22T18:32:45Z")

</div>

\[elastic@elasticsearch elasticsearch\] sudo systemctl status elasticsearch -l ● elasticsearch.service - Elasticsearch Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled) …

---

## [Delete is real-time or not?](https://discuss.elastic.co/t/delete-is-real-time-or-not/182290)

<div class="topic-metadata">

**Author:** [@artelk](https://discuss.elastic.co/u/artelk)\
**Replies:** 6\
**Last updated:** [May 22, 2019, 6:04pm UTC](https://discuss.elastic.co/t/delete-is-real-time-or-not/182290 "2019-05-22T18:04:12Z")

</div>

Is it possible that after Delete operation executed the object can be still searchable (can be returned from Search and Get operations) for some period of time? Delete operation has optional refresh parameter: https://…

---

## [Best approach to Join two different Elastic Indexes](https://discuss.elastic.co/t/best-approach-to-join-two-different-elastic-indexes/182284)

<div class="topic-metadata">

**Author:** [@matheusribeirogarcia](https://discuss.elastic.co/u/matheusribeirogarcia)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 4:34pm UTC](https://discuss.elastic.co/t/best-approach-to-join-two-different-elastic-indexes/182284 "2019-05-22T16:34:35Z")

</div>

Hello everyone, I have two Indexes, let me call them Index1 and Index2. I'm trying to update documents of Index2 that contains an expecif field value. Basically, for every document in Index1 I get a field value and que…

---

## [Upgrade from 6.7 to 7.1-auth failure](https://discuss.elastic.co/t/upgrade-from-6-7-to-7-1-auth-failure/182015)

<div class="topic-metadata">

**Author:** [@bkasrai](https://discuss.elastic.co/u/bkasrai)\
**Replies:** 5\
**Last updated:** [May 22, 2019, 4:45pm UTC](https://discuss.elastic.co/t/upgrade-from-6-7-to-7-1-auth-failure/182015 "2019-05-22T16:45:28Z")

</div>

Good morning-I recently upgraded from 6.6 to 6.7 in preparation for 7.1 upgrade. I was able to resolve all issues that were reported within upgrade assistant. (the biggest being the native realm yml change) During the up…

---

## [Average Query Latency Per Index?](https://discuss.elastic.co/t/average-query-latency-per-index/182283)

<div class="topic-metadata">

**Author:** [@Atri\_Sharma](https://discuss.elastic.co/u/Atri_Sharma)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 4:33pm UTC](https://discuss.elastic.co/t/average-query-latency-per-index/182283 "2019-05-22T16:33:20Z")

</div>

Is there a metric to see the average total latency of a query for an index? Search latency metrics available today are per node, so do not give a general idea of how queries are performing on an index especially when mul…

---

## [Cumulative sum query inside nested term aggregation \> avg aggregation](https://discuss.elastic.co/t/cumulative-sum-query-inside-nested-term-aggregation-avg-aggregation/182276)

<div class="topic-metadata">

**Author:** [@vinay\_srinivas](https://discuss.elastic.co/u/vinay_srinivas)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 3:57pm UTC](https://discuss.elastic.co/t/cumulative-sum-query-inside-nested-term-aggregation-avg-aggregation/182276 "2019-05-22T15:57:20Z")

</div>

Hi, I want to calculate cumulative sum inside nested term aggregation with avg aggregation. Document: { "\_index" : "storagemetric", "\_type" : "metric", "\_id" : "OwjM32oBFWuNUT6ZDzMS", "\_score" : 1.0, "\_source" : …

---

## [Question about Java Search API and building the queries](https://discuss.elastic.co/t/question-about-java-search-api-and-building-the-queries/182270)

<div class="topic-metadata">

**Author:** [@Jurgen\_Debedts](https://discuss.elastic.co/u/Jurgen_Debedts)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 3:39pm UTC](https://discuss.elastic.co/t/question-about-java-search-api-and-building-the-queries/182270 "2019-05-22T15:39:07Z")

</div>

Hello, I am trying to build an integration with a content management product and using Elastic as search engine for the documents in the system. The product can be configured quite a bit and gets as far as presenting m…

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

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