# Elasticsearch

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

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

**Page:** 1938

---

## [Problem in installing ingest attachment plugin ES 5.5.1](https://discuss.elastic.co/t/problem-in-installing-ingest-attachment-plugin-es-5-5-1/102093)

<div class="topic-metadata">

**Author:** [@Aamir](https://discuss.elastic.co/u/Aamir)\
**Replies:** 1\
**Last updated:** [September 28, 2017, 10:43am UTC](https://discuss.elastic.co/t/problem-in-installing-ingest-attachment-plugin-es-5-5-1/102093 "2017-09-28T10:43:53Z")

</div>

Hey, i am facing below exception while installing ingest attachment on windows 10 elasticsearch\\bin \> elasticsearch-plugin install ingest-attachment Exception in thread "main" javax.net.ssl.SSLHandshakeException: sun…

---

## [Kibana showing cluster unavailable](https://discuss.elastic.co/t/kibana-showing-cluster-unavailable/102010)

<div class="topic-metadata">

**Author:** [@tcouto](https://discuss.elastic.co/u/tcouto)\
**Replies:** 3\
**Last updated:** [September 28, 2017, 8:58am UTC](https://discuss.elastic.co/t/kibana-showing-cluster-unavailable/102010 "2017-09-28T08:58:09Z")

</div>

Hi, on my elastic cloud instance 3a50eb, when I try to get to the kibana dashboard I get the following message. {"ok":false,"message":"The requested cluster is currently unavailable"}

---

## [Hide index patterns depending the user connected x-pack](https://discuss.elastic.co/t/hide-index-patterns-depending-the-user-connected-x-pack/100786)

<div class="topic-metadata">

**Author:** [@Ahmed\_Kdh](https://discuss.elastic.co/u/Ahmed_Kdh)\
**Replies:** 2\
**Last updated:** [September 28, 2017, 8:54am UTC](https://discuss.elastic.co/t/hide-index-patterns-depending-the-user-connected-x-pack/100786 "2017-09-28T08:54:08Z")

</div>

Hello, I'm using elasticsearch 5.6.0, Kibana 5.6.0 and X-pack plugin. I would like to know if it is possible (with only one kibana instance) to hide some index patterns depending on the user connected ? Example : Ther…

---

## [Is ML feature free and Python?](https://discuss.elastic.co/t/is-ml-feature-free-and-python/102078)

<div class="topic-metadata">

**Author:** [@frozenshine1](https://discuss.elastic.co/u/frozenshine1)\
**Replies:** 3\
**Last updated:** [September 28, 2017, 8:48am UTC](https://discuss.elastic.co/t/is-ml-feature-free-and-python/102078 "2017-09-28T08:48:30Z")

</div>

Hi, Could anyone kindly tell me if the machine learning feature X-pack is freely available , without any trail basis ? How can we use Python along with ML feature of X-pack in ELK stack ? Best, Amna

---

## [Keyword search with phonetic](https://discuss.elastic.co/t/keyword-search-with-phonetic/102069)

<div class="topic-metadata">

**Author:** [@Davood1659](https://discuss.elastic.co/u/Davood1659)\
**Replies:** 1\
**Last updated:** [September 28, 2017, 8:32am UTC](https://discuss.elastic.co/t/keyword-search-with-phonetic/102069 "2017-09-28T08:32:36Z")

</div>

Hi, I have a search case that I want to find documents that a specific term(word) has been repeated twice or more in a specific field of those documents. Some queries like Match query doesn't work in such a this situati…

---

## [Is ML mainly for tracking anomalies?](https://discuss.elastic.co/t/is-ml-mainly-for-tracking-anomalies/101896)

<div class="topic-metadata">

**Author:** [@seanziee](https://discuss.elastic.co/u/seanziee)\
**Replies:** 4\
**Last updated:** [September 28, 2017, 6:27am UTC](https://discuss.elastic.co/t/is-ml-mainly-for-tracking-anomalies/101896 "2017-09-28T06:27:36Z")

</div>

I'm getting started with Machine Learning with x-pack and it seems like the main capacity of it is to see anomalies, which I'm not in dire need of. I'm not sure if ML can help me with my use case so I'd appreciate if any…

---

## [EsHadoopInvalidRequest Batch size is too large](https://discuss.elastic.co/t/eshadoopinvalidrequest-batch-size-is-too-large/101982)

<div class="topic-metadata">

**Author:** [@drippel](https://discuss.elastic.co/u/drippel)\
**Replies:** 1\
**Last updated:** [September 28, 2017, 5:03am UTC](https://discuss.elastic.co/t/eshadoopinvalidrequest-batch-size-is-too-large/101982 "2017-09-28T05:03:59Z")

</div>

When running a query on es-hadoop 5.5.2 from Scala code, which is expected to return 20,000 results: val esRDD = sc.esDF(resource, searchRequest).rdd I get the following error when I run collect() or count() on the res…

---

## [Export time series query before upgrade from 5.4.3 to 5.5](https://discuss.elastic.co/t/export-time-series-query-before-upgrade-from-5-4-3-to-5-5/102059)

<div class="topic-metadata">

**Author:** [@pcouas](https://discuss.elastic.co/u/pcouas)\
**Replies:** 0\
**Last updated:** [September 28, 2017, 4:50am UTC](https://discuss.elastic.co/t/export-time-series-query-before-upgrade-from-5-4-3-to-5-5/102059 "2017-09-28T04:50:34Z")

</div>

Hi, How could i export time series query before upgrade from 5.4.3 to 5.5 ? Regards Phil

---

## [The requested cluster is currently unavailable ID 3fd386](https://discuss.elastic.co/t/the-requested-cluster-is-currently-unavailable-id-3fd386/102028)

<div class="topic-metadata">

**Author:** [@egarl004](https://discuss.elastic.co/u/egarl004)\
**Replies:** 1\
**Last updated:** [September 28, 2017, 4:25am UTC](https://discuss.elastic.co/t/the-requested-cluster-is-currently-unavailable-id-3fd386/102028 "2017-09-28T04:25:14Z")

</div>

Elastic Cloud Issue Attempting to access kibana and receive this message {"ok":false,"message":"The requested cluster is currently unavailable"} Attempted an upgrade today and elastic and kibana seem to be down. messa…

---

## [ES 2.3.3 to ES 5.5.3](https://discuss.elastic.co/t/es-2-3-3-to-es-5-5-3/102057)

<div class="topic-metadata">

**Author:** [@ctayal1211](https://discuss.elastic.co/u/ctayal1211)\
**Replies:** 0\
**Last updated:** [September 28, 2017, 4:09am UTC](https://discuss.elastic.co/t/es-2-3-3-to-es-5-5-3/102057 "2017-09-28T04:09:21Z")

</div>

Hi, I am new to elasticsearch, I am currently using es 5.5.3. I have previous code which was using ES 2.3.3 and it was doing following It created .kibana index in ES, after that it is creating .kibana/index-pattern/epl…

---

## [Http.enabled with ESIntegTestCase](https://discuss.elastic.co/t/http-enabled-with-esintegtestcase/102032)

<div class="topic-metadata">

**Author:** [@hanisaf](https://discuss.elastic.co/u/hanisaf)\
**Replies:** 3\
**Last updated:** [September 28, 2017, 3:57am UTC](https://discuss.elastic.co/t/http-enabled-with-esintegtestcase/102032 "2017-09-28T03:57:39Z")

</div>

I'm new to writing elastic search plugin and I am still getting through the basics. I'd like to be able to test and debug my plugin from IDE. I rely on breakpoints and tracing the code to figure out what is going on. I …

---

## [Accumulating watches for cluster status](https://discuss.elastic.co/t/accumulating-watches-for-cluster-status/102053)

<div class="topic-metadata">

**Author:** [@cehoffman](https://discuss.elastic.co/u/cehoffman)\
**Replies:** 1\
**Last updated:** [September 28, 2017, 3:12am UTC](https://discuss.elastic.co/t/accumulating-watches-for-cluster-status/102053 "2017-09-28T03:12:25Z")

</div>

I'm not too familiar with what exactly xpack sets up in terms of monitoring and how it interplays with the watcher api. But since the upgrade from 5.2.2 to 5.6 the install has degraded in performance and this excerpt fro…

---

## [Allow the reverse token filter to be used in normalizers?](https://discuss.elastic.co/t/allow-the-reverse-token-filter-to-be-used-in-normalizers/102038)

<div class="topic-metadata">

**Author:** [@apang](https://discuss.elastic.co/u/apang)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 10:17pm UTC](https://discuss.elastic.co/t/allow-the-reverse-token-filter-to-be-used-in-normalizers/102038 "2017-09-27T22:17:44Z")

</div>

I was trying to index a "keyword" datatype field by its reversal in a multi-field mapping but it seems that the reverse token filter is not allowed in a normalizer. I wanted to enable a "suffix query" (ends with) withou…

---

## [Example code for a X-Pack Custom Roles Provider Extension](https://discuss.elastic.co/t/example-code-for-a-x-pack-custom-roles-provider-extension/102037)

<div class="topic-metadata">

**Author:** [@jagrutsharma](https://discuss.elastic.co/u/jagrutsharma)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 10:07pm UTC](https://discuss.elastic.co/t/example-code-for-a-x-pack-custom-roles-provider-extension/102037 "2017-09-27T22:07:08Z")

</div>

Hi - Looking for a reference implementation for a custom roles provider extension for X-Pack. This link discusses the approach: \[https://www.elastic.co/guide/en/x-pack/5.4/custom-roles-provider.html\] Thanks a lot.

---

## [How to get Minimum 4 results of each Term in my Query](https://discuss.elastic.co/t/how-to-get-minimum-4-results-of-each-term-in-my-query/102035)

<div class="topic-metadata">

**Author:** [@sayshay](https://discuss.elastic.co/u/sayshay)\
**Replies:** 1\
**Last updated:** [September 27, 2017, 10:00pm UTC](https://discuss.elastic.co/t/how-to-get-minimum-4-results-of-each-term-in-my-query/102035 "2017-09-27T22:00:31Z")

</div>

Hi, My mapping looks like this: address text author text category text description text type text Where type can be a Collection, Content, Event, Tool. How can I make sure query will return at least 4 of each to…

---

## [Shards left out by Scroll calls](https://discuss.elastic.co/t/shards-left-out-by-scroll-calls/102021)

<div class="topic-metadata">

**Author:** [@Fritz](https://discuss.elastic.co/u/Fritz)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 7:35pm UTC](https://discuss.elastic.co/t/shards-left-out-by-scroll-calls/102021 "2017-09-27T19:35:43Z")

</div>

Hi folks, I use a scroll query issued via Nest to iterate through a large number of documents in an index, page by page. The batch size size is set to 100, therefore each scroll query page in turn returns (N \* batch\_siz…

---

## [MUST\_NOT not working with EXIST in NESTED query](https://discuss.elastic.co/t/must-not-not-working-with-exist-in-nested-query/101952)

<div class="topic-metadata">

**Author:** [@jlp1](https://discuss.elastic.co/u/jlp1)\
**Replies:** 1\
**Last updated:** [September 27, 2017, 6:29pm UTC](https://discuss.elastic.co/t/must-not-not-working-with-exist-in-nested-query/101952 "2017-09-27T18:29:35Z")

</div>

ES 5.2.2 Here is my mapping: PUT players { "mappings": { "players": { "properties": { "features": { "type": "nested", "properties": { "name"…

---

## [When indexing a VERY large text document (50 to 200MB) NEST throws WebException: The request was aborted: The request was canceled](https://discuss.elastic.co/t/when-indexing-a-very-large-text-document-50-to-200mb-nest-throws-webexception-the-request-was-aborted-the-request-was-canceled/101617)

<div class="topic-metadata">

**Author:** [@RajPwC](https://discuss.elastic.co/u/RajPwC)\
**Replies:** 6\
**Last updated:** [September 27, 2017, 4:55pm UTC](https://discuss.elastic.co/t/when-indexing-a-very-large-text-document-50-to-200mb-nest-throws-webexception-the-request-was-aborted-the-request-was-canceled/101617 "2017-09-27T16:55:01Z")

</div>

Hello, I have an ETL tool that transforms Office documents to text and indexes them into ElasticSearch. My documents sizes range very widely from a few kb to 500mb. When my document is very large, I get Web exceptions…

---

## [S3 No Such Key when restoring snapshot in 5.x with base\_path](https://discuss.elastic.co/t/s3-no-such-key-when-restoring-snapshot-in-5-x-with-base-path/102006)

<div class="topic-metadata">

**Author:** [@pykler](https://discuss.elastic.co/u/pykler)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 3:55pm UTC](https://discuss.elastic.co/t/s3-no-such-key-when-restoring-snapshot-in-5-x-with-base-path/102006 "2017-09-27T15:55:06Z")

</div>

I have a base path in Elasticsearch settings as follows "/es/sdb/" I understand that it is not supposed to have the leading "/" since it is deprecated, what about the trailing slash? Also with that setting I am getting a…

---

## [GCS repository plugin - restart node (docker)](https://discuss.elastic.co/t/gcs-repository-plugin-restart-node-docker/102004)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 3:48pm UTC](https://discuss.elastic.co/t/gcs-repository-plugin-restart-node-docker/102004 "2017-09-27T15:48:57Z")

</div>

I'm used following Install Elasticsearch with Docker | Elasticsearch Reference \[5.6\] | Elastic to span up elasticsearch cluster and now trying to integrate Google Cloud Storage Repository Plugin | Elasticsearch Plugins a…

---

## [Elasticsearch curator problem](https://discuss.elastic.co/t/elasticsearch-curator-problem/101975)

<div class="topic-metadata">

**Author:** [@Benoit\_Martin](https://discuss.elastic.co/u/Benoit_Martin)\
**Replies:** 5\
**Last updated:** [September 27, 2017, 3:48pm UTC](https://discuss.elastic.co/t/elasticsearch-curator-problem/101975 "2017-09-27T15:48:01Z")

</div>

Hi, I use curator to delete older log. It's working for all index but that index name not working. %{\[@metadata\]\[beat\]}- --- # Remember, leave a key empty if there is no value. None will be a string, # not a Python…

---

## [No search type for \[count\]](https://discuss.elastic.co/t/no-search-type-for-count/101994)

<div class="topic-metadata">

**Author:** [@tomer](https://discuss.elastic.co/u/tomer)\
**Replies:** 3\
**Last updated:** [September 27, 2017, 2:49pm UTC](https://discuss.elastic.co/t/no-search-type-for-count/101994 "2017-09-27T14:49:31Z")

</div>

Hi, I am making a query with the following header: "POST /test/\_search?search\_type=count" as I saw in this question, but it results with the following exception: { "error": { "root\_cause": \[ { "type": "illegal…

---

## [Pre-aggregate docs on indexing](https://discuss.elastic.co/t/pre-aggregate-docs-on-indexing/101663)

<div class="topic-metadata">

**Author:** [@shaharmor](https://discuss.elastic.co/u/shaharmor)\
**Replies:** 5\
**Last updated:** [September 27, 2017, 12:13pm UTC](https://discuss.elastic.co/t/pre-aggregate-docs-on-indexing/101663 "2017-09-27T12:13:53Z")

</div>

Hi, We are currently indexing around 1B docs/day which is becoming very inefficient when searching. A suggested solution was to index every document in to its 1m, 1h, 1d intervals (Aggregated) so when searching, we can…

---

## [Nested Query Against Different Index Mappings using ignore\_unmapped](https://discuss.elastic.co/t/nested-query-against-different-index-mappings-using-ignore-unmapped/101716)

<div class="topic-metadata">

**Author:** [@ymao](https://discuss.elastic.co/u/ymao)\
**Replies:** 1\
**Last updated:** [September 27, 2017, 11:46am UTC](https://discuss.elastic.co/t/nested-query-against-different-index-mappings-using-ignore-unmapped/101716 "2017-09-27T11:46:43Z")

</div>

Related to this discussion: Nested query and ignore\_unmapped option problem Hi, Using ES 5.6.1, I am trying to make a single query to multiple indices that have slightly different index mappings for a field. One index …

---

## [Number\_format\_exception when querying field with long type using string](https://discuss.elastic.co/t/number-format-exception-when-querying-field-with-long-type-using-string/101972)

<div class="topic-metadata">

**Author:** [@fanfilmu](https://discuss.elastic.co/u/fanfilmu)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 11:27am UTC](https://discuss.elastic.co/t/number-format-exception-when-querying-field-with-long-type-using-string/101972 "2017-09-27T11:27:35Z")

</div>

Hi! I have a problem with querying one of the fields in my index. It seems to be quite similar to this: Problems with Query\_String and different field types , but it's an old issue so I wanted to create new one. Elast…

---

## [Logstash input Elasticsearch plugin error](https://discuss.elastic.co/t/logstash-input-elasticsearch-plugin-error/101702)

<div class="topic-metadata">

**Author:** [@kabali12345](https://discuss.elastic.co/u/kabali12345)\
**Replies:** 1\
**Last updated:** [September 27, 2017, 11:07am UTC](https://discuss.elastic.co/t/logstash-input-elasticsearch-plugin-error/101702 "2017-09-27T11:07:53Z")

</div>

Hi all.... Here i am trying to load elasticsearch data into anther elasticsearch or a file but the problem is in my input elasticsearch index i have 1000 docs when it comes to output elasticsearch index i am getting …

---

## [Implement with source code](https://discuss.elastic.co/t/implement-with-source-code/101967)

<div class="topic-metadata">

**Author:** [@poojagupta](https://discuss.elastic.co/u/poojagupta)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 10:51am UTC](https://discuss.elastic.co/t/implement-with-source-code/101967 "2017-09-27T10:51:36Z")

</div>

Hi Group, I have to set up Elasticsearch+kibana+ logstash using source code on Centos. But i am facing issues . followed the below links for set up but still not able to do to that. Please help me and suggest so…

---

## [Import/Export elastic DB data](https://discuss.elastic.co/t/import-export-elastic-db-data/101782)

<div class="topic-metadata">

**Author:** [@blueren](https://discuss.elastic.co/u/blueren)\
**Replies:** 2\
**Last updated:** [September 27, 2017, 10:27am UTC](https://discuss.elastic.co/t/import-export-elastic-db-data/101782 "2017-09-27T10:27:17Z")

</div>

Hi, I have a moderate amount of netflow data present in my local instance of elasicsearch DB. I would like to export all of this data on to a fresh instance of elasticsearch present in a testing machine. Is there a way …

---

## [What is the proper way to handle conflicts in "scripted\_upsert"?](https://discuss.elastic.co/t/what-is-the-proper-way-to-handle-conflicts-in-scripted-upsert/101964)

<div class="topic-metadata">

**Author:** [@mats990](https://discuss.elastic.co/u/mats990)\
**Replies:** 0\
**Last updated:** [September 27, 2017, 10:11am UTC](https://discuss.elastic.co/t/what-is-the-proper-way-to-handle-conflicts-in-scripted-upsert/101964 "2017-09-27T10:11:29Z")

</div>

I'm trying to write script using "scripted\_upsert" flag on ES 2.3.4. I'm wondering how should I handle external versions. Is it a good practice to verify versions in a script? If it's not a good practice, how to verify…

---

## [Need some help on to query ES using java Transport client](https://discuss.elastic.co/t/need-some-help-on-to-query-es-using-java-transport-client/101785)

<div class="topic-metadata">

**Author:** [@kedarsdixit](https://discuss.elastic.co/u/kedarsdixit)\
**Replies:** 12\
**Last updated:** [September 27, 2017, 10:10am UTC](https://discuss.elastic.co/t/need-some-help-on-to-query-es-using-java-transport-client/101785 "2017-09-27T10:10:14Z")

</div>

Need some help on to query ES using java Transport client. I need to apply few filter conditions and also select only few fields from the ES. Example: Let's say, I have many fields in the documents as below and I have @…

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

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