# Elasticsearch

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

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

**Page:** 1853

---

## [Elasticsearch geo search strange behavior](https://discuss.elastic.co/t/elasticsearch-geo-search-strange-behavior/111059)

<div class="topic-metadata">

**Author:** [@iandthen](https://discuss.elastic.co/u/iandthen)\
**Replies:** 7\
**Last updated:** [December 15, 2017, 2:01pm UTC](https://discuss.elastic.co/t/elasticsearch-geo-search-strange-behavior/111059 "2017-12-15T14:01:59Z")

</div>

A few days ago I faced with the strange behavior of geo search in Elasticsearch. I use AWS managed ES 5.5, obviously over REST interface. Assume we have 200k objects with location info represented as the point only. I …

---

## [Sorting on nested documents and getting the document that was used for the sort](https://discuss.elastic.co/t/sorting-on-nested-documents-and-getting-the-document-that-was-used-for-the-sort/111992)

<div class="topic-metadata">

**Author:** [@teodor624](https://discuss.elastic.co/u/teodor624)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 1:34pm UTC](https://discuss.elastic.co/t/sorting-on-nested-documents-and-getting-the-document-that-was-used-for-the-sort/111992 "2017-12-15T13:34:18Z")

</div>

I'm working on a project for aggregating company data and company financial reports. Currently I have a mapping similair to this (I have skipped the fields not needed for my question): { "companies": { "mappings": {…

---

## [Need to reindex data collected from querying the current ES index](https://discuss.elastic.co/t/need-to-reindex-data-collected-from-querying-the-current-es-index/111991)

<div class="topic-metadata">

**Author:** [@Shubham\_Mahajan](https://discuss.elastic.co/u/Shubham_Mahajan)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 1:26pm UTC](https://discuss.elastic.co/t/need-to-reindex-data-collected-from-querying-the-current-es-index/111991 "2017-12-15T13:26:04Z")

</div>

Hi everyone I am trying to implement statistical anomaly detector in my ES cluster based on the below blog. https://www.elastic.co/blog/implementing-a-statistical-anomaly-detector-part-13.. I am having queries regardi…

---

## [I created s3 repository for snapshot and restore but unable to restore it using created snapshot?](https://discuss.elastic.co/t/i-created-s3-repository-for-snapshot-and-restore-but-unable-to-restore-it-using-created-snapshot/111974)

<div class="topic-metadata">

**Author:** [@vinayak](https://discuss.elastic.co/u/vinayak)\
**Replies:** 2\
**Last updated:** [December 15, 2017, 12:57pm UTC](https://discuss.elastic.co/t/i-created-s3-repository-for-snapshot-and-restore-but-unable-to-restore-it-using-created-snapshot/111974 "2017-12-15T12:57:45Z")

</div>

Query for creating s3 repository: PUT /\_snapshot/s3\_repository?verify=false { "type": "s3", "settings": { "bucket": "appneura-elasticsearch-snapshot-backup", "region": "us-west-2", "access\_key": "\*\*\*\*\*\*\*…

---

## [A bout early termination of search request -- track\_total\_hits](https://discuss.elastic.co/t/a-bout-early-termination-of-search-request-track-total-hits/111982)

<div class="topic-metadata">

**Author:** [@sshling](https://discuss.elastic.co/u/sshling)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 12:35pm UTC](https://discuss.elastic.co/t/a-bout-early-termination-of-search-request-track-total-hits/111982 "2017-12-15T12:35:23Z")

</div>

ref :A bout early termination of search request GET /events/\_search { "size": 10, "sort": \[ { "timestamp": "desc" } \], "track\_total\_hits": false } If the search query to join other query condi…

---

## [Is ElasticSearch 6.1 still in beta?](https://discuss.elastic.co/t/is-elasticsearch-6-1-still-in-beta/111960)

<div class="topic-metadata">

**Author:** [@teejayuu](https://discuss.elastic.co/u/teejayuu)\
**Replies:** 4\
**Last updated:** [December 15, 2017, 12:30pm UTC](https://discuss.elastic.co/t/is-elasticsearch-6-1-still-in-beta/111960 "2017-12-15T12:30:34Z")

</div>

Is ElasticSearch 6.1 still in Beta? Is anyone using it?

---

## [Shard sync\_id keeps changing in read-only cluster (ES 5.5)](https://discuss.elastic.co/t/shard-sync-id-keeps-changing-in-read-only-cluster-es-5-5/110835)

<div class="topic-metadata">

**Author:** [@larschri](https://discuss.elastic.co/u/larschri)\
**Replies:** 2\
**Last updated:** [December 15, 2017, 12:20pm UTC](https://discuss.elastic.co/t/shard-sync-id-keeps-changing-in-read-only-cluster-es-5-5/110835 "2017-12-15T12:20:42Z")

</div>

I was hoping to use synced flush to speed up recovery after a node restart, but I have not been able to make it work. Is it possible to make sure that sync\_id does not change for any shards, to avoid copying indices acro…

---

## [Kubernetes + ELK + NGINX Ingress Controller](https://discuss.elastic.co/t/kubernetes-elk-nginx-ingress-controller/110809)

<div class="topic-metadata">

**Author:** [@Senthil\_Kumar1](https://discuss.elastic.co/u/Senthil_Kumar1)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 11:48am UTC](https://discuss.elastic.co/t/kubernetes-elk-nginx-ingress-controller/110809 "2017-12-15T11:48:55Z")

</div>

Does anyone can give the document for ELK ( Elastic search, logstash, kibana and file beat ) with kubernetes. Specifically yaml files

---

## [Change Analyzer of suggest after indexing](https://discuss.elastic.co/t/change-analyzer-of-suggest-after-indexing/110750)

<div class="topic-metadata">

**Author:** [@manukaleel](https://discuss.elastic.co/u/manukaleel)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 11:43am UTC](https://discuss.elastic.co/t/change-analyzer-of-suggest-after-indexing/110750 "2017-12-15T11:43:55Z")

</div>

Is there any way I can change the “analyzer” and “search\_analyliser” in my suggest field? At the moment it’s set to “keyword” but I want to change it to “standard” ? Can I just close the index and change it and re-open i…

---

## [Limit bucket size in aggregation results](https://discuss.elastic.co/t/limit-bucket-size-in-aggregation-results/110731)

<div class="topic-metadata">

**Author:** [@babu.ganesh0708](https://discuss.elastic.co/u/babu.ganesh0708)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 11:39am UTC](https://discuss.elastic.co/t/limit-bucket-size-in-aggregation-results/110731 "2017-12-15T11:39:48Z")

</div>

Hi All, I am trying to limit to the bucket count in the aggregation results and below is the query I am using, GET metricbeat\_0/\_search { "query": { "range": { "timestamp": { "gte": "2017-…

---

## [ES 5.6 not detecting SSD?](https://discuss.elastic.co/t/es-5-6-not-detecting-ssd/110660)

<div class="topic-metadata">

**Author:** [@jmngpt](https://discuss.elastic.co/u/jmngpt)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 11:38am UTC](https://discuss.elastic.co/t/es-5-6-not-detecting-ssd/110660 "2017-12-15T11:38:48Z")

</div>

Hi, I'm running ES 5.6 on a cloud VM with an SSD. However, ES reports the drive as spinning, possibly due to virtualization, as shown below. Is there anyway of configuring ES to use the drive as an SSD, or is this not …

---

## [Machine learning problems in Elastic 6](https://discuss.elastic.co/t/machine-learning-problems-in-elastic-6/111233)

<div class="topic-metadata">

**Author:** [@vb4t](https://discuss.elastic.co/u/vb4t)\
**Replies:** 2\
**Last updated:** [December 15, 2017, 11:27am UTC](https://discuss.elastic.co/t/machine-learning-problems-in-elastic-6/111233 "2017-12-15T11:27:47Z")

</div>

Hello, is Machine Learning still supported and tested feature in Elastic 6? I have big problems after upgrading from 5.6 to 6.0: Before upgrade I had to remove all ML jobs. Upgrade did not work with machine learning jo…

---

## [Timeout when ES is dead](https://discuss.elastic.co/t/timeout-when-es-is-dead/111246)

<div class="topic-metadata">

**Author:** [@Alex\_Davidovich](https://discuss.elastic.co/u/Alex_Davidovich)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 11:11am UTC](https://discuss.elastic.co/t/timeout-when-es-is-dead/111246 "2017-12-15T11:11:14Z")

</div>

I have 3 nodes cluster and when I kill 2 I expect ES to reject my bulk index requests. (Defined minimum of 2 nodes in cluster). ES does reject my bulk index request but it takes 1 minute. What timeout can I configure in…

---

## [What exactly does operations and size\_in\_bytes mean in translog section of node stats?](https://discuss.elastic.co/t/what-exactly-does-operations-and-size-in-bytes-mean-in-translog-section-of-node-stats/110955)

<div class="topic-metadata">

**Author:** [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 11:04am UTC](https://discuss.elastic.co/t/what-exactly-does-operations-and-size-in-bytes-mean-in-translog-section-of-node-stats/110955 "2017-12-15T11:04:57Z")

</div>

I was checking the document but there seems to be no explanation about operations and size\_in\_bytes for translog . I appreciate if someone can help me out. Does the operations stands for total number of CRUD operati…

---

## [Can I aggregate data in past intervals periodically in elasticsearch?](https://discuss.elastic.co/t/can-i-aggregate-data-in-past-intervals-periodically-in-elasticsearch/110666)

<div class="topic-metadata">

**Author:** [@longqinsi](https://discuss.elastic.co/u/longqinsi)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 11:04am UTC](https://discuss.elastic.co/t/can-i-aggregate-data-in-past-intervals-periodically-in-elasticsearch/110666 "2017-12-15T11:04:42Z")

</div>

I need to develop a log component for the api gateway of my company. The log component need to log all the api calls through the api gateway. The log contains the call time stamp, the name of the caller, the name of the…

---

## [Duplicate fields in sorting - ELASTIC 6.0](https://discuss.elastic.co/t/duplicate-fields-in-sorting-elastic-6-0/111825)

<div class="topic-metadata">

**Author:** [@Jose\_Victor\_da\_Silva](https://discuss.elastic.co/u/Jose_Victor_da_Silva)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 10:59am UTC](https://discuss.elastic.co/t/duplicate-fields-in-sorting-elastic-6-0/111825 "2017-12-15T10:59:16Z")

</div>

Before version 6.0 of the elastic, it was possible to send fields in the repeated ordering that was not released exception, after the update, every time there is a repeated field, an exception is thrown, preventing the q…

---

## [ConnectionPoolTimeoutException occurs in bulk index documents](https://discuss.elastic.co/t/connectionpooltimeoutexception-occurs-in-bulk-index-documents/111210)

<div class="topic-metadata">

**Author:** [@repakaravikanth](https://discuss.elastic.co/u/repakaravikanth)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 10:56am UTC](https://discuss.elastic.co/t/connectionpooltimeoutexception-occurs-in-bulk-index-documents/111210 "2017-12-15T10:56:53Z")

</div>

I am load testing our ElasitcSearch cluster. Load test was with 20 threads for 1 minute to insert 10,000 documents around size of 7MB. I received ConnectionPoolTimeoutException during this test, below is the stack trace.…

---

## [Session Mangement](https://discuss.elastic.co/t/session-mangement/111954)

<div class="topic-metadata">

**Author:** [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 10:55am UTC](https://discuss.elastic.co/t/session-mangement/111954 "2017-12-15T10:55:39Z")

</div>

Hi Is there any option to Manage Session State in elastic Search? Thanks Aneesh L

---

## [ESIntegTestCase and Search Templates in ES 5.6.4](https://discuss.elastic.co/t/esintegtestcase-and-search-templates-in-es-5-6-4/111153)

<div class="topic-metadata">

**Author:** [@JamesMcG](https://discuss.elastic.co/u/JamesMcG)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 10:53am UTC](https://discuss.elastic.co/t/esintegtestcase-and-search-templates-in-es-5-6-4/111153 "2017-12-15T10:53:29Z")

</div>

Hi, I am interestes to know does the "ESIntegTestCase" support the use of SearchTemplateRequestBuilder in ES 5.6? For example, as part of a test extending ESIntegTestCase: SearchResponse response = client.prepareSea…

---

## [Try using the -Djava.io.tmpdir= option to select an alternate temp location](https://discuss.elastic.co/t/try-using-the-djava-io-tmpdir-option-to-select-an-alternate-temp-location/111013)

<div class="topic-metadata">

**Author:** [@mathias](https://discuss.elastic.co/u/mathias)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 10:50am UTC](https://discuss.elastic.co/t/try-using-the-djava-io-tmpdir-option-to-select-an-alternate-temp-location/111013 "2017-12-15T10:50:15Z")

</div>

Hi, I notice some of my elasticsearch containers do cyclic restarts after long service. docker logs show the following: Version:1.0 StartHTML:0000000105 EndHTML:0000039235 StartFragment:0000037910 EndFragment:00000391…

---

## [Which epoll mode using in es? level triggered or edge triggered](https://discuss.elastic.co/t/which-epoll-mode-using-in-es-level-triggered-or-edge-triggered/110913)

<div class="topic-metadata">

**Author:** [@onefooler](https://discuss.elastic.co/u/onefooler)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 10:46am UTC](https://discuss.elastic.co/t/which-epoll-mode-using-in-es-level-triggered-or-edge-triggered/110913 "2017-12-15T10:46:45Z")

</div>

netty provides epoll based transport that uses level-triggered mode and edge-triggered mode,I wonder which epoll mode using in elasticsearch? thanks~

---

## [Understanding segments command](https://discuss.elastic.co/t/understanding-segments-command/110738)

<div class="topic-metadata">

**Author:** [@mannoj87](https://discuss.elastic.co/u/mannoj87)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 10:34am UTC](https://discuss.elastic.co/t/understanding-segments-command/110738 "2017-12-15T10:34:46Z")

</div>

curl 'http://localhost:9200/datavasanth-21-9-2017/\_segments?pretty=true' { "\_shards" : { "total" : 10, "successful" : 0, "failed" : 0 }, "indices" : { } } does it mean the data has been marked for delete but ind…

---

## [Elastic search : Replacing BoolFilterBuilder](https://discuss.elastic.co/t/elastic-search-replacing-boolfilterbuilder/111950)

<div class="topic-metadata">

**Author:** [@aravind\_apalya](https://discuss.elastic.co/u/aravind_apalya)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 10:16am UTC](https://discuss.elastic.co/t/elastic-search-replacing-boolfilterbuilder/111950 "2017-12-15T10:16:36Z")

</div>

Hi Team, Can you please help me if the below code(es v0.9) can be replaced BoolFilterBuilder filter = FilterBuilders.boolFilter().filterName("compositeFilter"); filterBuilder.must(FilterBuilders.termsFilter("keyword",…

---

## [How to understand Operation Threading?](https://discuss.elastic.co/t/how-to-understand-operation-threading/111324)

<div class="topic-metadata">

**Author:** [@sshling](https://discuss.elastic.co/u/sshling)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 10:23am UTC](https://discuss.elastic.co/t/how-to-understand-operation-threading/111324 "2017-12-15T10:23:25Z")

</div>

ref : Operation Threading or to execute it on the calling thread (note that the API is still async). How to understand "still async" ,and the two diff between settings? tks

---

## [Need which exact value matched in an array](https://discuss.elastic.co/t/need-which-exact-value-matched-in-an-array/111400)

<div class="topic-metadata">

**Author:** [@pokaleshrey](https://discuss.elastic.co/u/pokaleshrey)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 10:20am UTC](https://discuss.elastic.co/t/need-which-exact-value-matched-in-an-array/111400 "2017-12-15T10:20:01Z")

</div>

Hi all, I have many documents in my index. Each document is having a field "location" which is an array of geo\_points. I query ES by the geo\_distance query with a lat,lon as input & say 50m radius. When i get result …

---

## [Akeneo Indexing Exception MapperParsingException](https://discuss.elastic.co/t/akeneo-indexing-exception-mapperparsingexception/111948)

<div class="topic-metadata">

**Author:** [@mehmetgoekce](https://discuss.elastic.co/u/mehmetgoekce)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 10:08am UTC](https://discuss.elastic.co/t/akeneo-indexing-exception-mapperparsingexception/111948 "2017-12-15T10:08:51Z")

</div>

Hi Guys, while installing Akeneo 2.0, i had this issue\[Bildschirmfoto vom 2017-12-15 09-21-52\]

---

## [Applying license illegal\_argument\_exception unknown setting \[index.license.expiry\_date\_in\_millis\]](https://discuss.elastic.co/t/applying-license-illegal-argument-exception-unknown-setting-index-license-expiry-date-in-millis/111912)

<div class="topic-metadata">

**Author:** [@undelete](https://discuss.elastic.co/u/undelete)\
**Replies:** 4\
**Last updated:** [December 15, 2017, 10:04am UTC](https://discuss.elastic.co/t/applying-license-illegal-argument-exception-unknown-setting-index-license-expiry-date-in-millis/111912 "2017-12-15T10:04:42Z")

</div>

Hi, I am trying to apply basic license to my elastic. I just downloaded the license as a license for version 5.x/6.x. Running this command: curl -XPUT -u elastic 'http://localhost:9200/\_xpack\_license' -H "Content-Type…

---

## [Elastic indexs rebuilding in shorter time?](https://discuss.elastic.co/t/elastic-indexs-rebuilding-in-shorter-time/111391)

<div class="topic-metadata">

**Author:** [@0NE](https://discuss.elastic.co/u/0NE)\
**Replies:** 7\
**Last updated:** [December 15, 2017, 9:59am UTC](https://discuss.elastic.co/t/elastic-indexs-rebuilding-in-shorter-time/111391 "2017-12-15T09:59:48Z")

</div>

Hello, Currently we are exploring on Disaster recovery for Elastic. We have got a few steps automated but rebuild all the Elastic indexes, for us to do this it could take days as we have to do it manually (we have a to…

---

## [Custom document Id](https://discuss.elastic.co/t/custom-document-id/111706)

<div class="topic-metadata">

**Author:** [@cj\_elastic](https://discuss.elastic.co/u/cj_elastic)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 9:23am UTC](https://discuss.elastic.co/t/custom-document-id/111706 "2017-12-15T09:23:17Z")

</div>

Im trying to use a custom documentId insertion for every new record. Will there be any performance impact or any other issues for not using the the automatic id generated by elastic db

---

## [Is there a "standard" way to store result of query into index?](https://discuss.elastic.co/t/is-there-a-standard-way-to-store-result-of-query-into-index/110650)

<div class="topic-metadata">

**Author:** [@aarakelyan](https://discuss.elastic.co/u/aarakelyan)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 9:12am UTC](https://discuss.elastic.co/t/is-there-a-standard-way-to-store-result-of-query-into-index/110650 "2017-12-15T09:12:16Z")

</div>

just storing result of search query in index store result of aggregation (specially pipeline) query in index. Is any way to filter aggregated results based on some conditions into index

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

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