# Elasticsearch

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

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

**Page:** 1437

---

## [Exists query works even if field is not indexed?](https://discuss.elastic.co/t/exists-query-works-even-if-field-is-not-indexed/162849)

<div class="topic-metadata">

**Author:** [@baller](https://discuss.elastic.co/u/baller)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 11:27pm UTC](https://discuss.elastic.co/t/exists-query-works-even-if-field-is-not-indexed/162849 "2019-01-03T23:27:37Z")

</div>

I'm seeing some interesting behavior and didn't see anything in the docs about it so thought I'd ask here. I have a field that has index set to false yet I am still able to do an exists query on field. My understanding…

---

## [How to debug my plugin in Eclipse](https://discuss.elastic.co/t/how-to-debug-my-plugin-in-eclipse/162835)

<div class="topic-metadata">

**Author:** [@saikettewary](https://discuss.elastic.co/u/saikettewary)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 8:28pm UTC](https://discuss.elastic.co/t/how-to-debug-my-plugin-in-eclipse/162835 "2019-01-03T20:28:45Z")

</div>

Hi, I am very new to ElasticSearch and trying to debug my plugin using Eclipse. I saw a different post https://discuss.elastic.co/t/how-to-debug-elasticsearch-plugin-using-eclipse/11551 , but some links don't work and a…

---

## [Configure elastic as a service](https://discuss.elastic.co/t/configure-elastic-as-a-service/162593)

<div class="topic-metadata">

**Author:** [@Ram1](https://discuss.elastic.co/u/Ram1)\
**Replies:** 6\
**Last updated:** [January 3, 2019, 7:43pm UTC](https://discuss.elastic.co/t/configure-elastic-as-a-service/162593 "2019-01-03T19:43:30Z")

</div>

Hi, Wanted to know if elasticsearch/logstash/kibana is not configued as a service,What changes has to be done to configure it as a service. I get the below errors if try to use systemctl/service command. systemctl st…

---

## [What is the best way to delete in elastic search and reparse an apache log file](https://discuss.elastic.co/t/what-is-the-best-way-to-delete-in-elastic-search-and-reparse-an-apache-log-file/162865)

<div class="topic-metadata">

**Author:** [@elk\_dni\_1](https://discuss.elastic.co/u/elk_dni_1)\
**Replies:** 2\
**Last updated:** [January 3, 2019, 7:37pm UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-delete-in-elastic-search-and-reparse-an-apache-log-file/162865 "2019-01-03T19:37:34Z")

</div>

path is available in ES records as one field(from where the record is got) Deleting from Elastic search - Currently I am doing this way - curl -s -X POST http://localhost:9200/test-log-\*/\_delete\_by\_query?q=path:log123…

---

## [Elasticsearch installation PROBLEM. Could not find java](https://discuss.elastic.co/t/elasticsearch-installation-problem-could-not-find-java/162328)

<div class="topic-metadata">

**Author:** [@Harut\_Sargsyan](https://discuss.elastic.co/u/Harut_Sargsyan)\
**Replies:** 15\
**Last updated:** [January 3, 2019, 6:42pm UTC](https://discuss.elastic.co/t/elasticsearch-installation-problem-could-not-find-java/162328 "2019-01-03T18:42:21Z")

</div>

Hey, I am trying to install elasticsearch on my Ubuntu 16.04 LTS machine. I am following the instructions provided here After making these 3 steps: wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsear…

---

## [Cannot initialize SSL - Expected to find keystore file at](https://discuss.elastic.co/t/cannot-initialize-ssl-expected-to-find-keystore-file-at/161006)

<div class="topic-metadata">

**Author:** [@crawdaddy18](https://discuss.elastic.co/u/crawdaddy18)\
**Replies:** 2\
**Last updated:** [January 3, 2019, 6:31pm UTC](https://discuss.elastic.co/t/cannot-initialize-ssl-expected-to-find-keystore-file-at/161006 "2019-01-03T18:31:57Z")

</div>

Experts, I am trying to push data from a Hive table over to ElasticSearch. There are numerous examples on the Internet of how to do this, but there are very few on how to do it when security is enabled on ElasticSearch…

---

## [Painless: is it possible for a def variable to contain nested objects?](https://discuss.elastic.co/t/painless-is-it-possible-for-a-def-variable-to-contain-nested-objects/162668)

<div class="topic-metadata">

**Author:** [@scarabas](https://discuss.elastic.co/u/scarabas)\
**Replies:** 4\
**Last updated:** [January 3, 2019, 5:49pm UTC](https://discuss.elastic.co/t/painless-is-it-possible-for-a-def-variable-to-contain-nested-objects/162668 "2019-01-03T17:49:20Z")

</div>

I'm trying to store a nested key/value object in a variable, but it doesn't seem to be storing anything. In a for loop, where "i" is the index: def ratio = params\['\_source'\]\['ratios'\]\[i\] ...def will be null. Is it no…

---

## [ES 6.5.1 FATAL error on launch with JDK 11; no error / runs OK with JDK 1.8](https://discuss.elastic.co/t/es-6-5-1-fatal-error-on-launch-with-jdk-11-no-error-runs-ok-with-jdk-1-8/157944)

<div class="topic-metadata">

**Author:** [@Jole](https://discuss.elastic.co/u/Jole)\
**Replies:** 12\
**Last updated:** [January 3, 2019, 5:48pm UTC](https://discuss.elastic.co/t/es-6-5-1-fatal-error-on-launch-with-jdk-11-no-error-runs-ok-with-jdk-1-8/157944 "2019-01-03T17:48:39Z")

</div>

I installed ES 6.5.1 RPM rpm -q elasticsearch elasticsearch-6.5.1-1.noarch If I config /etc/sysconfig/elasticsearch JAVA\_HOME=/usr/lib64/jvm/java-1.8.0-openjdk ... /usr/lib64/jvm/java-1.8.0-openjdk/bin/java -ver…

---

## [Parent-child document structure](https://discuss.elastic.co/t/parent-child-document-structure/162703)

<div class="topic-metadata">

**Author:** [@yesu](https://discuss.elastic.co/u/yesu)\
**Replies:** 2\
**Last updated:** [January 3, 2019, 5:26pm UTC](https://discuss.elastic.co/t/parent-child-document-structure/162703 "2019-01-03T17:26:25Z")

</div>

Parent-child document structure compatibility to migrate data from elasticsearch5.6.9 to elasticsearch6, Please help me solutions to migrate data(re-index).

---

## [Switching alias causing the downtime and requests are failing for fraction of second](https://discuss.elastic.co/t/switching-alias-causing-the-downtime-and-requests-are-failing-for-fraction-of-second/162846)

<div class="topic-metadata">

**Author:** [@chandan\_mahajan](https://discuss.elastic.co/u/chandan_mahajan)\
**Replies:** 0\
**Last updated:** [January 3, 2019, 4:22pm UTC](https://discuss.elastic.co/t/switching-alias-causing-the-downtime-and-requests-are-failing-for-fraction-of-second/162846 "2019-01-03T16:22:08Z")

</div>

NEST/Elasticsearch.Net version : 6.3.\* Elasticsearch version :6.3 Description of the problem including expected versus actual behavior : Changing alias from old to new index causing very little downtime probably \< 1 s…

---

## [Sorting on keyword field with accents](https://discuss.elastic.co/t/sorting-on-keyword-field-with-accents/162830)

<div class="topic-metadata">

**Author:** [@guilherme\_maranhao](https://discuss.elastic.co/u/guilherme_maranhao)\
**Replies:** 2\
**Last updated:** [January 3, 2019, 4:00pm UTC](https://discuss.elastic.co/t/sorting-on-keyword-field-with-accents/162830 "2019-01-03T16:00:33Z")

</div>

Hi there, My index has a keyword field on which there are documents that contain words with accents, i.e., 'Águas Lindas', and some don't, i.e., 'Aracaju'. I'm using that field to sort my results. The problem is that, …

---

## [Terms aggs and then sort all data](https://discuss.elastic.co/t/terms-aggs-and-then-sort-all-data/162118)

<div class="topic-metadata">

**Author:** [@zhang\_chao](https://discuss.elastic.co/u/zhang_chao)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 3:29pm UTC](https://discuss.elastic.co/t/terms-aggs-and-then-sort-all-data/162118 "2019-01-03T15:29:02Z")

</div>

In my case : I use terms aggs to group my data, and I need to set the size \>\>\> cardinality count (need to group all data for sorting) I use top-hits and size = 1 so I get the first one in every bucket bucket-sort to so…

---

## [SecurityException when connecting to ESCloud with TransportClient](https://discuss.elastic.co/t/securityexception-when-connecting-to-escloud-with-transportclient/161873)

<div class="topic-metadata">

**Author:** [@sschwell](https://discuss.elastic.co/u/sschwell)\
**Replies:** 5\
**Last updated:** [January 3, 2019, 3:27pm UTC](https://discuss.elastic.co/t/securityexception-when-connecting-to-escloud-with-transportclient/161873 "2019-01-03T15:27:27Z")

</div>

I'm following https://github.com/elastic/found-shield-example/blob/master/src/main/java/org/elasticsearch/cloud/transport/example/TransportExample.java to connect to ESCloud 6.5.4 instance. I am using admin creds. Is the…

---

## [Upload xml file into elasticsearch](https://discuss.elastic.co/t/upload-xml-file-into-elasticsearch/162629)

<div class="topic-metadata">

**Author:** [@Alaoui](https://discuss.elastic.co/u/Alaoui)\
**Replies:** 10\
**Last updated:** [January 3, 2019, 9:38am UTC](https://discuss.elastic.co/t/upload-xml-file-into-elasticsearch/162629 "2019-01-03T09:38:45Z")

</div>

Hi everyone, i want that logstash can groupe the data of each section of my xml file, what i should to modify on remove in my config file. for example i want my result like that : "\_index": "logstash-xml", "\_type…

---

## [Delete by query api command line not working](https://discuss.elastic.co/t/delete-by-query-api-command-line-not-working/162783)

<div class="topic-metadata">

**Author:** [@elk\_dni\_1](https://discuss.elastic.co/u/elk_dni_1)\
**Replies:** 2\
**Last updated:** [January 3, 2019, 3:23pm UTC](https://discuss.elastic.co/t/delete-by-query-api-command-line-not-working/162783 "2019-01-03T15:23:26Z")

</div>

curl -s -XPOST http://localhost:9200/xxxlog-\*/delete\_by\_query?q=xxx:"xxxx" throwing error - {"error":{"root\_cause":\[{"type":"parse\_exception","reason":"request body is required"}\],"type":"parse\_exception","reason":"re…

---

## [Error while running plugin where I included CXF and JAXRS](https://discuss.elastic.co/t/error-while-running-plugin-where-i-included-cxf-and-jaxrs/162788)

<div class="topic-metadata">

**Author:** [@Linc12](https://discuss.elastic.co/u/Linc12)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 3:12pm UTC](https://discuss.elastic.co/t/error-while-running-plugin-where-i-included-cxf-and-jaxrs/162788 "2019-01-03T15:12:04Z")

</div>

Hi, I have built a plugin for Elastic and I also included CXF and JAXRS so that I could use the org.apache.cxf.jaxrs.client.WebClient like this: try { String responseString = AccessController.doPrivileged((Privileg…

---

## [Jar Hell Exception](https://discuss.elastic.co/t/jar-hell-exception/162824)

<div class="topic-metadata">

**Author:** [@RITESH\_AGARWAL](https://discuss.elastic.co/u/RITESH_AGARWAL)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 2:49pm UTC](https://discuss.elastic.co/t/jar-hell-exception/162824 "2019-01-03T14:49:42Z")

</div>

Exception in thread "main" java.lang.IllegalStateException: jar hell! class: com.fasterxml.jackson.core.Base64Variant jar1: E:\\elasticsearch-5.6.5\\elasticsearch-5.6.5\\plugins.installing-122613154582084753\\jackson-core-…

---

## [Monitoring elastic search retention period not working](https://discuss.elastic.co/t/monitoring-elastic-search-retention-period-not-working/162233)

<div class="topic-metadata">

**Author:** [@Hitesh\_Baldaniya1](https://discuss.elastic.co/u/Hitesh_Baldaniya1)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 2:18pm UTC](https://discuss.elastic.co/t/monitoring-elastic-search-retention-period-not-working/162233 "2019-01-03T14:18:00Z")

</div>

Hi Team, We have enabled monitoring on cloud.elastic server which is dedicated monitoring server. We have added following setting on monitoring server. xpack.monitoring.history.duration we set it as '1d' still the old…

---

## [ES data migration](https://discuss.elastic.co/t/es-data-migration/162059)

<div class="topic-metadata">

**Author:** [@yan\_gong](https://discuss.elastic.co/u/yan_gong)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 1:52pm UTC](https://discuss.elastic.co/t/es-data-migration/162059 "2019-01-03T13:52:06Z")

</div>

Hi, I am using Es 5.X.X. Now my es data disk is SSD .I want to change my disk to HDD. Anyone can tell me how to do ?

---

## [Compare addresses from 2 different indices using fuzzymatch](https://discuss.elastic.co/t/compare-addresses-from-2-different-indices-using-fuzzymatch/162815)

<div class="topic-metadata">

**Author:** [@DaniSusB](https://discuss.elastic.co/u/DaniSusB)\
**Replies:** 0\
**Last updated:** [January 3, 2019, 1:29pm UTC](https://discuss.elastic.co/t/compare-addresses-from-2-different-indices-using-fuzzymatch/162815 "2019-01-03T13:29:39Z")

</div>

Hi, I'd like to compare addresses from 2 different indices using a join function and fuzzymatch. In SQL it would look something like this: SELECT my.com\_name AS MyName, cust.customer\_name AS CustName, my.com\_address A…

---

## [Query issue](https://discuss.elastic.co/t/query-issue/162790)

<div class="topic-metadata">

**Author:** [@inandi](https://discuss.elastic.co/u/inandi)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 1:29pm UTC](https://discuss.elastic.co/t/query-issue/162790 "2019-01-03T13:29:22Z")

</div>

i have this document { "createTime" =\> "2018-01-05T05:49:14.050Z", "reviewId" =\> "AIe9\_BGErQpX2pRNZrXBy5NOsH0eH9QFkVat2vH-a3aJ-Crxe\_ifrVuMokjr1zist4BFWRGP70uG38nMXJ1Fuv1zWSNJD7e6y03lAFbMvHFVpt1\_ew-puWA", "loc…

---

## [Shards per Host / Cores](https://discuss.elastic.co/t/shards-per-host-cores/161839)

<div class="topic-metadata">

**Author:** [@Fa\_Da](https://discuss.elastic.co/u/Fa_Da)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 12:45pm UTC](https://discuss.elastic.co/t/shards-per-host-cores/161839 "2019-01-03T12:45:45Z")

</div>

Hi, We have a 184 nodes Elastic 6.4 cluster, with each node having 16 cores and 64 GB of memory. We have around 270 shards (in total), totaling 17 Billion documents indexed (including Replicas). We have 3 replicas per …

---

## [Snapshot questions](https://discuss.elastic.co/t/snapshot-questions/162253)

<div class="topic-metadata">

**Author:** [@Ludovic9](https://discuss.elastic.co/u/Ludovic9)\
**Replies:** 10\
**Last updated:** [January 3, 2019, 12:43pm UTC](https://discuss.elastic.co/t/snapshot-questions/162253 "2019-01-03T12:43:32Z")

</div>

Hi, I would like to implement a snapshot policy but I have a question. Snapshots are incremental, so the first snapshot contains all datas, then the following contains the difference. If I delete the first snapshot, h…

---

## [How to resolve search context missing exception while passing scrollId to method](https://discuss.elastic.co/t/how-to-resolve-search-context-missing-exception-while-passing-scrollid-to-method/162798)

<div class="topic-metadata">

**Author:** [@sunilgjagtap](https://discuss.elastic.co/u/sunilgjagtap)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 12:40pm UTC](https://discuss.elastic.co/t/how-to-resolve-search-context-missing-exception-while-passing-scrollid-to-method/162798 "2019-01-03T12:40:19Z")

</div>

Below code used for get scroll Id. CODE SearchRequest searchRequest = new SearchRequest(INDEX); searchRequest.types(TYPE); SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder(); searchSourceBuild…

---

## [I believe I've found a bug in ES 6.1.1](https://discuss.elastic.co/t/i-believe-ive-found-a-bug-in-es-6-1-1/162785)

<div class="topic-metadata">

**Author:** [@cristico](https://discuss.elastic.co/u/cristico)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 12:35pm UTC](https://discuss.elastic.co/t/i-believe-ive-found-a-bug-in-es-6-1-1/162785 "2019-01-03T12:35:16Z")

</div>

Hi all, I believe I may have stumbled upon a bug in ElasticSearch 6.1.1 - I don't know for sure but all signs point to it - I am running a query that searches with full-text and then creating some aggregations for facete…

---

## [Unable to store both type of date formats.Getting mapper\_parsing\_exception](https://discuss.elastic.co/t/unable-to-store-both-type-of-date-formats-getting-mapper-parsing-exception/162793)

<div class="topic-metadata">

**Author:** [@Ani](https://discuss.elastic.co/u/Ani)\
**Replies:** 0\
**Last updated:** [January 3, 2019, 11:38am UTC](https://discuss.elastic.co/t/unable-to-store-both-type-of-date-formats-getting-mapper-parsing-exception/162793 "2019-01-03T11:38:41Z")

</div>

We are sending two type of log files , In 1st Log pattern is : 2019-01-03T14:25:34,156 com.abc.notificationmanagement.service.NotificationMgmtServiceImpl - CC Addresses After Replacing Invalids:null In 2nd Log pattern…

---

## [Elasticsearch 6.5.4: Initialising BulkProcessor](https://discuss.elastic.co/t/elasticsearch-6-5-4-initialising-bulkprocessor/162782)

<div class="topic-metadata">

**Author:** [@LGans316](https://discuss.elastic.co/u/LGans316)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 11:22am UTC](https://discuss.elastic.co/t/elasticsearch-6-5-4-initialising-bulkprocessor/162782 "2019-01-03T11:22:19Z")

</div>

Trying to upgrade from 6.4.0 to 6.5.4 and noticed many deprecations. Fixed most of them except for one. This is how the BulkProcessor was initialised in 6.4.0. indexClient is RestHighLevelClient and BulkProcessorListene…

---

## ["Failed to read or upgrade local state, exiting..." when starting ES instance](https://discuss.elastic.co/t/failed-to-read-or-upgrade-local-state-exiting-when-starting-es-instance/162330)

<div class="topic-metadata">

**Author:** [@Valentin\_Courtois](https://discuss.elastic.co/u/Valentin_Courtois)\
**Replies:** 5\
**Last updated:** [January 3, 2019, 10:53am UTC](https://discuss.elastic.co/t/failed-to-read-or-upgrade-local-state-exiting-when-starting-es-instance/162330 "2019-01-03T10:53:25Z")

</div>

Hello, I'm developing a kibana plugin, without my ES instance I'm completely dead. Yesterday ES instance would start normally, but today it doesn't work for some reason. Error logs are: \> \[2018-12-28T10:38:41,715\]\[ERR…

---

## [Explanation of research method between ES 5.X and 6.X](https://discuss.elastic.co/t/explanation-of-research-method-between-es-5-x-and-6-x/162768)

<div class="topic-metadata">

**Author:** [@TomasDSD](https://discuss.elastic.co/u/TomasDSD)\
**Replies:** 9\
**Last updated:** [January 3, 2019, 10:45am UTC](https://discuss.elastic.co/t/explanation-of-research-method-between-es-5-x-and-6-x/162768 "2019-01-03T10:45:10Z")

</div>

Hello everyone, I have updated my ElasticSearch 5.x to 6.x, and the discovery Search have not the same result. In 5.x, i have 500 results when searching in my index, and 9 results in 6.x. Can someone explain me the new…

---

## [How can i copy or clone index from one ES server another ES server?](https://discuss.elastic.co/t/how-can-i-copy-or-clone-index-from-one-es-server-another-es-server/162766)

<div class="topic-metadata">

**Author:** [@inandi](https://discuss.elastic.co/u/inandi)\
**Replies:** 2\
**Last updated:** [January 3, 2019, 10:44am UTC](https://discuss.elastic.co/t/how-can-i-copy-or-clone-index-from-one-es-server-another-es-server/162766 "2019-01-03T10:44:20Z")

</div>

I have one ES serve which has 1.5 billion data. Now i want copy all the data another ES server. is there any way to do that like export or data sending?

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

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