# Elasticsearch

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

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

**Page:** 1948

---

## [Slicing in Delete By Query API not available in NEST](https://discuss.elastic.co/t/slicing-in-delete-by-query-api-not-available-in-nest/100194)

<div class="topic-metadata">

**Author:** [@mh\_men](https://discuss.elastic.co/u/mh_men)\
**Replies:** 1\
**Last updated:** [September 18, 2017, 3:46am UTC](https://discuss.elastic.co/t/slicing-in-delete-by-query-api-not-available-in-nest/100194 "2017-09-18T03:46:40Z")

</div>

Hi, slices parameter in Delete By Query is available in REST API, but I cannot find the slices parameter in NEST How's that? Thanks in advance

---

## [Nest wildcard exception](https://discuss.elastic.co/t/nest-wildcard-exception/100357)

<div class="topic-metadata">

**Author:** [@aslamy](https://discuss.elastic.co/u/aslamy)\
**Replies:** 1\
**Last updated:** [September 18, 2017, 3:20am UTC](https://discuss.elastic.co/t/nest-wildcard-exception/100357 "2017-09-18T03:20:58Z")

</div>

I have a wildcard query like: .Query(q =\> q .Bool(b =\> b .Should(s =\> s.Wildcard(w=\>w .Field(f=\>f.Title) .Value("boo\*") .Rewrite(MultiTermQueryRe…

---

## [Dynamic template, don't want field to be analyzed, only want keyword subfield](https://discuss.elastic.co/t/dynamic-template-dont-want-field-to-be-analyzed-only-want-keyword-subfield/100810)

<div class="topic-metadata">

**Author:** [@ankh](https://discuss.elastic.co/u/ankh)\
**Replies:** 0\
**Last updated:** [September 18, 2017, 3:03am UTC](https://discuss.elastic.co/t/dynamic-template-dont-want-field-to-be-analyzed-only-want-keyword-subfield/100810 "2017-09-18T03:03:17Z")

</div>

We're using a dynamic template to specify mapping for certain fields in our index. Most text fields are not mentioned in the template, and get the default mapping to an analyzed field and a keyword subfield: …

---

## [Forcemerge and mark\_cold to move the cold nodes ,which operation should be done first?](https://discuss.elastic.co/t/forcemerge-and-mark-cold-to-move-the-cold-nodes-which-operation-should-be-done-first/100807)

<div class="topic-metadata">

**Author:** [@John\_ax](https://discuss.elastic.co/u/John_ax)\
**Replies:** 1\
**Last updated:** [September 18, 2017, 2:32am UTC](https://discuss.elastic.co/t/forcemerge-and-mark-cold-to-move-the-cold-nodes-which-operation-should-be-done-first/100807 "2017-09-18T02:32:36Z")

</div>

Hi,I am using ES 5.5 with the hot-cold architecture, by marking indices cold, he transfer indices to the cold nodes from hot nodes automatically. there are some daily jobs, like forcemerge and mark\_cold to move the col…

---

## [Docker proxy cache registry for docker.elastic.co](https://discuss.elastic.co/t/docker-proxy-cache-registry-for-docker-elastic-co/100283)

<div class="topic-metadata">

**Author:** [@otep.fabales](https://discuss.elastic.co/u/otep.fabales)\
**Replies:** 1\
**Last updated:** [September 18, 2017, 2:16am UTC](https://discuss.elastic.co/t/docker-proxy-cache-registry-for-docker-elastic-co/100283 "2017-09-18T02:16:03Z")

</div>

Hi, We have a docker proxy cache configured which points to docker hub's registry but since elasticsearch is now officially on docker.elastic.co, how can we configure the proxy cache to connect to elastic.co's docker re…

---

## [Elasticsearch won't start after X-pack installation](https://discuss.elastic.co/t/elasticsearch-wont-start-after-x-pack-installation/100784)

<div class="topic-metadata">

**Author:** [@eebee](https://discuss.elastic.co/u/eebee)\
**Replies:** 1\
**Last updated:** [September 18, 2017, 12:20am UTC](https://discuss.elastic.co/t/elasticsearch-wont-start-after-x-pack-installation/100784 "2017-09-18T00:20:45Z")

</div>

I've upgraded my Elasticsearch installation to 5.6 and now I want to install X-pack. But I get this error message. \[2017-09-17T09:39:47,937\]\[WARN \]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[\] uncaught exception in t…

---

## [Sort property into document with levenshtein?](https://discuss.elastic.co/t/sort-property-into-document-with-levenshtein/100801)

<div class="topic-metadata">

**Author:** [@hekiel](https://discuss.elastic.co/u/hekiel)\
**Replies:** 0\
**Last updated:** [September 17, 2017, 6:15pm UTC](https://discuss.elastic.co/t/sort-property-into-document-with-levenshtein/100801 "2017-09-17T18:15:00Z")

</div>

Hi everyone, I really need help with elastic, i have for example a document like this : { name: "Web developer" tags: { "Web developer", "IT Technician", "Data processing", "Webs…

---

## [Context suggester or just a seach filter query?](https://discuss.elastic.co/t/context-suggester-or-just-a-seach-filter-query/100794)

<div class="topic-metadata">

**Author:** [@tjh](https://discuss.elastic.co/u/tjh)\
**Replies:** 0\
**Last updated:** [September 17, 2017, 2:34pm UTC](https://discuss.elastic.co/t/context-suggester-or-just-a-seach-filter-query/100794 "2017-09-17T14:34:45Z")

</div>

Dear all, What is the difference between a context suggester like this (NOTE that user\_location path field must be a TEXT field -\> is this intended???) GET re\_ab\_callreports\_new/\_search { "\_source": "false", "size":…

---

## [API. How can I add indexes to a role?](https://discuss.elastic.co/t/api-how-can-i-add-indexes-to-a-role/100748)

<div class="topic-metadata">

**Author:** [@rebirther](https://discuss.elastic.co/u/rebirther)\
**Replies:** 2\
**Last updated:** [September 17, 2017, 2:00pm UTC](https://discuss.elastic.co/t/api-how-can-i-add-indexes-to-a-role/100748 "2017-09-17T14:00:59Z")

</div>

Hello guys Suppose there is a role: Summary #GET /\_xpack/security/role/role-name { "role-name": { "cluster": \[ "monitor", "manage\_index\_templates" \], "indices": \[ { "names": \[…

---

## [More Like This and shingles / phrases](https://discuss.elastic.co/t/more-like-this-and-shingles-phrases/100775)

<div class="topic-metadata">

**Author:** [@james.daily](https://discuss.elastic.co/u/james.daily)\
**Replies:** 1\
**Last updated:** [September 17, 2017, 3:34am UTC](https://discuss.elastic.co/t/more-like-this-and-shingles-phrases/100775 "2017-09-17T03:34:01Z")

</div>

Is it possible to combine shingles with a More Like This query? I added a custom shingles analyzer to my index, but MLT queries do not seem to use the shingles field. Being able to combine these is extremely important …

---

## [Nested Sort Not Working with query\_string?](https://discuss.elastic.co/t/nested-sort-not-working-with-query-string/100767)

<div class="topic-metadata">

**Author:** [@rjaeger](https://discuss.elastic.co/u/rjaeger)\
**Replies:** 0\
**Last updated:** [September 16, 2017, 2:38pm UTC](https://discuss.elastic.co/t/nested-sort-not-working-with-query-string/100767 "2017-09-16T14:38:47Z")

</div>

Thoughts on this? When running this query: { "query": { "bool": { "must": \[ { "query\_string": { "query" : "\*" } }\] } } , "sort": \[ { "values.value.keyword" : { "order" : "asc", "n…

---

## [How read or analyze content of state.st file?](https://discuss.elastic.co/t/how-read-or-analyze-content-of-state-st-file/100249)

<div class="topic-metadata">

**Author:** [@vsevolodk](https://discuss.elastic.co/u/vsevolodk)\
**Replies:** 2\
**Last updated:** [September 16, 2017, 8:55am UTC](https://discuss.elastic.co/t/how-read-or-analyze-content-of-state-st-file/100249 "2017-09-16T08:55:45Z")

</div>

Hi, please help. I got excetion on elasticsearch 2.3.5 (lucen 5.5.0) Caused by: java.io.IOException: failed to read \[id:1, legacy:false, file:/esdata/elasticsearch/nodes/0/indices/ta4TwW\_jS1WJl7PhghEW-Q/\_state/state-1.…

---

## [Search with wildcard in variable name](https://discuss.elastic.co/t/search-with-wildcard-in-variable-name/100755)

<div class="topic-metadata">

**Author:** [@tbody](https://discuss.elastic.co/u/tbody)\
**Replies:** 0\
**Last updated:** [September 16, 2017, 7:34am UTC](https://discuss.elastic.co/t/search-with-wildcard-in-variable-name/100755 "2017-09-16T07:34:29Z")

</div>

Hello, I have following data structure in elasticsearch: { object\_name : "test1", src.elastic\_variable\_1 : "info1", src.elastic\_variable\_2 : "info2", src.elastic\_variable\_3 : "info1", dst.elastic\_variable\_1 : "inf…

---

## [How to monitor java threads and ActiveMQ](https://discuss.elastic.co/t/how-to-monitor-java-threads-and-activemq/99087)

<div class="topic-metadata">

**Author:** [@vinay\_garg](https://discuss.elastic.co/u/vinay_garg)\
**Replies:** 6\
**Last updated:** [September 16, 2017, 5:25am UTC](https://discuss.elastic.co/t/how-to-monitor-java-threads-and-activemq/99087 "2017-09-16T05:25:36Z")

</div>

Hi Team, Currently i’m using Kibana,Elasticsearch,Logstash 5.5.2. Can any suggest how can i monitor ActiveMQ and threads by ELK? I have multiple routes in my fuse environment. I have to monitor each route threads using…

---

## [Question about accessing index statistics in ElasticSearch 5.4.0](https://discuss.elastic.co/t/question-about-accessing-index-statistics-in-elasticsearch-5-4-0/100727)

<div class="topic-metadata">

**Author:** [@mickeystroller](https://discuss.elastic.co/u/mickeystroller)\
**Replies:** 1\
**Last updated:** [September 16, 2017, 2:04am UTC](https://discuss.elastic.co/t/question-about-accessing-index-statistics-in-elasticsearch-5-4-0/100727 "2017-09-16T02:04:53Z")

</div>

Hi all, I want to make sure my understanding is correct. In ES 5.4.0, the only way to access index statistics in scripts is to write a custom ScriptEngine which can only be written in Java. If that is the case, I want t…

---

## [Multi field with multiple values](https://discuss.elastic.co/t/multi-field-with-multiple-values/100739)

<div class="topic-metadata">

**Author:** [@seperman](https://discuss.elastic.co/u/seperman)\
**Replies:** 0\
**Last updated:** [September 15, 2017, 11:56pm UTC](https://discuss.elastic.co/t/multi-field-with-multiple-values/100739 "2017-09-15T23:56:05Z")

</div>

Hello, I currently have fields like: 'stuff': { 'type': 'text', 'analyzer': 'snowball', 'fields': { 'raw': {'type': 'keyword'}, } }, So: stuff: for full text search stuff.raw for filtering, a…

---

## [Remote reindex from 1.3.9 to 5.5](https://discuss.elastic.co/t/remote-reindex-from-1-3-9-to-5-5/100596)

<div class="topic-metadata">

**Author:** [@pbellerive](https://discuss.elastic.co/u/pbellerive)\
**Replies:** 4\
**Last updated:** [September 15, 2017, 10:39pm UTC](https://discuss.elastic.co/t/remote-reindex-from-1-3-9-to-5-5/100596 "2017-09-15T22:39:19Z")

</div>

I want to migrate elasticsearch from 1.3.9 to 5.5 . So i decided to use the second option from the doc. Install a 5.5 , create index( with settings and mapping) and do a remote reindex. Actually i don't have any error …

---

## [How in elasticsearch do a search for several words working in case the words stand not together?](https://discuss.elastic.co/t/how-in-elasticsearch-do-a-search-for-several-words-working-in-case-the-words-stand-not-together/99595)

<div class="topic-metadata">

**Author:** [@sergei\_kurbako](https://discuss.elastic.co/u/sergei_kurbako)\
**Replies:** 3\
**Last updated:** [September 15, 2017, 10:36pm UTC](https://discuss.elastic.co/t/how-in-elasticsearch-do-a-search-for-several-words-working-in-case-the-words-stand-not-together/99595 "2017-09-15T22:36:23Z")

</div>

How in elasticsearch do a search for several words working in case the words stand not together?

---

## [Elasticsearch-migration](https://discuss.elastic.co/t/elasticsearch-migration/100735)

<div class="topic-metadata">

**Author:** [@Jerry\_Hoffmeister](https://discuss.elastic.co/u/Jerry_Hoffmeister)\
**Replies:** 1\
**Last updated:** [September 15, 2017, 8:54pm UTC](https://discuss.elastic.co/t/elasticsearch-migration/100735 "2017-09-15T20:54:01Z")

</div>

Hi, I've installed the plugin successfully. I have ES running in the cloud on ubuntu VMs with Apache in front of Kibana. How can I use the plugin? Thanks, Jerry

---

## [Relevance sorting in multimatch query](https://discuss.elastic.co/t/relevance-sorting-in-multimatch-query/100451)

<div class="topic-metadata">

**Author:** [@Sayan\_Bhattacharya](https://discuss.elastic.co/u/Sayan_Bhattacharya)\
**Replies:** 3\
**Last updated:** [September 15, 2017, 7:53pm UTC](https://discuss.elastic.co/t/relevance-sorting-in-multimatch-query/100451 "2017-09-15T19:53:36Z")

</div>

i'm uisng the following query for matching against five fileds but unable to see any sorting by relevance in Elasticsearch 5.5 .How to achieve the said thing within this form of query pattern? body = { "query": { "mu…

---

## [Nest 5.5 es 5.6 ttl](https://discuss.elastic.co/t/nest-5-5-es-5-6-ttl/100687)

<div class="topic-metadata">

**Author:** [@czaban](https://discuss.elastic.co/u/czaban)\
**Replies:** 2\
**Last updated:** [September 15, 2017, 6:41pm UTC](https://discuss.elastic.co/t/nest-5-5-es-5-6-ttl/100687 "2017-09-15T18:41:48Z")

</div>

I've been working with ES 2.6 and the index like this one: var response = MyElasticClient.Index(myObject, i =\> i.Type("mytype").Ttl(new Time(TimeSpan.FromDays(31)))); now stop working and the error goes like follow: p…

---

## [Conditionally Update All fields in an index](https://discuss.elastic.co/t/conditionally-update-all-fields-in-an-index/100714)

<div class="topic-metadata">

**Author:** [@cb2015](https://discuss.elastic.co/u/cb2015)\
**Replies:** 0\
**Last updated:** [September 15, 2017, 5:46pm UTC](https://discuss.elastic.co/t/conditionally-update-all-fields-in-an-index/100714 "2017-09-15T17:46:21Z")

</div>

hi, So I have an issue where some of the documents in my index have a leading / in one of the fields and some do not. I want to remove the leading slash from that field if it is there, and do nothing if it is not. ideal…

---

## [Duplicate results in search of index via alias after restoring snapshot of index to a new name](https://discuss.elastic.co/t/duplicate-results-in-search-of-index-via-alias-after-restoring-snapshot-of-index-to-a-new-name/99880)

<div class="topic-metadata">

**Author:** [@bugger](https://discuss.elastic.co/u/bugger)\
**Replies:** 2\
**Last updated:** [September 15, 2017, 4:58pm UTC](https://discuss.elastic.co/t/duplicate-results-in-search-of-index-via-alias-after-restoring-snapshot-of-index-to-a-new-name/99880 "2017-09-15T16:58:20Z")

</div>

Hey all, first post here. This is really a tip, not a question, that I hope saves someone else a little time. I read through the rules and didn't see anything about posting tips, so I hope I am not doing anything wron…

---

## [Does \_count api of ES automatically skips boosting logic inside query field?](https://discuss.elastic.co/t/does--count-api-of-es-automatically-skips-boosting-logic-inside-query-field/100196)

<div class="topic-metadata">

**Author:** [@amver](https://discuss.elastic.co/u/amver)\
**Replies:** 1\
**Last updated:** [September 15, 2017, 4:46pm UTC](https://discuss.elastic.co/t/does--count-api-of-es-automatically-skips-boosting-logic-inside-query-field/100196 "2017-09-15T16:46:00Z")

</div>

Hi, I want to get only the count of search hits from ElasticSearch. I currently have a structured query with highlighting, aggregation, sorting, post\_filters and all. Inside the query section, I also use the function s…

---

## [InternalReplicaShardAllocator warnings after upgrade to 5.5.2](https://discuss.elastic.co/t/internalreplicashardallocator-warnings-after-upgrade-to-5-5-2/100216)

<div class="topic-metadata">

**Author:** [@Dave\_Konopka](https://discuss.elastic.co/u/Dave_Konopka)\
**Replies:** 1\
**Last updated:** [September 15, 2017, 4:41pm UTC](https://discuss.elastic.co/t/internalreplicashardallocator-warnings-after-upgrade-to-5-5-2/100216 "2017-09-15T16:41:34Z")

</div>

I recently upgraded a few clusters from version 5.2.2 -\> 5.5.2. Since the upgrade I'm seeing a lot of InternalReplicaShardAllocator warnings in the Elasticsearch logs that seem to indicate a failing node. I'm not seeing …

---

## [ElasticSearch unssigned shards error](https://discuss.elastic.co/t/elasticsearch-unssigned-shards-error/100302)

<div class="topic-metadata">

**Author:** [@swlee](https://discuss.elastic.co/u/swlee)\
**Replies:** 1\
**Last updated:** [September 15, 2017, 4:36pm UTC](https://discuss.elastic.co/t/elasticsearch-unssigned-shards-error/100302 "2017-09-15T16:36:07Z")

</div>

using elastic 5.3.0 1 master and 5 data node remove all translog files because data node's storage was fulled still storage usage over 90% when restart elastic, i meet Exception java.nio.file.NoSuchFileException: my…

---

## [Cluster.info.update.interval what the default time](https://discuss.elastic.co/t/cluster-info-update-interval-what-the-default-time/100435)

<div class="topic-metadata">

**Author:** [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Replies:** 1\
**Last updated:** [September 15, 2017, 4:34pm UTC](https://discuss.elastic.co/t/cluster-info-update-interval-what-the-default-time/100435 "2017-09-15T16:34:12Z")

</div>

cluster.info.update.interval what the default time, what time about "cluster.info.update.interval " settings in a large cluster as 500T data 200 nodes.

---

## [FIlesearch using fscrawler](https://discuss.elastic.co/t/filesearch-using-fscrawler/99753)

<div class="topic-metadata">

**Author:** [@Ramon\_Zaro](https://discuss.elastic.co/u/Ramon_Zaro)\
**Replies:** 5\
**Last updated:** [September 15, 2017, 3:49pm UTC](https://discuss.elastic.co/t/filesearch-using-fscrawler/99753 "2017-09-15T15:49:54Z")

</div>

Hi all, this is with ref. to this now closed thread. in a nutshell, I am trying to build a filesearch solution using fscrawler but faced a problem of explosion of meta.\* fields. First the good news, simply putting raw…

---

## [PKIX error when I attempt to install repository-S3 plugin](https://discuss.elastic.co/t/pkix-error-when-i-attempt-to-install-repository-s3-plugin/100359)

<div class="topic-metadata">

**Author:** [@Dan\_Rough](https://discuss.elastic.co/u/Dan_Rough)\
**Replies:** 1\
**Last updated:** [September 15, 2017, 3:27pm UTC](https://discuss.elastic.co/t/pkix-error-when-i-attempt-to-install-repository-s3-plugin/100359 "2017-09-15T15:27:58Z")

</div>

Hi, When I attempt to install the repository-s3 plugin I receive an error "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targ…

---

## [Elasticsearch cluster Query](https://discuss.elastic.co/t/elasticsearch-cluster-query/99929)

<div class="topic-metadata">

**Author:** [@rrs](https://discuss.elastic.co/u/rrs)\
**Replies:** 10\
**Last updated:** [September 15, 2017, 3:12pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-query/99929 "2017-09-15T15:12:26Z")

</div>

Hello, We are in process of transferring logs over Elasticsearch will get 100GB data a day with 30 days retention policy. As per my understanding Elasticsearch layer requires more resources than Logstash & Kibana. We de…

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

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