# Elasticsearch

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

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

**Page:** 1703

---

## [Using current logged in username as dashboard filter](https://discuss.elastic.co/t/using-current-logged-in-username-as-dashboard-filter/127599)

<div class="topic-metadata">

**Author:** [@mhakkiersoy](https://discuss.elastic.co/u/mhakkiersoy)\
**Replies:** 2\
**Last updated:** [May 1, 2018, 8:47pm UTC](https://discuss.elastic.co/t/using-current-logged-in-username-as-dashboard-filter/127599 "2018-05-01T20:47:24Z")

</div>

We are using xpack and trying to get logged username and pass it to the dashboard for filtering. We have read lots of documents and discussion topics on this site however we haven't find out a usable solution yet, but in…

---

## [Elasticsearch Service in AWS](https://discuss.elastic.co/t/elasticsearch-service-in-aws/130150)

<div class="topic-metadata">

**Author:** [@vnkasturi](https://discuss.elastic.co/u/vnkasturi)\
**Replies:** 1\
**Last updated:** [May 1, 2018, 7:53pm UTC](https://discuss.elastic.co/t/elasticsearch-service-in-aws/130150 "2018-05-01T19:53:54Z")

</div>

Hi everyone, I am thinking of leveraging cloud for running the Elastic Stack. I am thinking of Elasticsearch Service on AWS. Have any one tried this? If yes what is the outcome? I am thinking of having 3 (elasticsearch s…

---

## [How to set EagerGlobalOrdinals flag for parent-child join field in Nest](https://discuss.elastic.co/t/how-to-set-eagerglobalordinals-flag-for-parent-child-join-field-in-nest/130148)

<div class="topic-metadata">

**Author:** [@ttonyyao](https://discuss.elastic.co/u/ttonyyao)\
**Replies:** 0\
**Last updated:** [May 1, 2018, 7:15pm UTC](https://discuss.elastic.co/t/how-to-set-eagerglobalordinals-flag-for-parent-child-join-field-in-nest/130148 "2018-05-01T19:15:51Z")

</div>

Looks like the join attribute do not have the EagerGlobalOrdinals flag while Keyword and Text have it. The flag is import to tune the performance. I can manually build json request to change the join field mapping. Howe…

---

## [NEST API UpdateByQuery](https://discuss.elastic.co/t/nest-api-updatebyquery/128759)

<div class="topic-metadata">

**Author:** [@han1](https://discuss.elastic.co/u/han1)\
**Replies:** 5\
**Last updated:** [May 1, 2018, 6:27pm UTC](https://discuss.elastic.co/t/nest-api-updatebyquery/128759 "2018-05-01T18:27:01Z")

</div>

Could someone KINDLY let us know what the syntax is using NEST when we want to do a partial update using the UpdateByQuery. We know you can only use scripts, but we have not a clue how to do this. Your assistance will …

---

## [Date format high level rest client 6.2](https://discuss.elastic.co/t/date-format-high-level-rest-client-6-2/130091)

<div class="topic-metadata">

**Author:** [@Omprakash\_Verma](https://discuss.elastic.co/u/Omprakash_Verma)\
**Replies:** 3\
**Last updated:** [May 1, 2018, 6:23pm UTC](https://discuss.elastic.co/t/date-format-high-level-rest-client-6-2/130091 "2018-05-01T18:23:39Z")

</div>

Hi, I am facing one issue related to date format in ES response. When I index data, it is mapped as text, how can I specify the mappings before or at the time of indexing the data. If I call the mappings api before ind…

---

## [How to identify number of shards based on the nodes](https://discuss.elastic.co/t/how-to-identify-number-of-shards-based-on-the-nodes/130071)

<div class="topic-metadata">

**Author:** [@rajkamalkool6](https://discuss.elastic.co/u/rajkamalkool6)\
**Replies:** 7\
**Last updated:** [May 1, 2018, 4:49pm UTC](https://discuss.elastic.co/t/how-to-identify-number-of-shards-based-on-the-nodes/130071 "2018-05-01T16:49:11Z")

</div>

I have a 5 node Elasticsearch cluster of version 5.2.1. It consist of 3 master and 2 data node. I defined no.of shards as 7 and replica as 1. With this setting sometimes my shards health are going to yellow status. Whi…

---

## [The length of text to be analyzed for highlighting \[18031\] exceeded the allowed maximum of \[10000\] set for the next major Elastic version. For large texts, indexing with offsets or term vectors is recommended!](https://discuss.elastic.co/t/the-length-of-text-to-be-analyzed-for-highlighting-18031-exceeded-the-allowed-maximum-of-10000-set-for-the-next-major-elastic-version-for-large-texts-indexing-with-offsets-or-term-vectors-is-recommended/128740)

<div class="topic-metadata">

**Author:** [@vaishali1](https://discuss.elastic.co/u/vaishali1)\
**Replies:** 6\
**Last updated:** [May 1, 2018, 3:36pm UTC](https://discuss.elastic.co/t/the-length-of-text-to-be-analyzed-for-highlighting-18031-exceeded-the-allowed-maximum-of-10000-set-for-the-next-major-elastic-version-for-large-texts-indexing-with-offsets-or-term-vectors-is-recommended/128740 "2018-05-01T15:36:52Z")

</div>

\[2018-04-17T15:00:25,855\]\[WARN \]\[d.o.a.l.s.u.CustomUnifiedHighlighter\] The length of text to be analyzed for highlighting \[18031\] exceeded the allowed maximum of \[10000\] set for the next major Elastic version. For large …

---

## [Indexing 5GB file](https://discuss.elastic.co/t/indexing-5gb-file/129875)

<div class="topic-metadata">

**Author:** [@Parul-Kudtarkar](https://discuss.elastic.co/u/Parul-Kudtarkar)\
**Replies:** 7\
**Last updated:** [May 1, 2018, 3:14pm UTC](https://discuss.elastic.co/t/indexing-5gb-file/129875 "2018-05-01T15:14:30Z")

</div>

Hi, What is the max size to index file? What are options to index a large file ~5GB other than breaking it into chuncks. Thanks, Parul

---

## [Filtering based on wildcard field name and synamicly adding them to \_source](https://discuss.elastic.co/t/filtering-based-on-wildcard-field-name-and-synamicly-adding-them-to-source/130092)

<div class="topic-metadata">

**Author:** [@yishain11](https://discuss.elastic.co/u/yishain11)\
**Replies:** 9\
**Last updated:** [May 1, 2018, 3:08pm UTC](https://discuss.elastic.co/t/filtering-based-on-wildcard-field-name-and-synamicly-adding-them-to-source/130092 "2018-05-01T15:08:56Z")

</div>

Hi everyone! I have a doc the looks like this: { "field1\_isChanged": "false", "field1\_value": "someVal1", "field2\_isChanged": "true", "field2\_value": "someVal2", "field3\_isChanged": "true", "field3\_value": "someVal3", …

---

## [Querying from multiple indices](https://discuss.elastic.co/t/querying-from-multiple-indices/130125)

<div class="topic-metadata">

**Author:** [@dangal](https://discuss.elastic.co/u/dangal)\
**Replies:** 1\
**Last updated:** [May 1, 2018, 2:11pm UTC](https://discuss.elastic.co/t/querying-from-multiple-indices/130125 "2018-05-01T14:11:14Z")

</div>

Hi All, GET pk,dangal/\_search { "query": { "bool": { "must": \[ { "match": { "user": "kimchy" }}, { "match": { "format": "text" }} \] } } } in the above query you can see that I…

---

## [Benchmarking sequence of operations](https://discuss.elastic.co/t/benchmarking-sequence-of-operations/129557)

<div class="topic-metadata">

**Author:** [@tanenblatt](https://discuss.elastic.co/u/tanenblatt)\
**Replies:** 5\
**Last updated:** [May 1, 2018, 1:42pm UTC](https://discuss.elastic.co/t/benchmarking-sequence-of-operations/129557 "2018-05-01T13:42:21Z")

</div>

Being relatively new to using Rally, maybe I'm missing something, but: Our system is using Elasticsearch to select some documents, then uses data from those documents to select some other documents, and then uses data f…

---

## [Getting and Error "Caanot assign multiple type to one index"](https://discuss.elastic.co/t/getting-and-error-caanot-assign-multiple-type-to-one-index/130114)

<div class="topic-metadata">

**Author:** [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Replies:** 1\
**Last updated:** [May 1, 2018, 1:18pm UTC](https://discuss.elastic.co/t/getting-and-error-caanot-assign-multiple-type-to-one-index/130114 "2018-05-01T13:18:13Z")

</div>

Hi Experts, I am aware that multiple type cannot be assigned in ES6.x index. I have a CSV file and using LS I am parsing it . My ES6.x template is like below PUT \_template/test { "index\_patterns": \["test\*"\], "setti…

---

## [Elastic Search MSI installer Beta or not?](https://discuss.elastic.co/t/elastic-search-msi-installer-beta-or-not/129153)

<div class="topic-metadata">

**Author:** [@pambro](https://discuss.elastic.co/u/pambro)\
**Replies:** 1\
**Last updated:** [May 1, 2018, 1:05pm UTC](https://discuss.elastic.co/t/elastic-search-msi-installer-beta-or-not/129153 "2018-05-01T13:05:56Z")

</div>

Hello, I see from the Elastic Search download site that the Windows MSI installer has a "Beta" note next to it. What does this mean? That it's not officially supported yet? That it's experimental? That there are caveats…

---

## [NEST and parent/child relation](https://discuss.elastic.co/t/nest-and-parent-child-relation/129450)

<div class="topic-metadata">

**Author:** [@Waylander](https://discuss.elastic.co/u/Waylander)\
**Replies:** 2\
**Last updated:** [May 1, 2018, 12:54pm UTC](https://discuss.elastic.co/t/nest-and-parent-child-relation/129450 "2018-05-01T12:54:12Z")

</div>

Hi! I try to use parent/child relation following by this document. I have the same classes for test: MyDocument, MyParent, MyChild. Index creation: var createIndexResponse = ElasticClient.CreateIndex("a\_t…

---

## [More Like This Query (MLT) with nested objects](https://discuss.elastic.co/t/more-like-this-query-mlt-with-nested-objects/130119)

<div class="topic-metadata">

**Author:** [@wizob](https://discuss.elastic.co/u/wizob)\
**Replies:** 0\
**Last updated:** [May 1, 2018, 12:49pm UTC](https://discuss.elastic.co/t/more-like-this-query-mlt-with-nested-objects/130119 "2018-05-01T12:49:05Z")

</div>

Hey :slight\_smile: I created an index with nested objects, kind of like this: user: properties: name: type: text institutions: type: nested properties: …

---

## [Scroll API nest for large datasets](https://discuss.elastic.co/t/scroll-api-nest-for-large-datasets/130062)

<div class="topic-metadata">

**Author:** [@mww1](https://discuss.elastic.co/u/mww1)\
**Replies:** 1\
**Last updated:** [May 1, 2018, 12:33pm UTC](https://discuss.elastic.co/t/scroll-api-nest-for-large-datasets/130062 "2018-05-01T12:33:51Z")

</div>

Hello guys, I am using scan and scroll api for ES nest 5.5 to retrieve documents over 1.3 million in size(6 fields/document) my scroll api works fine if I retrieve less number of documents(around 800000) but when I want…

---

## [What gives the best search improvements?](https://discuss.elastic.co/t/what-gives-the-best-search-improvements/130116)

<div class="topic-metadata">

**Author:** [@emillykkejensen](https://discuss.elastic.co/u/emillykkejensen)\
**Replies:** 0\
**Last updated:** [May 1, 2018, 12:24pm UTC](https://discuss.elastic.co/t/what-gives-the-best-search-improvements/130116 "2018-05-01T12:24:13Z")

</div>

As a follow-up question to this article: https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-search-speed.html I would like to know which way to best improve search time for my ES database. Would it…

---

## [Term Aggregation and displaying top scored document for each term](https://discuss.elastic.co/t/term-aggregation-and-displaying-top-scored-document-for-each-term/128905)

<div class="topic-metadata">

**Author:** [@LGans316](https://discuss.elastic.co/u/LGans316)\
**Replies:** 6\
**Last updated:** [May 1, 2018, 12:00pm UTC](https://discuss.elastic.co/t/term-aggregation-and-displaying-top-scored-document-for-each-term/128905 "2018-05-01T12:00:25Z")

</div>

Hello Friends, Request Searching for 2 keys and displaying the aggregations alongside. GET /new\_irds\_ld\_tf/\_search { "size": 1, "query": { "bool": { "must": { "term": { "status.keyword"…

---

## [Poor Query Performance Results](https://discuss.elastic.co/t/poor-query-performance-results/129954)

<div class="topic-metadata">

**Author:** [@groot](https://discuss.elastic.co/u/groot)\
**Replies:** 6\
**Last updated:** [May 1, 2018, 11:40am UTC](https://discuss.elastic.co/t/poor-query-performance-results/129954 "2018-05-01T11:40:20Z")

</div>

Hi , I need advice , I have build in my company a new ELK environment with 5 nodes (vm machines) which one is Coordinator node with kibana And the other nodes are data nodes with 6 shards per index . Between our coord…

---

## [Cluster green but not response](https://discuss.elastic.co/t/cluster-green-but-not-response/130098)

<div class="topic-metadata">

**Author:** [@vincentduan](https://discuss.elastic.co/u/vincentduan)\
**Replies:** 3\
**Last updated:** [May 1, 2018, 8:51am UTC](https://discuss.elastic.co/t/cluster-green-but-not-response/130098 "2018-05-01T08:51:57Z")

</div>

my cluster is green by using curl -X GET 'http://ip:9200/\_cluster/health?pretty' , it show green cluster , but my search query didn't response anything. master's log show : failed to excute on node \[xxxxxx\] org.elastic…

---

## [Curator excution error on Elasticstack 6.2.4](https://discuss.elastic.co/t/curator-excution-error-on-elasticstack-6-2-4/130008)

<div class="topic-metadata">

**Author:** [@matsgth](https://discuss.elastic.co/u/matsgth)\
**Replies:** 2\
**Last updated:** [May 1, 2018, 2:34am UTC](https://discuss.elastic.co/t/curator-excution-error-on-elasticstack-6-2-4/130008 "2018-05-01T02:34:28Z")

</div>

Hello I am learning Elasticstack, greate tools! Are there any good way to use “curator” to delete old data on Elasticstack 6.2.4. Whats happens I Install Elasticstack 6.2.4 with apt-get on Debian 9, work well! Then…

---

## [Elasticsearch Kibana ECONNRESET/socket hang up](https://discuss.elastic.co/t/elasticsearch-kibana-econnreset-socket-hang-up/130096)

<div class="topic-metadata">

**Author:** [@hadi](https://discuss.elastic.co/u/hadi)\
**Replies:** 6\
**Last updated:** [May 1, 2018, 8:27am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-econnreset-socket-hang-up/130096 "2018-05-01T08:27:54Z")

</div>

Hi, I am seeing this page and I am not sure what causes it. Please let me know if you have any idea what can be the reason? \[11111111111111111a\] Kibana is pointing to the same machine that is hosted on. cat /etc/kiba…

---

## [ELK + SonarQube](https://discuss.elastic.co/t/elk-sonarqube/127732)

<div class="topic-metadata">

**Author:** [@Anthony\_Fernando](https://discuss.elastic.co/u/Anthony_Fernando)\
**Replies:** 4\
**Last updated:** [May 1, 2018, 7:11am UTC](https://discuss.elastic.co/t/elk-sonarqube/127732 "2018-05-01T07:11:42Z")

</div>

Hi, I need help in creating an elasticsearch index using the data collected by Sonarqube. Need a bit of walk through for this. Is there a tool for collecting data and creating elasticsearch indexes by interacting with So…

---

## [High level Java rest client date range greater than showing from and to in query formed](https://discuss.elastic.co/t/high-level-java-rest-client-date-range-greater-than-showing-from-and-to-in-query-formed/129649)

<div class="topic-metadata">

**Author:** [@Omprakash\_Verma](https://discuss.elastic.co/u/Omprakash_Verma)\
**Replies:** 8\
**Last updated:** [May 1, 2018, 7:08am UTC](https://discuss.elastic.co/t/high-level-java-rest-client-date-range-greater-than-showing-from-and-to-in-query-formed/129649 "2018-05-01T07:08:06Z")

</div>

Hi All, I am stucked in 1 elastic search query. I need to execute following query. select \* from history where (start\_date is null OR start\_date \< SOME\_DATE) AND (end\_date is null OR end\_date \< SOME\_DATE). I have adde…

---

## [Alias with query clause](https://discuss.elastic.co/t/alias-with-query-clause/130083)

<div class="topic-metadata">

**Author:** [@mattkallo](https://discuss.elastic.co/u/mattkallo)\
**Replies:** 1\
**Last updated:** [May 1, 2018, 3:05am UTC](https://discuss.elastic.co/t/alias-with-query-clause/130083 "2018-05-01T03:05:08Z")

</div>

Does alias allow queries inside like below? Or it allows only filters? I am able to create the alias with below, but the match clause doesn't seem to be working. Any alternatives to this? Thanks PUT /sports/\_alias/baseb…

---

## [How does search result always show on TOP of popularity search](https://discuss.elastic.co/t/how-does-search-result-always-show-on-top-of-popularity-search/129960)

<div class="topic-metadata">

**Author:** [@woon\_minika](https://discuss.elastic.co/u/woon_minika)\
**Replies:** 2\
**Last updated:** [May 1, 2018, 2:38am UTC](https://discuss.elastic.co/t/how-does-search-result-always-show-on-top-of-popularity-search/129960 "2018-05-01T02:38:34Z")

</div>

I want to have the most matched result show and order by popularity of what people search, how should I do?

---

## [Adding/removing master eligible nodes to/from existing cluster](https://discuss.elastic.co/t/adding-removing-master-eligible-nodes-to-from-existing-cluster/129890)

<div class="topic-metadata">

**Author:** [@laurentiusoica](https://discuss.elastic.co/u/laurentiusoica)\
**Replies:** 5\
**Last updated:** [April 30, 2018, 11:10pm UTC](https://discuss.elastic.co/t/adding-removing-master-eligible-nodes-to-from-existing-cluster/129890 "2018-04-30T23:10:46Z")

</div>

Hello, Considering an existing ES cluster with 3 master eligible nodes, what is the recommended steps to run in order to add 3 new master eligible nodes: add the nodes to the cluster and then update discovery.zen.mini…

---

## [Reg - Shard allocation/balancing](https://discuss.elastic.co/t/reg-shard-allocation-balancing/130074)

<div class="topic-metadata">

**Author:** [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)\
**Replies:** 0\
**Last updated:** [April 30, 2018, 10:39pm UTC](https://discuss.elastic.co/t/reg-shard-allocation-balancing/130074 "2018-04-30T22:39:01Z")

</div>

Need some clarification on cluster level shard allocation. I have setup shard allocation using rack strategy. Have two racks (each represent 5 nodes). Have set the attribute. (No Forced Allocation) cluster.routing.all…

---

## [Issue with upgrading from 5.5.1 to 6.2.3](https://discuss.elastic.co/t/issue-with-upgrading-from-5-5-1-to-6-2-3/126156)

<div class="topic-metadata">

**Author:** [@pavocristatus](https://discuss.elastic.co/u/pavocristatus)\
**Replies:** 5\
**Last updated:** [April 30, 2018, 10:11pm UTC](https://discuss.elastic.co/t/issue-with-upgrading-from-5-5-1-to-6-2-3/126156 "2018-04-30T22:11:13Z")

</div>

I recently upgraded the Elasticsearch from 5.5.1 to using ElasticSearch 6.2.3 I get the following error during execution in apache-spark 2.2.1 Exception in thread "main" java.lang.NoClassDefFoundError: org/elasticsearc…

---

## [Courier 5 of 120 Shards Failed](https://discuss.elastic.co/t/courier-5-of-120-shards-failed/129832)

<div class="topic-metadata">

**Author:** [@vaishali1](https://discuss.elastic.co/u/vaishali1)\
**Replies:** 3\
**Last updated:** [April 30, 2018, 9:37pm UTC](https://discuss.elastic.co/t/courier-5-of-120-shards-failed/129832 "2018-04-30T21:37:00Z")

</div>

Hi, Courier 5 of 120 Shards Failed , what is the meaning of this?

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

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