# Elasticsearch

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

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

**Page:** 1384

---

## [Elasticsearch java client Rest Api](https://discuss.elastic.co/t/elasticsearch-java-client-rest-api/169538)

<div class="topic-metadata">

**Author:** [@Dv\_Thiyanesh](https://discuss.elastic.co/u/Dv_Thiyanesh)\
**Replies:** 2\
**Last updated:** [February 25, 2019, 4:13pm UTC](https://discuss.elastic.co/t/elasticsearch-java-client-rest-api/169538 "2019-02-25T16:13:13Z")

</div>

Hii Guys, i using java api client to search data in elasticsearch, i have followed the documents but i have the error in this line TransportClient client = new PreBuiltTransportClient(Settings.EMPTY) the error says th…

---

## [SAML AD ADFS yaml settings troubleshooting and role mapping notes and insight part II (Solved)](https://discuss.elastic.co/t/saml-ad-adfs-yaml-settings-troubleshooting-and-role-mapping-notes-and-insight-part-ii-solved/169860)

<div class="topic-metadata">

**Author:** [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Replies:** 1\
**Last updated:** [February 25, 2019, 4:12pm UTC](https://discuss.elastic.co/t/saml-ad-adfs-yaml-settings-troubleshooting-and-role-mapping-notes-and-insight-part-ii-solved/169860 "2019-02-25T16:12:38Z")

</div>

Continued from SAML AD ADFS yaml settings, troubleshooting and role mapping notes and insight (Solved) Our ADFS team recognized that the kibana\_gov and kibana\_gov\_admin group needed to be changed from domain local to gl…

---

## [SAML AD ADFS yaml settings, troubleshooting and role mapping notes and insight (Solved)](https://discuss.elastic.co/t/saml-ad-adfs-yaml-settings-troubleshooting-and-role-mapping-notes-and-insight-solved/169859)

<div class="topic-metadata">

**Author:** [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Replies:** 2\
**Last updated:** [February 25, 2019, 4:11pm UTC](https://discuss.elastic.co/t/saml-ad-adfs-yaml-settings-troubleshooting-and-role-mapping-notes-and-insight-solved/169859 "2019-02-25T16:11:31Z")

</div>

Elasticsearch 6.5.4 Linux RPM First, appreciate the help of those who have posted useful troubleshooting methods/info in the forums and to Cyberyllium (cyberyllium.io) and Thundercat Tech (thundercattech.com) for the e…

---

## [Split single field using dynamic template](https://discuss.elastic.co/t/split-single-field-using-dynamic-template/169865)

<div class="topic-metadata">

**Author:** [@Fabio-sama](https://discuss.elastic.co/u/Fabio-sama)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 3:35pm UTC](https://discuss.elastic.co/t/split-single-field-using-dynamic-template/169865 "2019-02-25T15:35:01Z")

</div>

Hi there! I'm having a problem with some data I'm importing from dynatrace into elasticsearch. To make some dashboards I'd like to have certain data in separate fields, whereas dynatrace sends them all compacted in a s…

---

## [Using Span First with fuzziness](https://discuss.elastic.co/t/using-span-first-with-fuzziness/169604)

<div class="topic-metadata">

**Author:** [@jimmyalmeida](https://discuss.elastic.co/u/jimmyalmeida)\
**Replies:** 1\
**Last updated:** [February 25, 2019, 3:08pm UTC](https://discuss.elastic.co/t/using-span-first-with-fuzziness/169604 "2019-02-25T15:08:24Z")

</div>

Hello, I am new to Elasticsearch and i need to use the term of the search to gain score if it is in the beginning of the document but i need to use fuzziness in that term too. I tried something like this but i couldnt b…

---

## [Cannot upgrade .kibana](https://discuss.elastic.co/t/cannot-upgrade-kibana/169856)

<div class="topic-metadata">

**Author:** [@Filippo\_Pisapia](https://discuss.elastic.co/u/Filippo_Pisapia)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 3:04pm UTC](https://discuss.elastic.co/t/cannot-upgrade-kibana/169856 "2019-02-25T15:04:03Z")

</div>

Hi, i'm following the migration procedure to upgrade elasticstack from 5.4 to 6.6.1. But at this point https://www.elastic.co/guide/en/elastic-stack/6.6/upgrading-elastic-stack.html#upgrade-internal-indices i got two…

---

## [Clarify :ipv4 special value in network settings](https://discuss.elastic.co/t/clarify-ipv4-special-value-in-network-settings/169848)

<div class="topic-metadata">

**Author:** [@szabolcsf](https://discuss.elastic.co/u/szabolcsf)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 2:18pm UTC](https://discuss.elastic.co/t/clarify-ipv4-special-value-in-network-settings/169848 "2019-02-25T14:18:06Z")

</div>

Hi, I'm wondering: if I specify an IPv4 address in network.host like this: network.host: 172.16.20.20 does it imply this: network.host: "\_private:ipv4\_" presuming I've got a NIC called private with the IP address 17…

---

## [X-pack shipment in elasticsearch 6.6.1](https://discuss.elastic.co/t/x-pack-shipment-in-elasticsearch-6-6-1/169812)

<div class="topic-metadata">

**Author:** [@cppatel](https://discuss.elastic.co/u/cppatel)\
**Replies:** 3\
**Last updated:** [February 25, 2019, 2:05pm UTC](https://discuss.elastic.co/t/x-pack-shipment-in-elasticsearch-6-6-1/169812 "2019-02-25T14:05:33Z")

</div>

Hi, I have installed elasticsearch-oss-6.6.1-1.noarch on my node. Document of elasticsearch releases says that X-Pack ships by default after ES -6.2. But in my elasticsearch.yml file I didn't find any X-Pack related set…

---

## [503 Execution Exception](https://discuss.elastic.co/t/503-execution-exception/167763)

<div class="topic-metadata">

**Author:** [@Hammad\_Ali\_Khan](https://discuss.elastic.co/u/Hammad_Ali_Khan)\
**Replies:** 1\
**Last updated:** [February 25, 2019, 1:39pm UTC](https://discuss.elastic.co/t/503-execution-exception/167763 "2019-02-25T13:39:55Z")

</div>

Hi, I am facing this error is this same as 409. Whats the solution to this problem, up scaling or any performance improvement at index level. { "error": { "root\_cause": , "type": "search\_phase\_execution\_exception", …

---

## [Reindexing does not transfer all the documents from source to destination](https://discuss.elastic.co/t/reindexing-does-not-transfer-all-the-documents-from-source-to-destination/169841)

<div class="topic-metadata">

**Author:** [@Praneet\_Khandelwal](https://discuss.elastic.co/u/Praneet_Khandelwal)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 1:28pm UTC](https://discuss.elastic.co/t/reindexing-does-not-transfer-all-the-documents-from-source-to-destination/169841 "2019-02-25T13:28:39Z")

</div>

I am reindexing documents from a source index to destination index. But it seems like only a few documents are transferred. The change between the two indices is of the mapping. Any help would be appreciated.

---

## [Update based on values from other index](https://discuss.elastic.co/t/update-based-on-values-from-other-index/169838)

<div class="topic-metadata">

**Author:** [@pszemesy](https://discuss.elastic.co/u/pszemesy)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 1:09pm UTC](https://discuss.elastic.co/t/update-based-on-values-from-other-index/169838 "2019-02-25T13:09:18Z")

</div>

Hi All, Can anyone tell me how can I update a field in an index based on a query from another index? In SQL it should be something UPDATE a SET a.x =(SELECT b.y FROM b WHERE b.z = a.z) WHERE a.w = "somevalue". Thanks, …

---

## [Unable to start non-data nodes Elasticsearch after upgrading from 6.42 to 6.6.1](https://discuss.elastic.co/t/unable-to-start-non-data-nodes-elasticsearch-after-upgrading-from-6-42-to-6-6-1/169356)

<div class="topic-metadata">

**Author:** [@Hari\_Prasad](https://discuss.elastic.co/u/Hari_Prasad)\
**Replies:** 9\
**Last updated:** [February 25, 2019, 1:06pm UTC](https://discuss.elastic.co/t/unable-to-start-non-data-nodes-elasticsearch-after-upgrading-from-6-42-to-6-6-1/169356 "2019-02-25T13:06:10Z")

</div>

I upgraded my cluster based on the instructions from the link After upgrading none of the non-data nodes started. All of them had the below error \[2019-02-20T22:57:35,922\]\[WARN \]\[o.e.b.ElasticsearchUncaughtExceptionHa…

---

## [How to verify elasticsearch index store?](https://discuss.elastic.co/t/how-to-verify-elasticsearch-index-store/169802)

<div class="topic-metadata">

**Author:** [@azuresky11](https://discuss.elastic.co/u/azuresky11)\
**Replies:** 4\
**Last updated:** [February 25, 2019, 12:42pm UTC](https://discuss.elastic.co/t/how-to-verify-elasticsearch-index-store/169802 "2019-02-25T12:42:56Z")

</div>

Hi, All I use mmapfs to write data, but I want to change to niofs, need to rewrite the data? Then how to view index.store.type?

---

## [Collector \[node\_stats\] timed out when collecting data](https://discuss.elastic.co/t/collector-node-stats-timed-out-when-collecting-data/169830)

<div class="topic-metadata">

**Author:** [@stuartdsmith](https://discuss.elastic.co/u/stuartdsmith)\
**Replies:** 1\
**Last updated:** [February 25, 2019, 12:40pm UTC](https://discuss.elastic.co/t/collector-node-stats-timed-out-when-collecting-data/169830 "2019-02-25T12:40:58Z")

</div>

We are receiving the following error on one of our elasticsearch nodes: "collector \[node\_stats\] timed out when collecting data" I'll attach the cluster stats as others have done. Is there anything that you can suggest…

---

## [Can anyone help me how can i set authentication in elastic search 6.2](https://discuss.elastic.co/t/can-anyone-help-me-how-can-i-set-authentication-in-elastic-search-6-2/169823)

<div class="topic-metadata">

**Author:** [@anush308](https://discuss.elastic.co/u/anush308)\
**Replies:** 2\
**Last updated:** [February 25, 2019, 12:39pm UTC](https://discuss.elastic.co/t/can-anyone-help-me-how-can-i-set-authentication-in-elastic-search-6-2/169823 "2019-02-25T12:39:22Z")

</div>

currently my elasticsearch is giving full access to all user who hits on my ip on port 9200 im new to this can anyone help me how can i fix this issue and create an authentictaion so that it ask for username and passwor…

---

## [Error while reindexing from old index to new](https://discuss.elastic.co/t/error-while-reindexing-from-old-index-to-new/169829)

<div class="topic-metadata">

**Author:** [@Praneet\_Khandelwal](https://discuss.elastic.co/u/Praneet_Khandelwal)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 12:37pm UTC](https://discuss.elastic.co/t/error-while-reindexing-from-old-index-to-new/169829 "2019-02-25T12:37:38Z")

</div>

I am getting the following error while reindexing my data from old to new indices. {"index":"XXXX-2019.02.01","type":"doc","id":"YYYY","cause":{"type":"mapper\_parsing\_exception","reason":"failed to parse \[timestamp\]","c…

---

## [How to delete documents in an index based on condition in elastic search](https://discuss.elastic.co/t/how-to-delete-documents-in-an-index-based-on-condition-in-elastic-search/169806)

<div class="topic-metadata">

**Author:** [@PRUDHVI\_CHOWDHARY\_NE](https://discuss.elastic.co/u/PRUDHVI_CHOWDHARY_NE)\
**Replies:** 1\
**Last updated:** [February 25, 2019, 11:46am UTC](https://discuss.elastic.co/t/how-to-delete-documents-in-an-index-based-on-condition-in-elastic-search/169806 "2019-02-25T11:46:36Z")

</div>

i have data like name,age,class,registered time in an index called student in my elastic search i want to delete the documents that are having registered time less than some timestamp(suppose be 15546000xxxxxx). how …

---

## [Multi match field highlight if all words match](https://discuss.elastic.co/t/multi-match-field-highlight-if-all-words-match/168766)

<div class="topic-metadata">

**Author:** [@anjireddy543](https://discuss.elastic.co/u/anjireddy543)\
**Replies:** 2\
**Last updated:** [February 25, 2019, 11:39am UTC](https://discuss.elastic.co/t/multi-match-field-highlight-if-all-words-match/168766 "2019-02-25T11:39:52Z")

</div>

Hi, i am having some issue with multi\_match field highlight, here my scenorio Query { "multi\_match": { "query": "quick brown fox", "fields": \[ "title", "body" \], "operator":"and", "type": "best\_fields" …

---

## [Aggregation query performance issue](https://discuss.elastic.co/t/aggregation-query-performance-issue/169804)

<div class="topic-metadata">

**Author:** [@Abhinaw](https://discuss.elastic.co/u/Abhinaw)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 11:00am UTC](https://discuss.elastic.co/t/aggregation-query-performance-issue/169804 "2019-02-25T11:00:33Z")

</div>

HI, I am trying to make an aggregation query and want to bring 10,000 records in bucket from 30000000. When i run query to fetch this information my elasticsearch hangs and sometimes it gets crashed. Many thanks

---

## [Curator-\>Error:Skipping action “delete\_indices” due to empty list!](https://discuss.elastic.co/t/curator-error-skipping-action-delete-indices-due-to-empty-list/169314)

<div class="topic-metadata">

**Author:** [@npalanis](https://discuss.elastic.co/u/npalanis)\
**Replies:** 2\
**Last updated:** [February 25, 2019, 10:46am UTC](https://discuss.elastic.co/t/curator-error-skipping-action-delete-indices-due-to-empty-list/169314 "2019-02-25T10:46:55Z")

</div>

Hi, i tried to do the same but receiving following error message: \[elasticsearch@testelstd01 ~\] ./opt/elasticsearch-curator/curator --dry-run .curator/delete-logstash-older-90-days.yml 2019-02-20 09:13:43,748 ERROR Sch…

---

## [Presorting results](https://discuss.elastic.co/t/presorting-results/169800)

<div class="topic-metadata">

**Author:** [@Raimon\_Bosch](https://discuss.elastic.co/u/Raimon_Bosch)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 10:35am UTC](https://discuss.elastic.co/t/presorting-results/169800 "2019-02-25T10:35:48Z")

</div>

Hi, Imagine that we have an external algorithm that gives us the exact ordenation that we want on a set of documents. How would I query elastic to retrieve N documents exactly on that order? Is the only solution includ…

---

## [ElasticSearch very slow after upgrade 5.6.2 to 6.6.1](https://discuss.elastic.co/t/elasticsearch-very-slow-after-upgrade-5-6-2-to-6-6-1/169786)

<div class="topic-metadata">

**Author:** [@Dredy](https://discuss.elastic.co/u/Dredy)\
**Replies:** 1\
**Last updated:** [February 25, 2019, 10:23am UTC](https://discuss.elastic.co/t/elasticsearch-very-slow-after-upgrade-5-6-2-to-6-6-1/169786 "2019-02-25T10:23:29Z")

</div>

today I upgraded a single node (Windows Server 2012R2) ElasticSearch installation to 6.6.1 from 5.6.2 The node has a single Index with 133.000 docs (2Gb ElasticSearch reserved RAM) After upgrade I deleted and recreated…

---

## [Elastic basic License version ELK use in production server](https://discuss.elastic.co/t/elastic-basic-license-version-elk-use-in-production-server/169772)

<div class="topic-metadata">

**Author:** [@varun1992](https://discuss.elastic.co/u/varun1992)\
**Replies:** 3\
**Last updated:** [February 25, 2019, 9:53am UTC](https://discuss.elastic.co/t/elastic-basic-license-version-elk-use-in-production-server/169772 "2019-02-25T09:53:59Z")

</div>

i saw both apache 2 version and elastic license version when i am downloading ELK. Can i use elastic basic license version ELK for my customer in their production server ? or should i use apache 2.0 versioned ELK ?

---

## [Not getting correct results when using special characters in query string](https://discuss.elastic.co/t/not-getting-correct-results-when-using-special-characters-in-query-string/169372)

<div class="topic-metadata">

**Author:** [@\_Shyam](https://discuss.elastic.co/u/_Shyam)\
**Replies:** 14\
**Last updated:** [February 25, 2019, 9:38am UTC](https://discuss.elastic.co/t/not-getting-correct-results-when-using-special-characters-in-query-string/169372 "2019-02-25T09:38:33Z")

</div>

Hi am new to elastic search and trying to use query string as below but not getting the excat matches if use special characters GET\_search { "query": { "bool": { "must": { …

---

## [Problem with 'not\_x\_content\_exception'](https://discuss.elastic.co/t/problem-with-not-x-content-exception/169713)

<div class="topic-metadata">

**Author:** [@edwardke](https://discuss.elastic.co/u/edwardke)\
**Replies:** 1\
**Last updated:** [February 25, 2019, 9:30am UTC](https://discuss.elastic.co/t/problem-with-not-x-content-exception/169713 "2019-02-25T09:30:13Z")

</div>

Hi, I'm trying to put some data into my elastic cloud instance using Postman. I set the headers to be 'Content-Type' - 'application/json', and the body is a valid json object. I am trying to do a PUT request to a new i…

---

## [Elasticsearch 5 on Jessie: NoSuchFileException /sys/fs/cgroup/cpu/cpu.cfs\_period\_us](https://discuss.elastic.co/t/elasticsearch-5-on-jessie-nosuchfileexception-sys-fs-cgroup-cpu-cpu-cfs-period-us/169774)

<div class="topic-metadata">

**Author:** [@german23](https://discuss.elastic.co/u/german23)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 9:10am UTC](https://discuss.elastic.co/t/elasticsearch-5-on-jessie-nosuchfileexception-sys-fs-cgroup-cpu-cpu-cfs-period-us/169774 "2019-02-25T09:10:41Z")

</div>

Hi guys, we recently upgraded from 2.4 to ES 5.6 on our cluster. On our server with Debian jessie uname -a Linux server 3.16.0-4-amd64 #1 SMP Debian 3.16.51-3 (2017-12-13) x86\_64 GNU/Linux elasticsearch is throwin…

---

## [Running geo\_shape queries on geo\_points](https://discuss.elastic.co/t/running-geo-shape-queries-on-geo-points/169744)

<div class="topic-metadata">

**Author:** [@krambambuli](https://discuss.elastic.co/u/krambambuli)\
**Replies:** 5\
**Last updated:** [February 25, 2019, 9:00am UTC](https://discuss.elastic.co/t/running-geo-shape-queries-on-geo-points/169744 "2019-02-25T09:00:53Z")

</div>

Hi, the forum already has a few questions related to this (some unfortunately unanswered) but I'm unsure what the best practice is: If I have geo\_points in my data on which I want to run geo\_shape queries, should I put…

---

## [HEAP Sizing on Data Nodes](https://discuss.elastic.co/t/heap-sizing-on-data-nodes/169534)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 3\
**Last updated:** [February 25, 2019, 8:58am UTC](https://discuss.elastic.co/t/heap-sizing-on-data-nodes/169534 "2019-02-25T08:58:43Z")

</div>

Hi, Conventional wisdom states that 50% of RAM should be allocated to the JVM. However, where the bulk of the work done by the cluster is indexing, such as the logging use case, doesn't that justify increasing HEAP allo…

---

## [How to remove data in an index of elastic search that is two week old](https://discuss.elastic.co/t/how-to-remove-data-in-an-index-of-elastic-search-that-is-two-week-old/169675)

<div class="topic-metadata">

**Author:** [@PRUDHVI\_CHOWDHARY\_NE](https://discuss.elastic.co/u/PRUDHVI_CHOWDHARY_NE)\
**Replies:** 5\
**Last updated:** [February 25, 2019, 8:57am UTC](https://discuss.elastic.co/t/how-to-remove-data-in-an-index-of-elastic-search-that-is-two-week-old/169675 "2019-02-25T08:57:12Z")

</div>

I have an index named "registration" in my elastic search.And i inserted data in that index through kibana. Now i want to remove data in that index that is two weeks old.how can i do this

---

## [Kafka Connect sink - ElasticSearch interface via SSL](https://discuss.elastic.co/t/kafka-connect-sink-elasticsearch-interface-via-ssl/168839)

<div class="topic-metadata">

**Author:** [@mihai2018](https://discuss.elastic.co/u/mihai2018)\
**Replies:** 7\
**Last updated:** [February 25, 2019, 8:32am UTC](https://discuss.elastic.co/t/kafka-connect-sink-elasticsearch-interface-via-ssl/168839 "2019-02-25T08:32:49Z")

</div>

Hi guys. One of our UCs asks for outputting data out of Kafka Connector sink to Elastic Search (Logstash is bypassed). Now Elastic 6.6 needs SSL to be enabled (which is ok as it should be there for other security consi…

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

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