# Elasticsearch

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

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

**Page:** 1787

---

## [Converting bytes to SearchResponse](https://discuss.elastic.co/t/converting-bytes-to-searchresponse/120125)

<div class="topic-metadata">

**Author:** [@ultimate.duwal](https://discuss.elastic.co/u/ultimate.duwal)\
**Replies:** 0\
**Last updated:** [February 16, 2018, 8:51am UTC](https://discuss.elastic.co/t/converting-bytes-to-searchresponse/120125 "2018-02-16T08:51:56Z")

</div>

I am working on a network streaming application and also works as a thin proxy server on top of elasticsearch. The application basically does is query on the ES cluster and then streams the response to a client applicat…

---

## [Geographical queries](https://discuss.elastic.co/t/geographical-queries/120116)

<div class="topic-metadata">

**Author:** [@ftaran](https://discuss.elastic.co/u/ftaran)\
**Replies:** 3\
**Last updated:** [February 16, 2018, 8:37am UTC](https://discuss.elastic.co/t/geographical-queries/120116 "2018-02-16T08:37:25Z")

</div>

I have several questions regarding geographical queries, is it possible when doing a shape or polygon query to use the shape or polygon queries of another document, and not have to pass this information through the ne…

---

## [18MB of data enough to destory ES performance?](https://discuss.elastic.co/t/18mb-of-data-enough-to-destory-es-performance/119928)

<div class="topic-metadata">

**Author:** [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Replies:** 5\
**Last updated:** [February 16, 2018, 8:17am UTC](https://discuss.elastic.co/t/18mb-of-data-enough-to-destory-es-performance/119928 "2018-02-16T08:17:27Z")

</div>

Hi, I'm having some performance issues. I got a index with some netflow data in it and even though the total size is only 18MB, once I try to visualize more than a week of data in Kibana (couple of aggegrations) perform…

---

## [X-pack licence upgrade](https://discuss.elastic.co/t/x-pack-licence-upgrade/119825)

<div class="topic-metadata">

**Author:** [@Adren](https://discuss.elastic.co/u/Adren)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 7:29am UTC](https://discuss.elastic.co/t/x-pack-licence-upgrade/119825 "2018-02-15T07:29:30Z")

</div>

Hello, I want to upgrade the x-pack licence free but every time I use this command I get error: curl -XPUT -u elastic 'http://localhost:9200/\_xpack/license' -H "Content-Type: application/json" -d @adrien-lechantre-81bc…

---

## [Metric aggregation fails in composite aggregation](https://discuss.elastic.co/t/metric-aggregation-fails-in-composite-aggregation/119933)

<div class="topic-metadata">

**Author:** [@freedrikp](https://discuss.elastic.co/u/freedrikp)\
**Replies:** 2\
**Last updated:** [February 16, 2018, 7:23am UTC](https://discuss.elastic.co/t/metric-aggregation-fails-in-composite-aggregation/119933 "2018-02-16T07:23:31Z")

</div>

Hi! I'm using Elasticsearch to store test results of a software. I'm running Elasticsearch on Docker CE with the following configuration: Docker version 17.12.0-ce, build c97c6d6 Ubuntu 14.04.5 LTS 14.04 trusty docke…

---

## [CBOR with Nest and ingest-attachment plugin](https://discuss.elastic.co/t/cbor-with-nest-and-ingest-attachment-plugin/119538)

<div class="topic-metadata">

**Author:** [@sramalin](https://discuss.elastic.co/u/sramalin)\
**Replies:** 2\
**Last updated:** [February 16, 2018, 6:11am UTC](https://discuss.elastic.co/t/cbor-with-nest-and-ingest-attachment-plugin/119538 "2018-02-16T06:11:13Z")

</div>

All, I have tried the following with the Nest client public class Document { \[Text(Ignore = true)\] public string Id { get; set; } public byte\[\] Content { get; set; } public Attachment Attachment { get; …

---

## [How to specify dashboard only access with change password permissions](https://discuss.elastic.co/t/how-to-specify-dashboard-only-access-with-change-password-permissions/118186)

<div class="topic-metadata">

**Author:** [@liz](https://discuss.elastic.co/u/liz)\
**Replies:** 5\
**Last updated:** [February 16, 2018, 5:53am UTC](https://discuss.elastic.co/t/how-to-specify-dashboard-only-access-with-change-password-permissions/118186 "2018-02-16T05:53:54Z")

</div>

I'm currently trying to define roles for the different user types on the system using the Kibana user management interface. I'm struggling to determine the right combination of privileges to achieve the access I require…

---

## [Elasticsearch create multiple .kibana indices](https://discuss.elastic.co/t/elasticsearch-create-multiple-kibana-indices/119950)

<div class="topic-metadata">

**Author:** [@Siddaram\_Jamagav](https://discuss.elastic.co/u/Siddaram_Jamagav)\
**Replies:** 4\
**Last updated:** [February 16, 2018, 5:02am UTC](https://discuss.elastic.co/t/elasticsearch-create-multiple-kibana-indices/119950 "2018-02-16T05:02:43Z")

</div>

Is it possible to create multiple .kibana indices in elastic search?

---

## [Getting Docker error](https://discuss.elastic.co/t/getting-docker-error/120097)

<div class="topic-metadata">

**Author:** [@Bill\_Bell](https://discuss.elastic.co/u/Bill_Bell)\
**Replies:** 1\
**Last updated:** [February 16, 2018, 4:48am UTC](https://discuss.elastic.co/t/getting-docker-error/120097 "2018-02-16T04:48:06Z")

</div>

docker run docker.elastic.co/elasticsearch/elasticsearch:6.2.1 This is causing: Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile docker.elastic.co/el…

---

## [HTML Filter - How do I use it in a search?](https://discuss.elastic.co/t/html-filter-how-do-i-use-it-in-a-search/119138)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Blayney](https://discuss.elastic.co/u/Jeffrey_Blayney)\
**Replies:** 4\
**Last updated:** [February 16, 2018, 1:23am UTC](https://discuss.elastic.co/t/html-filter-how-do-i-use-it-in-a-search/119138 "2018-02-16T01:23:43Z")

</div>

Hola, I'm unsuccessfully trying to use analyzers, with HTML filters, and could use some help. I'm pretty sure I'm missing something fundamental here. Here is my html character filter: "char\_filter" : {…

---

## [How to deal with Indices changes from template to index\_patterns?](https://discuss.elastic.co/t/how-to-deal-with-indices-changes-from-template-to-index-patterns/120091)

<div class="topic-metadata">

**Author:** [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Replies:** 0\
**Last updated:** [February 16, 2018, 1:01am UTC](https://discuss.elastic.co/t/how-to-deal-with-indices-changes-from-template-to-index-patterns/120091 "2018-02-16T01:01:02Z")

</div>

Hello, I'm planning to upgrade from 5.6.2 to 6.2.1 and looking into the cluster checkup on the upgrade assistant I saw that the template field in templates will be no longer used in 6.2.X and that I should use the index…

---

## [Nested vs Encoded Array](https://discuss.elastic.co/t/nested-vs-encoded-array/120089)

<div class="topic-metadata">

**Author:** [@HJewkes](https://discuss.elastic.co/u/HJewkes)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 11:54pm UTC](https://discuss.elastic.co/t/nested-vs-encoded-array/120089 "2018-02-15T23:54:06Z")

</div>

Currently, my mapping queries against an array of nested objects with 3 fields (call them A, B, and C). Our query pattern either filters by (A), by (A & B), or by (A, B, & C). We also may perform a terms aggregation on C…

---

## [Error using multiple geospan queries as bool should clauses](https://discuss.elastic.co/t/error-using-multiple-geospan-queries-as-bool-should-clauses/113945)

<div class="topic-metadata">

**Author:** [@mecco](https://discuss.elastic.co/u/mecco)\
**Replies:** 6\
**Last updated:** [February 15, 2018, 11:17pm UTC](https://discuss.elastic.co/t/error-using-multiple-geospan-queries-as-bool-should-clauses/113945 "2018-02-15T23:17:23Z")

</div>

Hi, I'm trying to return documents that contain a geoshape point which is in any of a given set of pre-indexed areas. To do this, I'm adding 2 geo span queries as should clauses to a bool query. However, I'm receiving a…

---

## [Retrieve multiple values from one field name](https://discuss.elastic.co/t/retrieve-multiple-values-from-one-field-name/120078)

<div class="topic-metadata">

**Author:** [@Ben](https://discuss.elastic.co/u/Ben)\
**Replies:** 3\
**Last updated:** [February 15, 2018, 11:06pm UTC](https://discuss.elastic.co/t/retrieve-multiple-values-from-one-field-name/120078 "2018-02-15T23:06:25Z")

</div>

I have following data in elastic search Index: test-1.2018 Field Name: "test" Field value : "Test" , Test1", "Hello", "Fellow", "And other values" and so forth ... How can I retrieve all the field values of a field ty…

---

## [Nested query against mapped DynamoDb data does not work](https://discuss.elastic.co/t/nested-query-against-mapped-dynamodb-data-does-not-work/120083)

<div class="topic-metadata">

**Author:** [@Pavel\_K](https://discuss.elastic.co/u/Pavel_K)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 10:14pm UTC](https://discuss.elastic.co/t/nested-query-against-mapped-dynamodb-data-does-not-work/120083 "2018-02-15T22:14:44Z")

</div>

I have mapped data from DynamoDb in Elasticsearch. I want to return a document querying it by nested data. And I have a problem with the simplest nested query: { "query": { "nested": { "path": "doc.dynamodb.ne…

---

## [Plugin development issue with new "plugin-classloader" jar in 6.2.0](https://discuss.elastic.co/t/plugin-development-issue-with-new-plugin-classloader-jar-in-6-2-0/119672)

<div class="topic-metadata">

**Author:** [@Simone\_Scarduzio](https://discuss.elastic.co/u/Simone_Scarduzio)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 7:29pm UTC](https://discuss.elastic.co/t/plugin-development-issue-with-new-plugin-classloader-jar-in-6-2-0/119672 "2018-02-15T19:29:06Z")

</div>

Hi guys, is there a way to load lib/plugin-classloader-6.2.0.jar from maven? For my day to day ES plugin development I have a regular Gradle project that depends on compile 'org.elasticsearch:elasticsearch:' + esVersio…

---

## [Elasticsearch get random document, atleast 5 from each category](https://discuss.elastic.co/t/elasticsearch-get-random-document-atleast-5-from-each-category/120015)

<div class="topic-metadata">

**Author:** [@JACK-ARRAY](https://discuss.elastic.co/u/JACK-ARRAY)\
**Replies:** 5\
**Last updated:** [February 15, 2018, 6:47pm UTC](https://discuss.elastic.co/t/elasticsearch-get-random-document-atleast-5-from-each-category/120015 "2018-02-15T18:47:05Z")

</div>

I have 1000 documents with 5 categories. Each category has around 200 documents. I want to pull 30 random documents with at-least 5 from each category. Please suggest me any solution.

---

## [Convert mysql to elasticsearch](https://discuss.elastic.co/t/convert-mysql-to-elasticsearch/120030)

<div class="topic-metadata">

**Author:** [@PauloViegas](https://discuss.elastic.co/u/PauloViegas)\
**Replies:** 1\
**Last updated:** [February 15, 2018, 6:44pm UTC](https://discuss.elastic.co/t/convert-mysql-to-elasticsearch/120030 "2018-02-15T18:44:27Z")

</div>

I try to convert a sql search query to elasticsearch query from elasticsearch documantation, but samething are worng anyone can help me? I have a document with same fields like age and city. i need search a people with …

---

## [Can we combine query\_string and multi\_match queries?](https://discuss.elastic.co/t/can-we-combine-query-string-and-multi-match-queries/118192)

<div class="topic-metadata">

**Author:** [@sps2018](https://discuss.elastic.co/u/sps2018)\
**Replies:** 1\
**Last updated:** [February 15, 2018, 6:34pm UTC](https://discuss.elastic.co/t/can-we-combine-query-string-and-multi-match-queries/118192 "2018-02-15T18:34:34Z")

</div>

Hi, I want to create a query for fetching data from elasticsearch which can search for both single and multi-word queries. For eg, If I search for the keyword : "run" ; it should search for run like Bruno, run, Rune, …

---

## [Elastic Schema for frequently update](https://discuss.elastic.co/t/elastic-schema-for-frequently-update/120052)

<div class="topic-metadata">

**Author:** [@smoqadam](https://discuss.elastic.co/u/smoqadam)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 6:24pm UTC](https://discuss.elastic.co/t/elastic-schema-for-frequently-update/120052 "2018-02-15T18:24:07Z")

</div>

I'm new to elastic and need to know what is the best schema design for an index that need to update frequently. My schema is like this: { "\_index" : "test\_index", "\_type" : "test\_type", "\_id" : "10000", …

---

## [Limit of total fields Error, Correct structure of .Json-File?](https://discuss.elastic.co/t/limit-of-total-fields-error-correct-structure-of-json-file/119994)

<div class="topic-metadata">

**Author:** [@KingPapst](https://discuss.elastic.co/u/KingPapst)\
**Replies:** 3\
**Last updated:** [February 15, 2018, 6:12pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-error-correct-structure-of-json-file/119994 "2018-02-15T18:12:01Z")

</div>

Hello, im new to Elasticsearch. I got .json -Files from scraping a finances page. They can look like this: { "1. Information": "Daily Prices (open, high, low, close) and Volumes", "2. Symbol": "MMM", "3…

---

## [How to improve bulk indexing of huge amount of docs](https://discuss.elastic.co/t/how-to-improve-bulk-indexing-of-huge-amount-of-docs/120008)

<div class="topic-metadata">

**Author:** [@ROHANIL\_RAJE](https://discuss.elastic.co/u/ROHANIL_RAJE)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 2:39pm UTC](https://discuss.elastic.co/t/how-to-improve-bulk-indexing-of-huge-amount-of-docs/120008 "2018-02-15T14:39:14Z")

</div>

Currently, I am using Elasticsearch 5.6 as a data store for my go application. I have a million documents spread in 12 indices. Each index has 5 shards and 2 replicas and they all are running on 4 nodes. First, I load th…

---

## [Newline is missing when adding file in bulk API](https://discuss.elastic.co/t/newline-is-missing-when-adding-file-in-bulk-api/120018)

<div class="topic-metadata">

**Author:** [@tomak](https://discuss.elastic.co/u/tomak)\
**Replies:** 5\
**Last updated:** [February 15, 2018, 5:41pm UTC](https://discuss.elastic.co/t/newline-is-missing-when-adding-file-in-bulk-api/120018 "2018-02-15T17:41:41Z")

</div>

I want to add the following line which is in a separate JSON file using the bulk API {"index":{"\_id":"53e23f5ae4b0ef99cb360835"}} I use the command curl -XPOST -H 'Content-Type: application/json' localhost:9200/cheape…

---

## [General Data Protection Regulation (GDPR)](https://discuss.elastic.co/t/general-data-protection-regulation-gdpr/93570)

<div class="topic-metadata">

**Author:** [@sihil](https://discuss.elastic.co/u/sihil)\
**Replies:** 5\
**Last updated:** [February 15, 2018, 5:33pm UTC](https://discuss.elastic.co/t/general-data-protection-regulation-gdpr/93570 "2018-02-15T17:33:59Z")

</div>

Hi there, Has anyone done much analysis on the readiness of ElasticSearch for the EU GDPR legislation coming into force next year? As I understand it, GDPR mandates encryption at rest and encryption in transit. The …

---

## [Measuring traffic to Nodes?](https://discuss.elastic.co/t/measuring-traffic-to-nodes/120039)

<div class="topic-metadata">

**Author:** [@corona](https://discuss.elastic.co/u/corona)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 5:15pm UTC](https://discuss.elastic.co/t/measuring-traffic-to-nodes/120039 "2018-02-15T17:15:27Z")

</div>

Can you provide some advice on measuring incoming http traffic to ES nodes? I'm curious to know if specific servers/nodes in my cluster are receiving more traffic than others. I looked at the nodes stats but nothing real…

---

## [Elasticserach failed to start](https://discuss.elastic.co/t/elasticserach-failed-to-start/120032)

<div class="topic-metadata">

**Author:** [@nodesolaa](https://discuss.elastic.co/u/nodesolaa)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 4:56pm UTC](https://discuss.elastic.co/t/elasticserach-failed-to-start/120032 "2018-02-15T16:56:19Z")

</div>

I'm having difficulty starting elasticsearch on my windows server. It keeps saying "Windows could not start the Elasticsearch 6.1.1 on Local Computer. I removed and installed again, still couldn't start it. Any help?

---

## [Forward slash and query\_string](https://discuss.elastic.co/t/forward-slash-and-query-string/120028)

<div class="topic-metadata">

**Author:** [@Marc\_Magnin](https://discuss.elastic.co/u/Marc_Magnin)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 4:49pm UTC](https://discuss.elastic.co/t/forward-slash-and-query-string/120028 "2018-02-15T16:49:03Z")

</div>

I have a couple of documents such as: {"n": "disk\_Free{hostname='woot',mountpoint='/run'}"} {"n": "disk\_Free{hostname='woot',mountpoint='/run/lock'}"} I'd like to select solely: {"n": "disk\_Free{hostname='woot',mountp…

---

## [How to pass 2 values or More to Search Using \*\*Nest\*\* in .Net](https://discuss.elastic.co/t/how-to-pass-2-values-or-more-to-search-using-nest-in-net/119934)

<div class="topic-metadata">

**Author:** [@saineshwar\_bageri](https://discuss.elastic.co/u/saineshwar_bageri)\
**Replies:** 7\
**Last updated:** [February 15, 2018, 4:40pm UTC](https://discuss.elastic.co/t/how-to-pass-2-values-or-more-to-search-using-nest-in-net/119934 "2018-02-15T16:40:06Z")

</div>

How to pass 2 values or More to Search Using Nest in .Net I have Tried below Code Snippet. But it wont show Accurate Result ,Please Guide Me in this. string query1 = "fullname=" + applicantname + "AND district=" + "AKO…

---

## [Exception in thread "main" java.lang.IllegalStateException: Unsupported transport.type \[netty4\]](https://discuss.elastic.co/t/exception-in-thread-main-java-lang-illegalstateexception-unsupported-transport-type-netty4/119996)

<div class="topic-metadata">

**Author:** [@sathish\_AH\_Kumar](https://discuss.elastic.co/u/sathish_AH_Kumar)\
**Replies:** 1\
**Last updated:** [February 15, 2018, 4:21pm UTC](https://discuss.elastic.co/t/exception-in-thread-main-java-lang-illegalstateexception-unsupported-transport-type-netty4/119996 "2018-02-15T16:21:58Z")

</div>

Am trying to connect our ES from Java App using TransportClient. ES Version 6.1.0 POM: \<dependency\> \<groupId\>org.elasticsearch\</groupId\> \<artifactId\>elasticsearch\</artifactId\> \<version\>6.1.0\</version\> \</dependency\> …

---

## [Elasticsearch indices are now jiberish](https://discuss.elastic.co/t/elasticsearch-indices-are-now-jiberish/119693)

<div class="topic-metadata">

**Author:** [@motts](https://discuss.elastic.co/u/motts)\
**Replies:** 4\
**Last updated:** [February 15, 2018, 3:27pm UTC](https://discuss.elastic.co/t/elasticsearch-indices-are-now-jiberish/119693 "2018-02-15T15:27:06Z")

</div>

Hello, I am upgrading Elastic Stack from 2.4 to 5.6. I came across some bumps, but nothing I couldn't handle until now. it appears that all the indices are now a bunch of random characters. I am not sure if I messed som…

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

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