# Elasticsearch

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

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

**Page:** 1856

---

## [PUT Index mapping via curl result an error (Content-Type header fix does not working)](https://discuss.elastic.co/t/put-index-mapping-via-curl-result-an-error-content-type-header-fix-does-not-working/111445)

<div class="topic-metadata">

**Author:** [@toshi78](https://discuss.elastic.co/u/toshi78)\
**Replies:** 2\
**Last updated:** [December 13, 2017, 9:02pm UTC](https://discuss.elastic.co/t/put-index-mapping-via-curl-result-an-error-content-type-header-fix-does-not-working/111445 "2017-12-13T21:02:05Z")

</div>

Hi everyone ! I migrated from ES 5 to ES 6, and I've tried to push the following mapping with curl as usual: "mappings" : { "mee": { "properties" : { "ind1" : { "type" : "float" }, "ind2" : { "type"…

---

## [Query super slow whenever first time on an index](https://discuss.elastic.co/t/query-super-slow-whenever-first-time-on-an-index/111643)

<div class="topic-metadata">

**Author:** [@akirafei](https://discuss.elastic.co/u/akirafei)\
**Replies:** 7\
**Last updated:** [December 13, 2017, 8:59pm UTC](https://discuss.elastic.co/t/query-super-slow-whenever-first-time-on-an-index/111643 "2017-12-13T20:59:09Z")

</div>

Similar query first time: 19.301 s second time: 0.314 s index status after the first query

---

## [3 nodes cluster](https://discuss.elastic.co/t/3-nodes-cluster/111576)

<div class="topic-metadata">

**Author:** [@Vladislav\_Trayanov](https://discuss.elastic.co/u/Vladislav_Trayanov)\
**Replies:** 5\
**Last updated:** [December 13, 2017, 8:55pm UTC](https://discuss.elastic.co/t/3-nodes-cluster/111576 "2017-12-13T20:55:11Z")

</div>

Hey all, I have a big trouble to understand the best 3 nodes cluster elasticsearch configuration. At the moment I have 3 node cluster with 3 data + master eligible nodes with 4 gigs of JVM and standard HDD. I keep log…

---

## [Ingest pdf/doc/ppt files from HDFS to Elastic Search. Fscrawler vs es-hadoop](https://discuss.elastic.co/t/ingest-pdf-doc-ppt-files-from-hdfs-to-elastic-search-fscrawler-vs-es-hadoop/109059)

<div class="topic-metadata">

**Author:** [@vimal\_kumar](https://discuss.elastic.co/u/vimal_kumar)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 8:46pm UTC](https://discuss.elastic.co/t/ingest-pdf-doc-ppt-files-from-hdfs-to-elastic-search-fscrawler-vs-es-hadoop/109059 "2017-12-13T20:46:09Z")

</div>

Guys, Hope you can shed some light on this use case. I have a use case to store thousands of documents and index them. For my purpose, Springboot app will receive the uploaded files, store the metadata/application relate…

---

## [\[s3\_repository\] path is not accessible on master node](https://discuss.elastic.co/t/s3-repository-path-is-not-accessible-on-master-node/111570)

<div class="topic-metadata">

**Author:** [@clk2018](https://discuss.elastic.co/u/clk2018)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 7:54pm UTC](https://discuss.elastic.co/t/s3-repository-path-is-not-accessible-on-master-node/111570 "2017-12-13T19:54:56Z")

</div>

My EC2 elasticsearch 2.4.6 cluster (hosted on amazon east data center) is having issues with the aws-cloud 2.4.6 plugin, I have configured my elasticsearch.yml file as instructed by configuration . cloud: aws: access\_…

---

## [ElasticSearch and Hive](https://discuss.elastic.co/t/elasticsearch-and-hive/110875)

<div class="topic-metadata">

**Author:** [@cw2579](https://discuss.elastic.co/u/cw2579)\
**Replies:** 3\
**Last updated:** [December 13, 2017, 7:53pm UTC](https://discuss.elastic.co/t/elasticsearch-and-hive/110875 "2017-12-13T19:53:15Z")

</div>

I can create hive elasticsearch table: CREATE EXTERNAL TABLE artists\_es ( id BIGINT, name STRING ) STORED BY 'org.elasticsearch.hadoop.hive.EsStorageHandler' TBLPROPERTIES('es.nodes'='10.0.14.71','es.port'= '9…

---

## [ES-Hadoop PySpark error](https://discuss.elastic.co/t/es-hadoop-pyspark-error/110191)

<div class="topic-metadata">

**Author:** [@adesewa](https://discuss.elastic.co/u/adesewa)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 7:38pm UTC](https://discuss.elastic.co/t/es-hadoop-pyspark-error/110191 "2017-12-13T19:38:54Z")

</div>

Hello, I am currently working on a project where I do some fuzzy matching on data in an elasticsearch index. Because I have millions of data in a python dataframe to match against millions of data in the elasticsearch …

---

## [Filter returns empty on has\_child](https://discuss.elastic.co/t/filter-returns-empty-on-has-child/111631)

<div class="topic-metadata">

**Author:** [@ryanmcclure4](https://discuss.elastic.co/u/ryanmcclure4)\
**Replies:** 0\
**Last updated:** [December 13, 2017, 7:25pm UTC](https://discuss.elastic.co/t/filter-returns-empty-on-has-child/111631 "2017-12-13T19:25:17Z")

</div>

I have an index that can either be a thread or a thread\_item, where a thread is the parent of one or more thread\_item. In the template, I have the following defined in my template for a field called messages: ... "m…

---

## [ElasticSearch report a strange os memory and search very slow,](https://discuss.elastic.co/t/elasticsearch-report-a-strange-os-memory-and-search-very-slow/111424)

<div class="topic-metadata">

**Author:** [@akirafei](https://discuss.elastic.co/u/akirafei)\
**Replies:** 3\
**Last updated:** [December 13, 2017, 6:48pm UTC](https://discuss.elastic.co/t/elasticsearch-report-a-strange-os-memory-and-search-very-slow/111424 "2017-12-13T18:48:49Z")

</div>

Running ES in docker on a physical box with VMware ESXi6 CentOS 7 OS Queries are currently taking more than 10 seconds to complete \_cluster/stats reports a strange os memory: total\_in\_bytes: 134778593280 free\_in\_byte…

---

## [Single node elastic.co cluster and cluster status](https://discuss.elastic.co/t/single-node-elastic-co-cluster-and-cluster-status/111594)

<div class="topic-metadata">

**Author:** [@acchaulk](https://discuss.elastic.co/u/acchaulk)\
**Replies:** 2\
**Last updated:** [December 13, 2017, 6:33pm UTC](https://discuss.elastic.co/t/single-node-elastic-co-cluster-and-cluster-status/111594 "2017-12-13T18:33:23Z")

</div>

Hello, I have a similar question to this post. I am running a single node cluster for development and I do not want indexes to be trying to allocate replicas. I have templates for my indexes, but the watcher history in…

---

## [Is there a way to reindex to remote ES cluster with es-spark support?](https://discuss.elastic.co/t/is-there-a-way-to-reindex-to-remote-es-cluster-with-es-spark-support/109009)

<div class="topic-metadata">

**Author:** [@makeyang](https://discuss.elastic.co/u/makeyang)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 6:05pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-reindex-to-remote-es-cluster-with-es-spark-support/109009 "2017-12-13T18:05:33Z")

</div>

below is the action I want to take: SparkConf rconf = new SparkConf() SparkConf wconf = new SparkConf() JavaSparkContext rjsc = new JavaSparkContext(rconf); JavaSparkContext wjsc = new JavaSparkContext(wconf); JavaR…

---

## [Upgrade to 5.6.4, cannot start, please advise](https://discuss.elastic.co/t/upgrade-to-5-6-4-cannot-start-please-advise/111620)

<div class="topic-metadata">

**Author:** [@Derrick](https://discuss.elastic.co/u/Derrick)\
**Replies:** 0\
**Last updated:** [December 13, 2017, 6:03pm UTC](https://discuss.elastic.co/t/upgrade-to-5-6-4-cannot-start-please-advise/111620 "2017-12-13T18:03:30Z")

</div>

LOGGING\>\>\>\> \[2017-12-13T17:53:02,941\]\[INFO \]\[o.e.n.Node \] \[pxv-data1.dev.lbb4sd.333az.net\] JVM arguments \[-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSIn…

---

## [HIve on tez or Hive on Spark?](https://discuss.elastic.co/t/hive-on-tez-or-hive-on-spark/108388)

<div class="topic-metadata">

**Author:** [@sdavy](https://discuss.elastic.co/u/sdavy)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 6:01pm UTC](https://discuss.elastic.co/t/hive-on-tez-or-hive-on-spark/108388 "2017-12-13T18:01:27Z")

</div>

Hello everybody, I'm trying to play with Hive and Elastic. I've been able to deploy a basic Hive config and adding the elastic-hadoop-hive jars I can create an external table mapped on Hadoop. Now, I have some messages …

---

## [Best method for daily ingest of data?](https://discuss.elastic.co/t/best-method-for-daily-ingest-of-data/111593)

<div class="topic-metadata">

**Author:** [@charles221](https://discuss.elastic.co/u/charles221)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 6:00pm UTC](https://discuss.elastic.co/t/best-method-for-daily-ingest-of-data/111593 "2017-12-13T18:00:28Z")

</div>

Heya, I'm setting up a Elasticsearch & Kibana instance aimed for analysing trends over time. Every day we collect from a few new sources, then ingest updated data for the established sources. The issue is that, at the m…

---

## [Transport Client not getting connected 5.6.3 Java API](https://discuss.elastic.co/t/transport-client-not-getting-connected-5-6-3-java-api/111479)

<div class="topic-metadata">

**Author:** [@amathuria](https://discuss.elastic.co/u/amathuria)\
**Replies:** 7\
**Last updated:** [December 13, 2017, 5:58pm UTC](https://discuss.elastic.co/t/transport-client-not-getting-connected-5-6-3-java-api/111479 "2017-12-13T17:58:49Z")

</div>

Continuing the discussion from NoNodeAvailableException, cannot connect Java API and Elasticsearch: Hi, I am new to elasticsearch and I wanted to use the Java APIs in Scala to communicate with my ES cluster (one node)…

---

## [How to handle unit suffixes (e.g. 16GB vs 16 GB)?](https://discuss.elastic.co/t/how-to-handle-unit-suffixes-e-g-16gb-vs-16-gb/111595)

<div class="topic-metadata">

**Author:** [@esh](https://discuss.elastic.co/u/esh)\
**Replies:** 2\
**Last updated:** [December 13, 2017, 5:54pm UTC](https://discuss.elastic.co/t/how-to-handle-unit-suffixes-e-g-16gb-vs-16-gb/111595 "2017-12-13T17:54:59Z")

</div>

I am using ElasticSearch for a webshop with a lot of products with values + unit suffixes in their name, such as the following: Samsung 960 EVO 500 GB Samsung 960 PRO 500GB Is there a clever way to get ElasticSearch t…

---

## [Reports not showing the proper search results](https://discuss.elastic.co/t/reports-not-showing-the-proper-search-results/111616)

<div class="topic-metadata">

**Author:** [@mhickok](https://discuss.elastic.co/u/mhickok)\
**Replies:** 0\
**Last updated:** [December 13, 2017, 5:30pm UTC](https://discuss.elastic.co/t/reports-not-showing-the-proper-search-results/111616 "2017-12-13T17:30:34Z")

</div>

Hello, I'm trying to generate a report from a search. The search is actually not doing anything, I'm just showing all docs in Discover (which is only 32 items) and then generating a report PDF out of it. However, it see…

---

## [Need elastic query to fetch list of docs from one index based on list of one type field](https://discuss.elastic.co/t/need-elastic-query-to-fetch-list-of-docs-from-one-index-based-on-list-of-one-type-field/111602)

<div class="topic-metadata">

**Author:** [@skodari](https://discuss.elastic.co/u/skodari)\
**Replies:** 0\
**Last updated:** [December 13, 2017, 4:10pm UTC](https://discuss.elastic.co/t/need-elastic-query-to-fetch-list-of-docs-from-one-index-based-on-list-of-one-type-field/111602 "2017-12-13T16:10:46Z")

</div>

Hi Team, I Need elastic query to fetch list of docs from one index based on list of one type of field(Just like "IN" operator in DB2). Example: GET /my\_country\_index/\_search?size=2000 {"query": { "bool":{ …

---

## [High Heap utilization in Client Node](https://discuss.elastic.co/t/high-heap-utilization-in-client-node/111464)

<div class="topic-metadata">

**Author:** [@Manikanth\_Reddy](https://discuss.elastic.co/u/Manikanth_Reddy)\
**Replies:** 2\
**Last updated:** [December 13, 2017, 3:09pm UTC](https://discuss.elastic.co/t/high-heap-utilization-in-client-node/111464 "2017-12-13T15:09:40Z")

</div>

We are seeing high heap utilization in two of the client nodes. Its configured as 4GB RAM and its hitting around 98%. There is nothing showing in elasticsearch logs. ES LOG: \[2017-12-12T19:23:48,005\]\[WARN \]\[o.e.m.j.Jvm…

---

## [java.io.EOFException when installing plugins](https://discuss.elastic.co/t/java-io-eofexception-when-installing-plugins/111516)

<div class="topic-metadata">

**Author:** [@hun](https://discuss.elastic.co/u/hun)\
**Replies:** 5\
**Last updated:** [December 13, 2017, 3:16pm UTC](https://discuss.elastic.co/t/java-io-eofexception-when-installing-plugins/111516 "2017-12-13T15:16:37Z")

</div>

Hi community, I am trying to install some plugins on es version 5.6.5, but not able to do so due to the following thrown error: java.io.EOFException at java.io.DataInputStream.readUnsignedShort(DataInputStream.ja…

---

## [Terms aggregation with “missing”](https://discuss.elastic.co/t/terms-aggregation-with-missing/110440)

<div class="topic-metadata">

**Author:** [@jimyoo](https://discuss.elastic.co/u/jimyoo)\
**Replies:** 6\
**Last updated:** [December 13, 2017, 3:11pm UTC](https://discuss.elastic.co/t/terms-aggregation-with-missing/110440 "2017-12-13T15:11:00Z")

</div>

I am observing these behaviors. For a query like under works. "size" :0, "aggregations" : { “keywordTypeField” : { "terms" : { "field" : “keywordTypeField”, "missing": “N/A”, "min\_do…

---

## [Azure repository snapshot error](https://discuss.elastic.co/t/azure-repository-snapshot-error/108379)

<div class="topic-metadata">

**Author:** [@shaharmor](https://discuss.elastic.co/u/shaharmor)\
**Replies:** 3\
**Last updated:** [December 13, 2017, 2:36pm UTC](https://discuss.elastic.co/t/azure-repository-snapshot-error/108379 "2017-12-13T14:36:55Z")

</div>

Hi, We're using the Azure plugin for backup. In general it works good, but every once in a while we're seeing this error: IndexShardSnapshotFailedException\[java.lang.RuntimeException: java.security.AccessControlExcept…

---

## [High CPU, disk load only on one node in cluster](https://discuss.elastic.co/t/high-cpu-disk-load-only-on-one-node-in-cluster/108926)

<div class="topic-metadata">

**Author:** [@vanch](https://discuss.elastic.co/u/vanch)\
**Replies:** 13\
**Last updated:** [December 13, 2017, 2:35pm UTC](https://discuss.elastic.co/t/high-cpu-disk-load-only-on-one-node-in-cluster/108926 "2017-12-13T14:35:52Z")

</div>

Hello there. Setup that i have: Cluster of 3 nodes with ES 5.3.0. All nodes are VMs in KVM hypervisor, with no more highloaded VMs on local hypervisors. VMs: Ubuntu 16.04 linux-4.4.0 kernel (different minor builds), …

---

## [Reduce Swapping for ES Nodes](https://discuss.elastic.co/t/reduce-swapping-for-es-nodes/111441)

<div class="topic-metadata">

**Author:** [@corona](https://discuss.elastic.co/u/corona)\
**Replies:** 2\
**Last updated:** [December 13, 2017, 2:25pm UTC](https://discuss.elastic.co/t/reduce-swapping-for-es-nodes/111441 "2017-12-13T14:25:49Z")

</div>

Hi, I'm running version 2.4.1. I have confirmed the bootstrap.mlockall setting is true for the nodes in my cluster. I've been monitoring swap space usage on two servers (which run the ES nodes). I've found that the swap…

---

## [Multiple nested objects stats aggregation](https://discuss.elastic.co/t/multiple-nested-objects-stats-aggregation/111360)

<div class="topic-metadata">

**Author:** [@johntadd](https://discuss.elastic.co/u/johntadd)\
**Replies:** 3\
**Last updated:** [December 13, 2017, 2:09pm UTC](https://discuss.elastic.co/t/multiple-nested-objects-stats-aggregation/111360 "2017-12-13T14:09:14Z")

</div>

I can retrieve docs based on 'And' effect search for multiple nested object. A new problem is how can I count returned result? Previous nested query returns 2 docs. Doc 1 \* rank 1: user A \* rank 2: user B \*…

---

## [Allow user only certain documents from certain indices](https://discuss.elastic.co/t/allow-user-only-certain-documents-from-certain-indices/111381)

<div class="topic-metadata">

**Author:** [@sancroth](https://discuss.elastic.co/u/sancroth)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 1:00pm UTC](https://discuss.elastic.co/t/allow-user-only-certain-documents-from-certain-indices/111381 "2017-12-13T13:00:51Z")

</div>

I'd like some help with this scenario. I want to allow User A to have access to Indices i1 and i2. To achieve this i used the Management GUI, created a new role that has read writes to the 2 indices. Then assigned use…

---

## [Numeric format exception on term query with empty value](https://discuss.elastic.co/t/numeric-format-exception-on-term-query-with-empty-value/111555)

<div class="topic-metadata">

**Author:** [@davteje](https://discuss.elastic.co/u/davteje)\
**Replies:** 0\
**Last updated:** [December 13, 2017, 12:31pm UTC](https://discuss.elastic.co/t/numeric-format-exception-on-term-query-with-empty-value/111555 "2017-12-13T12:31:43Z")

</div>

I have a term query on a numeric field where the search can sometimes be an empty value: "term": { "numeric\_field": "" } I would like this query to not return any result but instead it throws a numeric format exception…

---

## [Elastic and Kibana OS Support](https://discuss.elastic.co/t/elastic-and-kibana-os-support/111549)

<div class="topic-metadata">

**Author:** [@Srumith](https://discuss.elastic.co/u/Srumith)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 12:31pm UTC](https://discuss.elastic.co/t/elastic-and-kibana-os-support/111549 "2017-12-13T12:31:38Z")

</div>

Hi Team Can you please let me know whether Elastic and Kibana are supported on following operating systems - Solaris, HP-UNIX and AIX. Thanks Srumith.

---

## [Struggling to understand the value of ML for my data](https://discuss.elastic.co/t/struggling-to-understand-the-value-of-ml-for-my-data/108816)

<div class="topic-metadata">

**Author:** [@gosha1128](https://discuss.elastic.co/u/gosha1128)\
**Replies:** 11\
**Last updated:** [December 13, 2017, 12:00pm UTC](https://discuss.elastic.co/t/struggling-to-understand-the-value-of-ml-for-my-data/108816 "2017-12-13T12:00:29Z")

</div>

OK, so i'm loving elasticsearch 6.0. I'm a data scientist, and so i'm keen to understand how anomaly detection can work for my data. I put in my data and i start playing around with ML, following various tutorials. I …

---

## [Ansible elasticsearch v6](https://discuss.elastic.co/t/ansible-elasticsearch-v6/111552)

<div class="topic-metadata">

**Author:** [@ChuckB0ris](https://discuss.elastic.co/u/ChuckB0ris)\
**Replies:** 0\
**Last updated:** [December 13, 2017, 11:41am UTC](https://discuss.elastic.co/t/ansible-elasticsearch-v6/111552 "2017-12-13T11:41:40Z")

</div>

Hi guys, Any idea where I could find a v6 ansible role like this one(v5) https://github.com/elastic/ansible-elasticsearch ? Any help or pointers on how to convert the v5 one is greatly appreciated :slight\_smile: Thanks…

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

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