# Elasticsearch

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

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

**Page:** 1732

---

## [Return only the data inside nested property](https://discuss.elastic.co/t/return-only-the-data-inside-nested-property/126638)

<div class="topic-metadata">

**Author:** [@TomTom](https://discuss.elastic.co/u/TomTom)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 8:51pm UTC](https://discuss.elastic.co/t/return-only-the-data-inside-nested-property/126638 "2018-04-03T20:51:57Z")

</div>

Currently i have this mapping. { "blogs": { "mappings": { "blog": { "properties": { "comments": { "properties": { "content": { "type": "nested", …

---

## [Unbalanced disk usage with ES 6.1.3](https://discuss.elastic.co/t/unbalanced-disk-usage-with-es-6-1-3/125193)

<div class="topic-metadata">

**Author:** [@CB193](https://discuss.elastic.co/u/CB193)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 8:27pm UTC](https://discuss.elastic.co/t/unbalanced-disk-usage-with-es-6-1-3/125193 "2018-04-03T20:27:41Z")

</div>

I have a 7 node cluster which was recently upgraded from 5.5 to 5.6 and then to 6.1.3. For some reason 3 (a,b,c) of the nodes have hundreds of gb of disk space being taken up and I can't find out why. This is causing t…

---

## [Input geo locations with Elasticsearch.net](https://discuss.elastic.co/t/input-geo-locations-with-elasticsearch-net/126291)

<div class="topic-metadata">

**Author:** [@aaron.pedigo](https://discuss.elastic.co/u/aaron.pedigo)\
**Replies:** 2\
**Last updated:** [April 3, 2018, 6:50pm UTC](https://discuss.elastic.co/t/input-geo-locations-with-elasticsearch-net/126291 "2018-04-03T18:50:04Z")

</div>

I am using the Elasticesearch.net library instead of the NEST library and am able to input my data except my latitude and longitude are not able to be mapped to a geo\_point in Kibana. All of the examples I can find seem…

---

## [BulkWriteErrorHandler (6.2) - write failed documents to HDFS](https://discuss.elastic.co/t/bulkwriteerrorhandler-6-2-write-failed-documents-to-hdfs/126282)

<div class="topic-metadata">

**Author:** [@dr\_work](https://discuss.elastic.co/u/dr_work)\
**Replies:** 4\
**Last updated:** [April 3, 2018, 6:48pm UTC](https://discuss.elastic.co/t/bulkwriteerrorhandler-6-2-write-failed-documents-to-hdfs/126282 "2018-04-03T18:48:37Z")

</div>

In version 6.2, ErrorHandler functionality was added and it allows to add custom Bulk Error Handlers. In the documentation, the example shows how to write failed documents to a file using BufferedWriter/OutputStream. I…

---

## [Term query return no document](https://discuss.elastic.co/t/term-query-return-no-document/126170)

<div class="topic-metadata">

**Author:** [@alimardani](https://discuss.elastic.co/u/alimardani)\
**Replies:** 6\
**Last updated:** [April 3, 2018, 5:44pm UTC](https://discuss.elastic.co/t/term-query-return-no-document/126170 "2018-04-03T17:44:34Z")

</div>

Hi, I am trying to load a document by having the value of specific column. It loads the document once I use match query but doesn't load the document when I use term query. GET /keydate/\_search { "query": { "bool": {…

---

## [Is there any way to generate Index definition from Entities?](https://discuss.elastic.co/t/is-there-any-way-to-generate-index-definition-from-entities/126618)

<div class="topic-metadata">

**Author:** [@hym](https://discuss.elastic.co/u/hym)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 5:24pm UTC](https://discuss.elastic.co/t/is-there-any-way-to-generate-index-definition-from-entities/126618 "2018-04-03T17:24:35Z")

</div>

I am looking for a way to generate Index mapping definition from entities. I have to run the same application in two environments with different versions of Elastic search (2.1.x and 5.x). What came to my mind is to ha…

---

## ["index" : "not\_analyzed"](https://discuss.elastic.co/t/index-not-analyzed/126606)

<div class="topic-metadata">

**Author:** [@Tony\_Chirillo](https://discuss.elastic.co/u/Tony_Chirillo)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 4:58pm UTC](https://discuss.elastic.co/t/index-not-analyzed/126606 "2018-04-03T16:58:41Z")

</div>

In current releases of Elasticsearch, can a template be configured to not analyze an index? In a 4-year old blog post I saw someone had used: "index" : "not\_analyzed". Does this functionality still exist? I can not fin…

---

## [Find the value of a dynamic key inside an object](https://discuss.elastic.co/t/find-the-value-of-a-dynamic-key-inside-an-object/126607)

<div class="topic-metadata">

**Author:** [@pungent](https://discuss.elastic.co/u/pungent)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 4:33pm UTC](https://discuss.elastic.co/t/find-the-value-of-a-dynamic-key-inside-an-object/126607 "2018-04-03T16:33:33Z")

</div>

My partial mapping is as follows: "name": { "type": "string" }, "misc": { "type": "object", "dynamic": "true", "properties": {} } Let's assume there is only one document in my st…

---

## [Disable\_flush old es vs new es6 comparable feature](https://discuss.elastic.co/t/disable-flush-old-es-vs-new-es6-comparable-feature/126279)

<div class="topic-metadata">

**Author:** [@Scott\_Decker](https://discuss.elastic.co/u/Scott_Decker)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 4:24pm UTC](https://discuss.elastic.co/t/disable-flush-old-es-vs-new-es6-comparable-feature/126279 "2018-04-03T16:24:49Z")

</div>

Hi All, We are testing our upgrade to es 6, and the way we do our backups need to change a bit. In the older versions, we would call the index with "translog.disable\_flush": true this disables the flushing to disk of …

---

## [Installing Elasticsearch on Openshift](https://discuss.elastic.co/t/installing-elasticsearch-on-openshift/126332)

<div class="topic-metadata">

**Author:** [@neodjandre](https://discuss.elastic.co/u/neodjandre)\
**Replies:** 4\
**Last updated:** [April 3, 2018, 3:16pm UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-openshift/126332 "2018-04-03T15:16:02Z")

</div>

Hi, Is it possible to install elasticsearch on openshift? I am a newbie in both platforms and couldn't find any working tutorials. Any help would be much appreciated. Many thanks, Andrew

---

## [Maximum length for highlighting exceeded - What can I do?](https://discuss.elastic.co/t/maximum-length-for-highlighting-exceeded-what-can-i-do/121678)

<div class="topic-metadata">

**Author:** [@T3rm11](https://discuss.elastic.co/u/T3rm11)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 2:32pm UTC](https://discuss.elastic.co/t/maximum-length-for-highlighting-exceeded-what-can-i-do/121678 "2018-04-03T14:32:08Z")

</div>

Logstash sends exception with stacktraces to Elasticsearch and this results sometimes to this warning: The length of text to be analyzed for highlighting \[20567\] exceeded the allowed maximum of \[10000\] set for the next…

---

## [Elastic search RAM size](https://discuss.elastic.co/t/elastic-search-ram-size/126423)

<div class="topic-metadata">

**Author:** [@Deepak\_Mehta1](https://discuss.elastic.co/u/Deepak_Mehta1)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 2:23pm UTC](https://discuss.elastic.co/t/elastic-search-ram-size/126423 "2018-04-03T14:23:53Z")

</div>

Hello, We have ES 2.4 version cluster with 18TB of data (primary + 2 replicas). We have around 12 data nodes with 3TB of disk and 60 GB of RAM ( 30G Heap). We have around 100 indices of around 30 GB of size. Our searc…

---

## [Sorted scroll on large result set (2.4)](https://discuss.elastic.co/t/sorted-scroll-on-large-result-set-2-4/126583)

<div class="topic-metadata">

**Author:** [@fnork](https://discuss.elastic.co/u/fnork)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 1:50pm UTC](https://discuss.elastic.co/t/sorted-scroll-on-large-result-set-2-4/126583 "2018-04-03T13:50:02Z")

</div>

I'm investigating a cluster (running 2.4) where sorted scroll queries fails in the middle of retrieving the result set. The result sets are very large (millions of docs). My impression is that large sorted scrolls are v…

---

## [Filtering "long" type values returns 0 hits, no results](https://discuss.elastic.co/t/filtering-long-type-values-returns-0-hits-no-results/52975)

<div class="topic-metadata">

**Author:** [@twee](https://discuss.elastic.co/u/twee)\
**Replies:** 12\
**Last updated:** [April 3, 2018, 1:21pm UTC](https://discuss.elastic.co/t/filtering-long-type-values-returns-0-hits-no-results/52975 "2018-04-03T13:21:26Z")

</div>

Hi, I'm having an index with mapping as following: domainId":{"type":"long"} In kibana, I see values for this field, for example: 7,653,256,037,708,803,072 7,055,736,606,716,153,856 -3,956,219,722,791,012,864 . . …

---

## [Create alias using filter to exclude certain value](https://discuss.elastic.co/t/create-alias-using-filter-to-exclude-certain-value/123126)

<div class="topic-metadata">

**Author:** [@reswob](https://discuss.elastic.co/u/reswob)\
**Replies:** 2\
**Last updated:** [April 3, 2018, 1:31pm UTC](https://discuss.elastic.co/t/create-alias-using-filter-to-exclude-certain-value/123126 "2018-04-03T13:31:20Z")

</div>

According to Aliases API | Elasticsearch Guide \[8.11\] | Elastic, I can create an alias for certain events in an index, like all events with a certain tag. I would like to create an alias for all events in an index WITHO…

---

## [Multiple data locations](https://discuss.elastic.co/t/multiple-data-locations/126481)

<div class="topic-metadata">

**Author:** [@Exocomp](https://discuss.elastic.co/u/Exocomp)\
**Replies:** 2\
**Last updated:** [April 3, 2018, 1:05pm UTC](https://discuss.elastic.co/t/multiple-data-locations/126481 "2018-04-03T13:05:51Z")

</div>

Can elasticsearch be configured in such a way that it first creates the index for the day in one location and then at the end of the day it to an archive location ? For example: At the start of a new day Elasticsearch…

---

## [Need to be show my Time zone in Elk](https://discuss.elastic.co/t/need-to-be-show-my-time-zone-in-elk/126564)

<div class="topic-metadata">

**Author:** [@baskar](https://discuss.elastic.co/u/baskar)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 1:05pm UTC](https://discuss.elastic.co/t/need-to-be-show-my-time-zone-in-elk/126564 "2018-04-03T13:05:32Z")

</div>

Hi , There is issue to showing Time 2018-04-03T10:05:01.466Z We Need show our time ..Please advice where i need to set Time Zone .. Below showing Backup snapshot detail \<|snapshot|"20180403-153501"| |---|---| |uuid…

---

## [Nullvaluehandling for dictionary property in partial update](https://discuss.elastic.co/t/nullvaluehandling-for-dictionary-property-in-partial-update/126087)

<div class="topic-metadata">

**Author:** [@Giovanni\_Caputo](https://discuss.elastic.co/u/Giovanni_Caputo)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 12:45pm UTC](https://discuss.elastic.co/t/nullvaluehandling-for-dictionary-property-in-partial-update/126087 "2018-04-03T12:45:48Z")

</div>

NEST/Elasticsearch.Net version: 6.0.2 Elasticsearch version: 6.2.2 /6.1.2 I want use a partial update \_client.Update\<T, P\>(docPath, f =\> f.Doc(partialDocument).Index(\_indexName).DocAsUpsert().Routing(routing) ) The…

---

## [Why ES version 6.2 performance is worse than version 5.3](https://discuss.elastic.co/t/why-es-version-6-2-performance-is-worse-than-version-5-3/126130)

<div class="topic-metadata">

**Author:** [@fuwei1234](https://discuss.elastic.co/u/fuwei1234)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 12:44pm UTC](https://discuss.elastic.co/t/why-es-version-6-2-performance-is-worse-than-version-5-3/126130 "2018-04-03T12:44:06Z")

</div>

400,000 Rows data, after I load data to version 6.2, kibana dashboard performance is very bad, searching takes about 10 sec. It takes much lesser time in version 5.3 with same data, same query. Anybody has any idea on th…

---

## [Aggregate partial words logged by completion suggester](https://discuss.elastic.co/t/aggregate-partial-words-logged-by-completion-suggester/126562)

<div class="topic-metadata">

**Author:** [@Lakshya\_Aggarwal](https://discuss.elastic.co/u/Lakshya_Aggarwal)\
**Replies:** 0\
**Last updated:** [April 3, 2018, 11:57am UTC](https://discuss.elastic.co/t/aggregate-partial-words-logged-by-completion-suggester/126562 "2018-04-03T11:57:36Z")

</div>

I am using the completion suggester feature of Elasticsearch. It logs the search keyword every time user enters a key irrespective of it being the complete word or only a partial word. Is there any functionality to group…

---

## [Fastest copy of index](https://discuss.elastic.co/t/fastest-copy-of-index/125608)

<div class="topic-metadata">

**Author:** [@Kennethtruyers](https://discuss.elastic.co/u/Kennethtruyers)\
**Replies:** 20\
**Last updated:** [April 3, 2018, 11:35am UTC](https://discuss.elastic.co/t/fastest-copy-of-index/125608 "2018-04-03T11:35:16Z")

</div>

I know this question may have been asked before, but the responses in other threads are not sufficient for my use case. Data: Cluster: 6 nodes Index size: 10GB Document count: 35.000.000 Shards: 5 We want to be abl…

---

## [Logstash, Kibana & Beats backward compatibility with ES 1.7.3?](https://discuss.elastic.co/t/logstash-kibana-beats-backward-compatibility-with-es-1-7-3/126555)

<div class="topic-metadata">

**Author:** [@VanGTO](https://discuss.elastic.co/u/VanGTO)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 11:31am UTC](https://discuss.elastic.co/t/logstash-kibana-beats-backward-compatibility-with-es-1-7-3/126555 "2018-04-03T11:31:08Z")

</div>

Hi all, I've had a look around various information sources/outlets and i've not managed to find a concrete answer re Elastic component backward compatibility. Situation: Alfresco Activiti BPM comes with Elasticsearch …

---

## [Unable to access Elastic search from remote host using postman](https://discuss.elastic.co/t/unable-to-access-elastic-search-from-remote-host-using-postman/126511)

<div class="topic-metadata">

**Author:** [@prachi1](https://discuss.elastic.co/u/prachi1)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 11:30am UTC](https://discuss.elastic.co/t/unable-to-access-elastic-search-from-remote-host-using-postman/126511 "2018-04-03T11:30:56Z")

</div>

I can query Elastic search using curl command from local host but it is not getting accessed from remote host using postman.

---

## [Snapshots not showing](https://discuss.elastic.co/t/snapshots-not-showing/125986)

<div class="topic-metadata">

**Author:** [@Butterfly](https://discuss.elastic.co/u/Butterfly)\
**Replies:** 4\
**Last updated:** [April 3, 2018, 9:47am UTC](https://discuss.elastic.co/t/snapshots-not-showing/125986 "2018-04-03T09:47:01Z")

</div>

I have two clusters A and B, the repos on both are pointing to the same location. A on 2.4.4 B on 5.6.8 snapshots on cluster A showed up before on cluster B, but today new snapshots on A won't show on B anymore. What…

---

## [Restrict http module to certain port](https://discuss.elastic.co/t/restrict-http-module-to-certain-port/126533)

<div class="topic-metadata">

**Author:** [@weejim\_sc](https://discuss.elastic.co/u/weejim_sc)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 9:22am UTC](https://discuss.elastic.co/t/restrict-http-module-to-certain-port/126533 "2018-04-03T09:22:16Z")

</div>

Is there a way to restrict the http services to localhost only for e.g : http://localhost:9200

---

## [Why i get different result when i use term and match](https://discuss.elastic.co/t/why-i-get-different-result-when-i-use-term-and-match/126520)

<div class="topic-metadata">

**Author:** [@chenzilong444](https://discuss.elastic.co/u/chenzilong444)\
**Replies:** 2\
**Last updated:** [April 3, 2018, 9:00am UTC](https://discuss.elastic.co/t/why-i-get-different-result-when-i-use-term-and-match/126520 "2018-04-03T09:00:52Z")

</div>

GET /logstash(2018.03.31)/\_search { "query":{ "bool":{ "must":\[ {"match":{"MSG":"PayResult"} } \], "must\_not": \[ { "match": { "PayResult":"Leave"}} \] } },"size":0, "aggs": { "sed\_terms": { "terms": { "fie…

---

## [Routing in search operation](https://discuss.elastic.co/t/routing-in-search-operation/125103)

<div class="topic-metadata">

**Author:** [@Phuong\_Hoang](https://discuss.elastic.co/u/Phuong_Hoang)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 9:00am UTC](https://discuss.elastic.co/t/routing-in-search-operation/125103 "2018-04-03T09:00:02Z")

</div>

In my case, each user has \_routing equal to group\_id For search operation, I have a custom parameter sources that randomizes the group\_id in the search body, how could I add the \_routing which is equal to group\_id in t…

---

## [Rally and Httperf](https://discuss.elastic.co/t/rally-and-httperf/124457)

<div class="topic-metadata">

**Author:** [@jlwysf](https://discuss.elastic.co/u/jlwysf)\
**Replies:** 4\
**Last updated:** [April 3, 2018, 8:52am UTC](https://discuss.elastic.co/t/rally-and-httperf/124457 "2018-04-03T08:52:17Z")

</div>

I'm new to rally, I used to use httperf, I have some questions hope I can get an answer here. In httperf we can set concurrent connections, does Rally also support that? If yes,How many concurrent Connection by defa…

---

## [How to make use of \_meta when using search API](https://discuss.elastic.co/t/how-to-make-use-of-meta-when-using-search-api/121920)

<div class="topic-metadata">

**Author:** [@peter-ponzel](https://discuss.elastic.co/u/peter-ponzel)\
**Replies:** 13\
**Last updated:** [April 3, 2018, 8:25am UTC](https://discuss.elastic.co/t/how-to-make-use-of-meta-when-using-search-api/121920 "2018-04-03T08:25:22Z")

</div>

hello, is there a way to include the \_meta data of an index when doing a search on multiple indices? In my case I have lots of indices which makes it kind of hard to provide them for a search on "Multiple Indices" and …

---

## [Approximate Matching with multiple phrases](https://discuss.elastic.co/t/approximate-matching-with-multiple-phrases/125940)

<div class="topic-metadata">

**Author:** [@Abanoub\_Amgad](https://discuss.elastic.co/u/Abanoub_Amgad)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 8:22am UTC](https://discuss.elastic.co/t/approximate-matching-with-multiple-phrases/125940 "2018-04-03T08:22:24Z")

</div>

Hello everyone, Well, I was wondering if Elasticsearch does have the "Slop" option for phrases too? I mean, I know I can search for a phrase (say "keyword1 keyword2") and set a maximum distance between those two keywor…

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

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