# Elasticsearch

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

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

**Page:** 1821

---

## [Unable to Scale Elastic Search Throughput in .Net](https://discuss.elastic.co/t/unable-to-scale-elastic-search-throughput-in-net/116353)

<div class="topic-metadata">

**Author:** [@Ashwinder\_Singh](https://discuss.elastic.co/u/Ashwinder_Singh)\
**Replies:** 1\
**Last updated:** [January 22, 2018, 2:03am UTC](https://discuss.elastic.co/t/unable-to-scale-elastic-search-throughput-in-net/116353 "2018-01-22T02:03:06Z")

</div>

I have created a .Net framework 4.5 application, I am trying to increase the overall throughput and response time of my application. Currently i am not able to scale further, despite the powerful hardware. Below are some…

---

## [Cannot read data from Elastic 6.0: "error":"Content-Type header \[text/plain\] is not supported","status":406](https://discuss.elastic.co/t/cannot-read-data-from-elastic-6-0-error-content-type-header-text-plain-is-not-supported-status-406/116366)

<div class="topic-metadata">

**Author:** [@betty](https://discuss.elastic.co/u/betty)\
**Replies:** 3\
**Last updated:** [January 22, 2018, 1:35am UTC](https://discuss.elastic.co/t/cannot-read-data-from-elastic-6-0-error-content-type-header-text-plain-is-not-supported-status-406/116366 "2018-01-22T01:35:07Z")

</div>

Hi experts, I create a client in java and want to get the query results from index but got the 406 error: "Content-Type header \[text/plain\] is not supported","status":406. Java platform: 1.6 ES version: 6.0 Below is…

---

## [X-Pack is not free (I thought it was)](https://discuss.elastic.co/t/x-pack-is-not-free-i-thought-it-was/116385)

<div class="topic-metadata">

**Author:** [@extarys](https://discuss.elastic.co/u/extarys)\
**Replies:** 2\
**Last updated:** [January 22, 2018, 12:27am UTC](https://discuss.elastic.co/t/x-pack-is-not-free-i-thought-it-was/116385 "2018-01-22T00:27:30Z")

</div>

I decided to give elastic a try. So... On the products page at the top it says "The Open Source Elastic Stack", I thought it was amazing until I logged in into kibana and saw the 30 days trial period or X-Pack. Disappoi…

---

## [Elastic Search Mapping Date Format to Visualize time series on Kibana](https://discuss.elastic.co/t/elastic-search-mapping-date-format-to-visualize-time-series-on-kibana/116322)

<div class="topic-metadata">

**Author:** [@Sam12](https://discuss.elastic.co/u/Sam12)\
**Replies:** 0\
**Last updated:** [January 20, 2018, 3:34am UTC](https://discuss.elastic.co/t/elastic-search-mapping-date-format-to-visualize-time-series-on-kibana/116322 "2018-01-20T03:34:17Z")

</div>

Hi All, In my log file i am receiving date in format yyyymmdd\_HHmmss so does elastic search support this date format for mapping so i can visualize timeseries on kibana? Thanks Sam

---

## [Date Range Query without result](https://discuss.elastic.co/t/date-range-query-without-result/116394)

<div class="topic-metadata">

**Author:** [@remi128](https://discuss.elastic.co/u/remi128)\
**Replies:** 5\
**Last updated:** [January 21, 2018, 8:00pm UTC](https://discuss.elastic.co/t/date-range-query-without-result/116394 "2018-01-21T20:00:50Z")

</div>

Hi, on elastic 6.1.2 a range query by date does not give a result, hope anybody can help. Here is the query: GET /test\_index/\_search { "query" : { "range" : { "testDate" : { …

---

## [Elasticsearch 5.6 installation on debian 7 vs java 8 requirement](https://discuss.elastic.co/t/elasticsearch-5-6-installation-on-debian-7-vs-java-8-requirement/116399)

<div class="topic-metadata">

**Author:** [@Rodolfo\_Albuquerque](https://discuss.elastic.co/u/Rodolfo_Albuquerque)\
**Replies:** 2\
**Last updated:** [January 21, 2018, 6:49pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-installation-on-debian-7-vs-java-8-requirement/116399 "2018-01-21T18:49:56Z")

</div>

Hello everyone, So I came across the need to implement my project on a server that is currently running Debian 7 (wheezy). With that, I'm now facing an issue with openjdk-8 installation, since it's not default for debi…

---

## [Logstash-filter-elasticsearch plugin fails to look up in amazon es](https://discuss.elastic.co/t/logstash-filter-elasticsearch-plugin-fails-to-look-up-in-amazon-es/116362)

<div class="topic-metadata">

**Author:** [@srama](https://discuss.elastic.co/u/srama)\
**Replies:** 6\
**Last updated:** [January 21, 2018, 4:34pm UTC](https://discuss.elastic.co/t/logstash-filter-elasticsearch-plugin-fails-to-look-up-in-amazon-es/116362 "2018-01-21T16:34:23Z")

</div>

Hi, New to ELK. I am trying to use logstash-filter-elasticsearch plugin for some look up and computation. It works fine with on prem 5.6.3 version. The same config fails while connection to Amazon ES 6.0. Here is my…

---

## [E: Sub-process /usr/bin/dpkg returned an error code (1)](https://discuss.elastic.co/t/e-sub-process-usr-bin-dpkg-returned-an-error-code-1/116380)

<div class="topic-metadata">

**Author:** [@Ali\_znzd](https://discuss.elastic.co/u/Ali_znzd)\
**Replies:** 0\
**Last updated:** [January 21, 2018, 11:02am UTC](https://discuss.elastic.co/t/e-sub-process-usr-bin-dpkg-returned-an-error-code-1/116380 "2018-01-21T11:02:21Z")

</div>

I was trying to uninstall elasticsearch and reinstall it. when I remove it with below command it was showing following error. $ apt-get --purge autoremove elasticsearch Reading package lists... Done Building dependenc…

---

## [Class NetworkPlugin has not found- Elasticsearch 6.1.1](https://discuss.elastic.co/t/class-networkplugin-has-not-found-elasticsearch-6-1-1/116335)

<div class="topic-metadata">

**Author:** [@alien777](https://discuss.elastic.co/u/alien777)\
**Replies:** 5\
**Last updated:** [January 21, 2018, 10:15am UTC](https://discuss.elastic.co/t/class-networkplugin-has-not-found-elasticsearch-6-1-1/116335 "2018-01-21T10:15:12Z")

</div>

Application throws java.lang.ClassNotFoundException: org.elasticsearch.plugins.NetworkPlugin. In the pom I added two dependencies: \<dependency\> \<groupId\>org.elasticsearch\</groupId\> \<artifactId\>elasticsearch\</art…

---

## [Understanding elasticsearch and index creation](https://discuss.elastic.co/t/understanding-elasticsearch-and-index-creation/116376)

<div class="topic-metadata">

**Author:** [@abkrim](https://discuss.elastic.co/u/abkrim)\
**Replies:** 1\
**Last updated:** [January 21, 2018, 9:48am UTC](https://discuss.elastic.co/t/understanding-elasticsearch-and-index-creation/116376 "2018-01-21T09:48:05Z")

</div>

I currently use Elasticsearch with a normalized data model. But now I am presented with a project, with other characteristics, and I can not see without it or how to work with it. The problem is that there is no fixed f…

---

## [\[ask\] how to implementation unsupervised on the ELK](https://discuss.elastic.co/t/ask-how-to-implementation-unsupervised-on-the-elk/116374)

<div class="topic-metadata">

**Author:** [@yrizal](https://discuss.elastic.co/u/yrizal)\
**Replies:** 3\
**Last updated:** [January 21, 2018, 9:40am UTC](https://discuss.elastic.co/t/ask-how-to-implementation-unsupervised-on-the-elk/116374 "2018-01-21T09:40:36Z")

</div>

Hello, im still learning about ELK and still basic which I ask how the unsupervised implementation on the ELK or detect anomalies on the network may be told the steps I need to do and learn what should install x-pack …

---

## [Index not\_analyzed not working in elasticsearch version 6.1](https://discuss.elastic.co/t/index-not-analyzed-not-working-in-elasticsearch-version-6-1/116368)

<div class="topic-metadata">

**Author:** [@Vishal\_Chaurasia](https://discuss.elastic.co/u/Vishal_Chaurasia)\
**Replies:** 1\
**Last updated:** [January 21, 2018, 7:21am UTC](https://discuss.elastic.co/t/index-not-analyzed-not-working-in-elasticsearch-version-6-1/116368 "2018-01-21T07:21:08Z")

</div>

In elasticsearch 6.1 , while defining mappings explicitly , I want to create field searchable field without analysing for exact matches using term query, example email field. But in elasticsearch index attribute only acc…

---

## [Auto run elasticsearch from binary package](https://discuss.elastic.co/t/auto-run-elasticsearch-from-binary-package/116371)

<div class="topic-metadata">

**Author:** [@Punit\_Kumar](https://discuss.elastic.co/u/Punit_Kumar)\
**Replies:** 1\
**Last updated:** [January 21, 2018, 6:58am UTC](https://discuss.elastic.co/t/auto-run-elasticsearch-from-binary-package/116371 "2018-01-21T06:58:51Z")

</div>

Hi, I installed ELK through binaries, not what should i do to enable Elasticsearch and Kibana to autorun when it stops.

---

## [Problem after elasticsearch upgrade to 6.0](https://discuss.elastic.co/t/problem-after-elasticsearch-upgrade-to-6-0/116361)

<div class="topic-metadata">

**Author:** [@picasta](https://discuss.elastic.co/u/picasta)\
**Replies:** 1\
**Last updated:** [January 20, 2018, 11:43pm UTC](https://discuss.elastic.co/t/problem-after-elasticsearch-upgrade-to-6-0/116361 "2018-01-20T23:43:47Z")

</div>

Hello, First I must say that I'm totally noob with Elasticsearch, so please take my apologies if this is basic question. After upgrading elasticsearch on my server to 6.0 version my site breaks. Can someone please te…

---

## [Query for name and job title](https://discuss.elastic.co/t/query-for-name-and-job-title/116339)

<div class="topic-metadata">

**Author:** [@caseydm](https://discuss.elastic.co/u/caseydm)\
**Replies:** 1\
**Last updated:** [January 20, 2018, 7:17pm UTC](https://discuss.elastic.co/t/query-for-name-and-job-title/116339 "2018-01-20T19:17:27Z")

</div>

Hi all. I'm fairly new to Elasticsearch and am having trouble with a query that searches names and job title. I am using elasticsearch DSL and my query currently looks like this: s = s.query("multi\_match", query=query, …

---

## [Search like Google Place Autocomplete](https://discuss.elastic.co/t/search-like-google-place-autocomplete/116350)

<div class="topic-metadata">

**Author:** [@marucjmar](https://discuss.elastic.co/u/marucjmar)\
**Replies:** 0\
**Last updated:** [January 20, 2018, 7:07pm UTC](https://discuss.elastic.co/t/search-like-google-place-autocomplete/116350 "2018-01-20T19:07:32Z")

</div>

Hi, I create dedicated microservice for search autocomplete buildings address in app. I would like to my search engine it worked like Google Place Autocomplete. I created mapping for shard, but I'm not happy from the qu…

---

## [Elasticsearch result with group by filters](https://discuss.elastic.co/t/elasticsearch-result-with-group-by-filters/116146)

<div class="topic-metadata">

**Author:** [@Apiweb](https://discuss.elastic.co/u/Apiweb)\
**Replies:** 1\
**Last updated:** [January 20, 2018, 5:40pm UTC](https://discuss.elastic.co/t/elasticsearch-result-with-group-by-filters/116146 "2018-01-20T17:40:58Z")

</div>

I'm implementing Elasticsearch on my system, but I have a question: I am creating a job portal, I currently use the request below to list all available positions: GET /companies/job/\_search { "sort" : \[ { "…

---

## [Adding a Document in Java](https://discuss.elastic.co/t/adding-a-document-in-java/116332)

<div class="topic-metadata">

**Author:** [@Deepak\_Goel](https://discuss.elastic.co/u/Deepak_Goel)\
**Replies:** 3\
**Last updated:** [January 20, 2018, 5:02pm UTC](https://discuss.elastic.co/t/adding-a-document-in-java/116332 "2018-01-20T17:02:29Z")

</div>

Hello I would like to add a document to a collection in ElasticSearch using Java. Is there a sample program with explanation available? Thank You

---

## [Watcher: \[illegal\_argument\_exception\] no accounts of type \[slack\] configured. Please set up an account using the \[xpack.notification.slack\] settings](https://discuss.elastic.co/t/watcher-illegal-argument-exception-no-accounts-of-type-slack-configured-please-set-up-an-account-using-the-xpack-notification-slack-settings/116307)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 4\
**Last updated:** [January 20, 2018, 3:58pm UTC](https://discuss.elastic.co/t/watcher-illegal-argument-exception-no-accounts-of-type-slack-configured-please-set-up-an-account-using-the-xpack-notification-slack-settings/116307 "2018-01-20T15:58:02Z")

</div>

I'm trying to follow: Slack Action | X-Pack for the Elastic Stack \[6.1\] | Elastic, yet getting following message: Watcher: \[illegal\_argument\_exception\] no accounts of type \[slack\] configured. Please set up an account u…

---

## [Access Denied Exception](https://discuss.elastic.co/t/access-denied-exception/114954)

<div class="topic-metadata">

**Author:** [@satyan](https://discuss.elastic.co/u/satyan)\
**Replies:** 2\
**Last updated:** [January 20, 2018, 11:53am UTC](https://discuss.elastic.co/t/access-denied-exception/114954 "2018-01-20T11:53:18Z")

</div>

Hi, I am using elasticsearch 6.1.1. When I create an index, it is moving to red state in a few seconds and I can see the below error in the log files, I have given complete permission to the elasticsearch folder. Also…

---

## [ElasticSearch painless script to remove all the keys except for a list of keys](https://discuss.elastic.co/t/elasticsearch-painless-script-to-remove-all-the-keys-except-for-a-list-of-keys/116215)

<div class="topic-metadata">

**Author:** [@umbreak](https://discuss.elastic.co/u/umbreak)\
**Replies:** 2\
**Last updated:** [January 20, 2018, 11:00am UTC](https://discuss.elastic.co/t/elasticsearch-painless-script-to-remove-all-the-keys-except-for-a-list-of-keys/116215 "2018-01-20T11:00:27Z")

</div>

I want to execute an atomic update operation on a Elasticsearch (6.1) document where I want to remove all the document except for some keys (on the top level, not nested). I know that for removing a specific key (someth…

---

## [Prevent searching for specific field with query\_string query](https://discuss.elastic.co/t/prevent-searching-for-specific-field-with-query-string-query/116183)

<div class="topic-metadata">

**Author:** [@jojo23](https://discuss.elastic.co/u/jojo23)\
**Replies:** 2\
**Last updated:** [January 20, 2018, 8:34am UTC](https://discuss.elastic.co/t/prevent-searching-for-specific-field-with-query-string-query/116183 "2018-01-20T08:34:19Z")

</div>

Hello Forum, is it possible to somehow limit / filter the fields that can be searched using a query\_string query? My use-case is that I have an index which contains privileged information and I want to expose a subset …

---

## [Elasticsearch support join on tables or not?](https://discuss.elastic.co/t/elasticsearch-support-join-on-tables-or-not/115654)

<div class="topic-metadata">

**Author:** [@hasti\_gh](https://discuss.elastic.co/u/hasti_gh)\
**Replies:** 10\
**Last updated:** [January 20, 2018, 8:31am UTC](https://discuss.elastic.co/t/elasticsearch-support-join-on-tables-or-not/115654 "2018-01-20T08:31:26Z")

</div>

iam really confiused . if elasticsearch have not join what is this plugins that can support join on elasticsearch for example: someone explain more about join in elasticsearch. thanx

---

## [Which SHOULD query gave the match?](https://discuss.elastic.co/t/which-should-query-gave-the-match/116327)

<div class="topic-metadata">

**Author:** [@yonigo](https://discuss.elastic.co/u/yonigo)\
**Replies:** 1\
**Last updated:** [January 20, 2018, 6:18am UTC](https://discuss.elastic.co/t/which-should-query-gave-the-match/116327 "2018-01-20T06:18:04Z")

</div>

I have a should clause inside a filter with some queries in it. A document will match if at least one of the queries match. Is there a way i can understand from the returned documents which query in the SHOULD gave the…

---

## [Entire cluster goes down from single query](https://discuss.elastic.co/t/entire-cluster-goes-down-from-single-query/116326)

<div class="topic-metadata">

**Author:** [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Replies:** 4\
**Last updated:** [January 20, 2018, 5:25am UTC](https://discuss.elastic.co/t/entire-cluster-goes-down-from-single-query/116326 "2018-01-20T05:25:46Z")

</div>

Not sure how this is possible, but the same query was working fine. We upgraded all our nodes to 6.1.2 and it still seemed to be working but then after a little bit the cluster stopped responding. I couldn't get it to lo…

---

## [Unable to uninstall x-pack from elastic search 6.1.2 docker image](https://discuss.elastic.co/t/unable-to-uninstall-x-pack-from-elastic-search-6-1-2-docker-image/116325)

<div class="topic-metadata">

**Author:** [@Bobin\_Jose](https://discuss.elastic.co/u/Bobin_Jose)\
**Replies:** 1\
**Last updated:** [January 20, 2018, 5:08am UTC](https://discuss.elastic.co/t/unable-to-uninstall-x-pack-from-elastic-search-6-1-2-docker-image/116325 "2018-01-20T05:08:15Z")

</div>

I am unable to uninstall x-pack from es 6.1.2 docker image.I have tried with root/elasticsearch user.I am getting the below error message. \[root@e1e91a610ab5 bin\]# ./elasticsearch-plugin remove x-pack --purge -\> remo…

---

## [Elastic hosted Cloud: using CloudID vs URL](https://discuss.elastic.co/t/elastic-hosted-cloud-using-cloudid-vs-url/116308)

<div class="topic-metadata">

**Author:** [@somersr](https://discuss.elastic.co/u/somersr)\
**Replies:** 1\
**Last updated:** [January 20, 2018, 5:07am UTC](https://discuss.elastic.co/t/elastic-hosted-cloud-using-cloudid-vs-url/116308 "2018-01-20T05:07:08Z")

</div>

Hello, I have a question on the hosting. We are planning on using WinLogBeats and MetricBeats to send log/server metric data to elastic search. We plan on creating a cluster from the Elastic offering so we do not have…

---

## [Status: yellow / unassigned\_shards](https://discuss.elastic.co/t/status-yellow-unassigned-shards/116279)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 3\
**Last updated:** [January 19, 2018, 9:07pm UTC](https://discuss.elastic.co/t/status-yellow-unassigned-shards/116279 "2018-01-19T21:07:32Z")

</div>

I'm trying to upgrade my elasticsearch cluster from 6.1.1 to 6.1.2 and even though there are no pending\_tasks anymore (after I switched that node to 6.1.2): # curl --silent --request GET $ELASTICSEARCH\_URI/\_cluster/pend…

---

## [Partial update using script and updating other properties](https://discuss.elastic.co/t/partial-update-using-script-and-updating-other-properties/116294)

<div class="topic-metadata">

**Author:** [@elpaisa](https://discuss.elastic.co/u/elpaisa)\
**Replies:** 0\
**Last updated:** [January 19, 2018, 7:27pm UTC](https://discuss.elastic.co/t/partial-update-using-script-and-updating-other-properties/116294 "2018-01-19T19:27:50Z")

</div>

Hi, i read the docs about update API using scripting, but it seems that i can only execute a doc update or script, but how do i update one property using script and the rest of the document assigning values, within the s…

---

## [Unable to index documents after around 20 million, Spark job fails because of NoNodesLeftException](https://discuss.elastic.co/t/unable-to-index-documents-after-around-20-million-spark-job-fails-because-of-nonodesleftexception/115518)

<div class="topic-metadata">

**Author:** [@Ravi\_Ranjan](https://discuss.elastic.co/u/Ravi_Ranjan)\
**Replies:** 1\
**Last updated:** [January 19, 2018, 6:05pm UTC](https://discuss.elastic.co/t/unable-to-index-documents-after-around-20-million-spark-job-fails-because-of-nonodesleftexception/115518 "2018-01-19T18:05:37Z")

</div>

Hi, I am indexing some 30 million records in Elastic using pyspark. I ran the code and was able to index some 20 million records post which i got the following error: 18/01/15 10:34:42 WARN TaskSetManager: Lost task 1…

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

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