# Elasticsearch

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

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

**Page:** 1785

---

## [Indexing and Recovery of Elasticsearch Nodes](https://discuss.elastic.co/t/indexing-and-recovery-of-elasticsearch-nodes/120396)

<div class="topic-metadata">

**Author:** [@Ong](https://discuss.elastic.co/u/Ong)\
**Replies:** 4\
**Last updated:** [February 19, 2018, 5:32am UTC](https://discuss.elastic.co/t/indexing-and-recovery-of-elasticsearch-nodes/120396 "2018-02-19T05:32:23Z")

</div>

I understand that any node in an Elasticsearch cluster can be indexed into and the data will be sent to other cluster nodes. In the case where 1 node goes down, is it the responsibility of the application to switch to a…

---

## [Cat shards API return different size on a same shard](https://discuss.elastic.co/t/cat-shards-api-return-different-size-on-a-same-shard/120394)

<div class="topic-metadata">

**Author:** [@James\_Yin](https://discuss.elastic.co/u/James_Yin)\
**Replies:** 0\
**Last updated:** [February 19, 2018, 4:46am UTC](https://discuss.elastic.co/t/cat-shards-api-return-different-size-on-a-same-shard/120394 "2018-02-19T04:46:18Z")

</div>

I used Elasticsearch 5.2.2 in a cluster. We found sometimes the cart shards API return different size on a same shard, but there are not any documents to add and delete. We use cat shards API to get the shard size 4 tim…

---

## [I am confused with how keyword type work with aggregatable in Kibana](https://discuss.elastic.co/t/i-am-confused-with-how-keyword-type-work-with-aggregatable-in-kibana/120387)

<div class="topic-metadata">

**Author:** [@Ian\_Huang](https://discuss.elastic.co/u/Ian_Huang)\
**Replies:** 1\
**Last updated:** [February 19, 2018, 3:25am UTC](https://discuss.elastic.co/t/i-am-confused-with-how-keyword-type-work-with-aggregatable-in-kibana/120387 "2018-02-19T03:25:01Z")

</div>

HI guys, I am new to ELK stack. I am trying to understand how keyword type work with different setting. To test, I set following fields: "OS": { "type": "text","fields":{ "keyword":{ "type":"keyw…

---

## [Bulk API with nested mapping (non DSL)](https://discuss.elastic.co/t/bulk-api-with-nested-mapping-non-dsl/120384)

<div class="topic-metadata">

**Author:** [@druzmieres](https://discuss.elastic.co/u/druzmieres)\
**Replies:** 0\
**Last updated:** [February 19, 2018, 1:52am UTC](https://discuss.elastic.co/t/bulk-api-with-nested-mapping-non-dsl/120384 "2018-02-19T01:52:18Z")

</div>

I wrote a script to load data to an elasticsearch instance using bulk helpers. It works great with simple mappings like this one: { "mappings": { "\*": { "properties": { "id": {"ty…

---

## [New to NEST](https://discuss.elastic.co/t/new-to-nest/120251)

<div class="topic-metadata">

**Author:** [@r0manred](https://discuss.elastic.co/u/r0manred)\
**Replies:** 1\
**Last updated:** [February 19, 2018, 12:34am UTC](https://discuss.elastic.co/t/new-to-nest/120251 "2018-02-19T00:34:31Z")

</div>

Hello, For awhile we've been viewing data through Kibana. And recently we've thought about moving away from Kibana. So we want to learn how to use elastic search through NEST (C#). var node = new Uri("localhost"); …

---

## [Writing a plugin over Elasticsearch](https://discuss.elastic.co/t/writing-a-plugin-over-elasticsearch/120322)

<div class="topic-metadata">

**Author:** [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Replies:** 5\
**Last updated:** [February 18, 2018, 11:49pm UTC](https://discuss.elastic.co/t/writing-a-plugin-over-elasticsearch/120322 "2018-02-18T23:49:19Z")

</div>

Hi, I been searching all over Google to get started with writing a plugin on Elasticsearch 5. I haven't been able to find material substantial material for the same. Please assist on the same. Thanks

---

## [Template Post Fail](https://discuss.elastic.co/t/template-post-fail/120275)

<div class="topic-metadata">

**Author:** [@wwalker](https://discuss.elastic.co/u/wwalker)\
**Replies:** 2\
**Last updated:** [February 18, 2018, 10:57pm UTC](https://discuss.elastic.co/t/template-post-fail/120275 "2018-02-18T22:57:24Z")

</div>

Trying to create custom template. Pulled the dynamic template created, made modifications and then used Kibana's dev tool to PUT it into Elasticsearch. Tested the template and saw an error with my config. but now I can…

---

## [Running a POST on Elasticsearch](https://discuss.elastic.co/t/running-a-post-on-elasticsearch/120369)

<div class="topic-metadata">

**Author:** [@danlevy](https://discuss.elastic.co/u/danlevy)\
**Replies:** 2\
**Last updated:** [February 18, 2018, 10:12pm UTC](https://discuss.elastic.co/t/running-a-post-on-elasticsearch/120369 "2018-02-18T22:12:29Z")

</div>

Disclaimer: I am very new to Elasticsearch. I read through the documentation and I still can't find a way to run this example: POST /testOne/testTwo/testThree { "testingOne" : { "testingTwo" : { …

---

## [Excluding an indice in mapping template](https://discuss.elastic.co/t/excluding-an-indice-in-mapping-template/119707)

<div class="topic-metadata">

**Author:** [@cappy](https://discuss.elastic.co/u/cappy)\
**Replies:** 3\
**Last updated:** [February 18, 2018, 9:26pm UTC](https://discuss.elastic.co/t/excluding-an-indice-in-mapping-template/119707 "2018-02-18T21:26:59Z")

</div>

Hi, I was wondering if there was a way to exclude an indice from using a mapping template? For example, I have the following indices: logstash-firewall-%{DATE} logstash-beats-%{DATE} logstash-syslog-%{DATE} I want t…

---

## [Can someone please suggest better way here?](https://discuss.elastic.co/t/can-someone-please-suggest-better-way-here/120093)

<div class="topic-metadata">

**Author:** [@Blason](https://discuss.elastic.co/u/Blason)\
**Replies:** 7\
**Last updated:** [February 18, 2018, 9:22pm UTC](https://discuss.elastic.co/t/can-someone-please-suggest-better-way-here/120093 "2018-02-18T21:22:34Z")

</div>

Hi Guys, I have two locations and soon multiples will be added. Since elastic stack by default does not have multitenanacy I am planning to install multiple logstash instances at every location which eventually will gat…

---

## [Invalid index name \[Simulation\], must be lowercase](https://discuss.elastic.co/t/invalid-index-name-simulation-must-be-lowercase/120366)

<div class="topic-metadata">

**Author:** [@tomak](https://discuss.elastic.co/u/tomak)\
**Replies:** 2\
**Last updated:** [February 18, 2018, 7:59pm UTC](https://discuss.elastic.co/t/invalid-index-name-simulation-must-be-lowercase/120366 "2018-02-18T19:59:54Z")

</div>

I get this error when I try to add a son file using the bulk API. {"index":{"\_index":"Simulation","\_type":"type","\_id":"5a6675d1e4b09094a9a03114","status":400,"error":{"type":"invalid\_index\_name\_exception","reason":"Inv…

---

## [Elastic Search - Free or Paid?](https://discuss.elastic.co/t/elastic-search-free-or-paid/120355)

<div class="topic-metadata">

**Author:** [@stevetso](https://discuss.elastic.co/u/stevetso)\
**Replies:** 3\
**Last updated:** [February 18, 2018, 5:26pm UTC](https://discuss.elastic.co/t/elastic-search-free-or-paid/120355 "2018-02-18T17:26:04Z")

</div>

Elastic search is a nice tool for log searching. If we want to move one more step forward, we need to pay for the X-Pack and $$ is involved already. I hope elastic stack can be packaged into two version: community and …

---

## [Find duplicate docs by multi fields](https://discuss.elastic.co/t/find-duplicate-docs-by-multi-fields/120352)

<div class="topic-metadata">

**Author:** [@Guylot](https://discuss.elastic.co/u/Guylot)\
**Replies:** 0\
**Last updated:** [February 18, 2018, 1:16pm UTC](https://discuss.elastic.co/t/find-duplicate-docs-by-multi-fields/120352 "2018-02-18T13:16:09Z")

</div>

Hi, I need to find duplicate docs which is determined by multi fields, and I want to run this operation daily. Right now I have 2 solutions: Script query where I concate the fields into one field and do term aggrega…

---

## [Transport client threads](https://discuss.elastic.co/t/transport-client-threads/120001)

<div class="topic-metadata">

**Author:** [@Alex\_Davidovich1](https://discuss.elastic.co/u/Alex_Davidovich1)\
**Replies:** 1\
**Last updated:** [February 18, 2018, 5:54am UTC](https://discuss.elastic.co/t/transport-client-threads/120001 "2018-02-18T05:54:44Z")

</div>

I have here 28 threads working in transport client. How can I define a limit for the transport client? \[image\]

---

## [Curator 5.4 issues](https://discuss.elastic.co/t/curator-5-4-issues/120061)

<div class="topic-metadata">

**Author:** [@Nikhilpawar1985](https://discuss.elastic.co/u/Nikhilpawar1985)\
**Replies:** 2\
**Last updated:** [February 17, 2018, 11:13pm UTC](https://discuss.elastic.co/t/curator-5-4-issues/120061 "2018-02-17T23:13:08Z")

</div>

Hi , I am new to curator use. I have my ES cluster running on AWS ec2 with 6.2 version and curator 5.4 . Also using x-pack . Full ELK stack is functional but curator seems not to be working . Can someone help Below ar…

---

## [Could not find or load main class org.elasticsearch.tools.launchers.JavaVersionChecker](https://discuss.elastic.co/t/could-not-find-or-load-main-class-org-elasticsearch-tools-launchers-javaversionchecker/120046)

<div class="topic-metadata">

**Author:** [@lengthy\_preamble](https://discuss.elastic.co/u/lengthy_preamble)\
**Replies:** 4\
**Last updated:** [February 17, 2018, 10:30pm UTC](https://discuss.elastic.co/t/could-not-find-or-load-main-class-org-elasticsearch-tools-launchers-javaversionchecker/120046 "2018-02-17T22:30:54Z")

</div>

I'm using CentOS and have downloaded Elasticsearch 6.2.1. I created a new user "elastic" and when I run ./bin/elasticsearch I get the error: Could not find or load main class org.elasticsearch.tools.launchers.JavaVersio…

---

## [Indexing and searching strings with periods (".")](https://discuss.elastic.co/t/indexing-and-searching-strings-with-periods/118919)

<div class="topic-metadata">

**Author:** [@rsk](https://discuss.elastic.co/u/rsk)\
**Replies:** 4\
**Last updated:** [February 17, 2018, 10:22pm UTC](https://discuss.elastic.co/t/indexing-and-searching-strings-with-periods/118919 "2018-02-17T22:22:53Z")

</div>

How can I set up indexing and searching to disregard periods when matching strings? For example, if I search for USA I want USA and U.S.A to be returned. Likewise, U.S.A. should return both U.S.A. and USA. I know I can…

---

## [Fuzz search thrown too complex to determinize exception](https://discuss.elastic.co/t/fuzz-search-thrown-too-complex-to-determinize-exception/117547)

<div class="topic-metadata">

**Author:** [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Replies:** 4\
**Last updated:** [February 17, 2018, 10:03pm UTC](https://discuss.elastic.co/t/fuzz-search-thrown-too-complex-to-determinize-exception/117547 "2018-02-17T22:03:26Z")

</div>

We saw some too\_complex\_to\_determinize\_exception when doing fuzz search. Exception details: too\_complex\_to\_determinize\_exception: Determinizing automaton with 41207 states and 74541 transitions would result in more tha…

---

## [Need help to sync between local instance and a remote one](https://discuss.elastic.co/t/need-help-to-sync-between-local-instance-and-a-remote-one/120296)

<div class="topic-metadata">

**Author:** [@itzik16](https://discuss.elastic.co/u/itzik16)\
**Replies:** 6\
**Last updated:** [February 17, 2018, 6:10pm UTC](https://discuss.elastic.co/t/need-help-to-sync-between-local-instance-and-a-remote-one/120296 "2018-02-17T18:10:05Z")

</div>

Hello, Im working on a project which collects temperature and humidity data from 47 sensors every 10 seconds and put the data from each sensor to his relative index (a0, a1,a2 etc..) with a timestamp I wrote a script t…

---

## [How to crawl the weburl using ElastiSearch?](https://discuss.elastic.co/t/how-to-crawl-the-weburl-using-elastisearch/120272)

<div class="topic-metadata">

**Author:** [@aanupdarekar](https://discuss.elastic.co/u/aanupdarekar)\
**Replies:** 1\
**Last updated:** [February 17, 2018, 7:22am UTC](https://discuss.elastic.co/t/how-to-crawl-the-weburl-using-elastisearch/120272 "2018-02-17T07:22:18Z")

</div>

Do we have any plugin to crawl web url with second deep level using Elastic Search?

---

## [Elasticsearch nested array Aggregation](https://discuss.elastic.co/t/elasticsearch-nested-array-aggregation/120294)

<div class="topic-metadata">

**Author:** [@lavangiriece](https://discuss.elastic.co/u/lavangiriece)\
**Replies:** 0\
**Last updated:** [February 17, 2018, 7:17am UTC](https://discuss.elastic.co/t/elasticsearch-nested-array-aggregation/120294 "2018-02-17T07:17:44Z")

</div>

Hello, I'm trying to aggregate a nested array, the count is including the duplicate value also.. Here is my Mapping {"mappings" : { "mention" : { "properties" : { "Topics" : { "t…

---

## [Restoring indices through a snapshot](https://discuss.elastic.co/t/restoring-indices-through-a-snapshot/120287)

<div class="topic-metadata">

**Author:** [@dangal](https://discuss.elastic.co/u/dangal)\
**Replies:** 1\
**Last updated:** [February 17, 2018, 6:00am UTC](https://discuss.elastic.co/t/restoring-indices-through-a-snapshot/120287 "2018-02-17T06:00:51Z")

</div>

Hi all, i would like to restore the indices from a snapshot by using alias name but not the indexname POST /\_snapshot/xxxxxxx/snapshot\_16\_02\_2018/\_restore { "indices": "alias\_name", "ignore\_unavailable": "true", "in…

---

## [Version conflict, current version \[55\] is different than the one provided \[54\]](https://discuss.elastic.co/t/version-conflict-current-version-55-is-different-than-the-one-provided-54/120285)

<div class="topic-metadata">

**Author:** [@krishbish](https://discuss.elastic.co/u/krishbish)\
**Replies:** 0\
**Last updated:** [February 17, 2018, 4:02am UTC](https://discuss.elastic.co/t/version-conflict-current-version-55-is-different-than-the-one-provided-54/120285 "2018-02-17T04:02:38Z")

</div>

I have multiple threads each updating different documents. No thread is updating the same document. The update is like this: ctx.\_source.abc.list\_a = params.a\_list; ctx.\_source.abc.list\_b = params.b\_list; ctx.\_source.…

---

## [Are shards skipped when a range query does not create hits](https://discuss.elastic.co/t/are-shards-skipped-when-a-range-query-does-not-create-hits/120239)

<div class="topic-metadata">

**Author:** [@dbman666](https://discuss.elastic.co/u/dbman666)\
**Replies:** 1\
**Last updated:** [February 17, 2018, 2:59am UTC](https://discuss.elastic.co/t/are-shards-skipped-when-a-range-query-does-not-create-hits/120239 "2018-02-17T02:59:42Z")

</div>

In my templated mapping, I use a sort.field on a datetime field. That datetime field thus contains increasing values for the rows inserted during the day. I rollover daily, and do a force merge on older indices. I want …

---

## [High CPU usage on elastic data nodes](https://discuss.elastic.co/t/high-cpu-usage-on-elastic-data-nodes/120277)

<div class="topic-metadata">

**Author:** [@kittu5421](https://discuss.elastic.co/u/kittu5421)\
**Replies:** 0\
**Last updated:** [February 17, 2018, 12:27am UTC](https://discuss.elastic.co/t/high-cpu-usage-on-elastic-data-nodes/120277 "2018-02-17T00:27:16Z")

</div>

We are using ES 2.3.5 ,we are seeing high cpu usage on all the data nodes.Please help us in having CPU reduced on those nodes.

---

## [Curl: (7) failed to connect](https://discuss.elastic.co/t/curl-7-failed-to-connect/120073)

<div class="topic-metadata">

**Author:** [@brownri](https://discuss.elastic.co/u/brownri)\
**Replies:** 17\
**Last updated:** [February 16, 2018, 10:48pm UTC](https://discuss.elastic.co/t/curl-7-failed-to-connect/120073 "2018-02-16T22:48:52Z")

</div>

Hello, I have an application that requires ElasticSearch as one of its components to work with the application. After successfully installing ElasticSearch, my application wants me to run the CURL -XGET command from an…

---

## [Separate instances on same machine](https://discuss.elastic.co/t/separate-instances-on-same-machine/120260)

<div class="topic-metadata">

**Author:** [@Emilio\_Srougo](https://discuss.elastic.co/u/Emilio_Srougo)\
**Replies:** 1\
**Last updated:** [February 16, 2018, 10:45pm UTC](https://discuss.elastic.co/t/separate-instances-on-same-machine/120260 "2018-02-16T22:45:55Z")

</div>

Hi, can I have two separate instances of elasticSearch in the computer? I want to do this in order to have an isolated test enviroment.

---

## [2.4.2 Completion suggester ignores some inputs](https://discuss.elastic.co/t/2-4-2-completion-suggester-ignores-some-inputs/120266)

<div class="topic-metadata">

**Author:** [@shoup-healthtap](https://discuss.elastic.co/u/shoup-healthtap)\
**Replies:** 0\
**Last updated:** [February 16, 2018, 10:34pm UTC](https://discuss.elastic.co/t/2-4-2-completion-suggester-ignores-some-inputs/120266 "2018-02-16T22:34:32Z")

</div>

https://gist.github.com/shoup-healthtap/55452df1f070c7aa9c662c0af4325b60 Hi, I am trying to create an autocomplete for common symptoms. I have run into an issue where my completion suggester does not appear to be honori…

---

## [Boolean similarity for elasticsearch 2.x](https://discuss.elastic.co/t/boolean-similarity-for-elasticsearch-2-x/120264)

<div class="topic-metadata">

**Author:** [@Renata\_Mendonca](https://discuss.elastic.co/u/Renata_Mendonca)\
**Replies:** 0\
**Last updated:** [February 16, 2018, 10:22pm UTC](https://discuss.elastic.co/t/boolean-similarity-for-elasticsearch-2-x/120264 "2018-02-16T22:22:14Z")

</div>

Hi everyone, I would like to use boolean similarity, however I am on elasticsearch 2.4 (for company reasons I cannot upgrade atm). Is there any workaround to have sth like boolean similarity on elasticsearch 2.4? Thx i…

---

## [So much pain on ES, query on date returns wrong results](https://discuss.elastic.co/t/so-much-pain-on-es-query-on-date-returns-wrong-results/120215)

<div class="topic-metadata">

**Author:** [@Derrick](https://discuss.elastic.co/u/Derrick)\
**Replies:** 3\
**Last updated:** [February 16, 2018, 6:07pm UTC](https://discuss.elastic.co/t/so-much-pain-on-es-query-on-date-returns-wrong-results/120215 "2018-02-16T18:07:38Z")

</div>

Hi support, I am doing range query on date field, but it returns no expected result, any idea? { "query": { "bool": { "filter": \[ { "range": { "booking.dealerIDUpdate": { …

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

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