# Elasticsearch

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

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

**Page:** 1999

---

## [Unable to resovle the dependence for Hight Level rest client 5.x](https://discuss.elastic.co/t/unable-to-resovle-the-dependence-for-hight-level-rest-client-5-x/94029)

<div class="topic-metadata">

**Author:** [@Jinyuan\_Zhou](https://discuss.elastic.co/u/Jinyuan_Zhou)\
**Replies:** 1\
**Last updated:** [July 28, 2017, 6:46am UTC](https://discuss.elastic.co/t/unable-to-resovle-the-dependence-for-hight-level-rest-client-5-x/94029 "2017-07-28T06:46:52Z")

</div>

5.x has both high level and low level rest client. According to the doc. Here are maven depdenceis but I cannot resolve it. Are they acutally released? \<dependency\> \<groupId\>org.elasticsearch.client\</groupId\> \<a…

---

## [ES cors enabling in ES 2.2](https://discuss.elastic.co/t/es-cors-enabling-in-es-2-2/94320)

<div class="topic-metadata">

**Author:** [@v.kumar](https://discuss.elastic.co/u/v.kumar)\
**Replies:** 1\
**Last updated:** [July 28, 2017, 6:44am UTC](https://discuss.elastic.co/t/es-cors-enabling-in-es-2-2/94320 "2017-07-28T06:44:45Z")

</div>

Elasticsearch by default will not allow cross domain requests.we have to enable CORS (Cross-Origin Resource Sharing) in Elasticsearch configuration file. I want to try get ES data directly as REST API from javascript …

---

## [Changing the cluster name](https://discuss.elastic.co/t/changing-the-cluster-name/94626)

<div class="topic-metadata">

**Author:** [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Replies:** 5\
**Last updated:** [July 28, 2017, 6:44am UTC](https://discuss.elastic.co/t/changing-the-cluster-name/94626 "2017-07-28T06:44:12Z")

</div>

Elasticsearch version: 5.4.3 I have a single node elasticsearch server and already have few millions of documents indexed. I want to add another node and want to have it as two nodes cluster. While doing so I want to c…

---

## [Encrypted at rest files](https://discuss.elastic.co/t/encrypted-at-rest-files/94675)

<div class="topic-metadata">

**Author:** [@Paul\_Targett](https://discuss.elastic.co/u/Paul_Targett)\
**Replies:** 1\
**Last updated:** [July 28, 2017, 6:34am UTC](https://discuss.elastic.co/t/encrypted-at-rest-files/94675 "2017-07-28T06:34:18Z")

</div>

Last year I asked a question last year about using Elastic Search to store sensitive data. We need to have Elastic Search / Lucene hold the data in AES256 or better encryption. It's understood that we can run the se…

---

## [Discover section shows no logs after X-pack integration](https://discuss.elastic.co/t/discover-section-shows-no-logs-after-x-pack-integration/93922)

<div class="topic-metadata">

**Author:** [@rkpotdar](https://discuss.elastic.co/u/rkpotdar)\
**Replies:** 1\
**Last updated:** [July 28, 2017, 6:28am UTC](https://discuss.elastic.co/t/discover-section-shows-no-logs-after-x-pack-integration/93922 "2017-07-28T06:28:49Z")

</div>

I have been running Elasticsearch with Kibana 5.5 version. I configured filebeat and metricbeat on a different machine. I received the logs just fine and was able to apply filters and view the logs. I then wanted to se…

---

## [Reindex using NEST v5.4](https://discuss.elastic.co/t/reindex-using-nest-v5-4/94216)

<div class="topic-metadata">

**Author:** [@natsudragoneye](https://discuss.elastic.co/u/natsudragoneye)\
**Replies:** 1\
**Last updated:** [July 28, 2017, 6:28am UTC](https://discuss.elastic.co/t/reindex-using-nest-v5-4/94216 "2017-07-28T06:28:36Z")

</div>

Hi, I'm quite new to ElasticSearch. I'm trying to reindex a index in order to rename it. I'm using NEST API v5.4. I saw this example: var reindex = elasticClient.Reindex\<Customer\>(r =\> r.FromIndex("customers-v…

---

## [How to add multiple nodes in same cluster using elasticsearch.yml file](https://discuss.elastic.co/t/how-to-add-multiple-nodes-in-same-cluster-using-elasticsearch-yml-file/94852)

<div class="topic-metadata">

**Author:** [@sagar](https://discuss.elastic.co/u/sagar)\
**Replies:** 13\
**Last updated:** [July 28, 2017, 2:32am UTC](https://discuss.elastic.co/t/how-to-add-multiple-nodes-in-same-cluster-using-elasticsearch-yml-file/94852 "2017-07-28T02:32:07Z")

</div>

I am new to elastic search and i want to know how can i setup multiple nodes cluster using the configuration file.

---

## [On the use of es to achieve fuzzy matching problem?](https://discuss.elastic.co/t/on-the-use-of-es-to-achieve-fuzzy-matching-problem/94558)

<div class="topic-metadata">

**Author:** [@hubiao](https://discuss.elastic.co/u/hubiao)\
**Replies:** 1\
**Last updated:** [July 28, 2017, 1:58am UTC](https://discuss.elastic.co/t/on-the-use-of-es-to-achieve-fuzzy-matching-problem/94558 "2017-07-28T01:58:00Z")

</div>

I have a text that will contain Chinese or letters and numbers. Es how to retrieve the fastest way? Examples are as follows 现在，“讲情不讲法”在农村吃不开、行不通了。群众自觉守法、遇事找法、解决问题靠法的意识不断增强，基层干部运用法治思维、法治方式解决问题的能力明显提升，农村法治建设步履坚实，正成为农业…

---

## [Is it possible to restore data with logging-es directory?](https://discuss.elastic.co/t/is-it-possible-to-restore-data-with-logging-es-directory/94698)

<div class="topic-metadata">

**Author:** [@ljhiyh](https://discuss.elastic.co/u/ljhiyh)\
**Replies:** 3\
**Last updated:** [July 28, 2017, 1:46am UTC](https://discuss.elastic.co/t/is-it-possible-to-restore-data-with-logging-es-directory/94698 "2017-07-28T01:46:47Z")

</div>

Hi, I have logging-es directory(previous data) and started a new es container with clean storage. Is it possible to restore data from the backup data? thanks, Jooho

---

## [Determine shards count for several indices](https://discuss.elastic.co/t/determine-shards-count-for-several-indices/94651)

<div class="topic-metadata">

**Author:** [@Yuval](https://discuss.elastic.co/u/Yuval)\
**Replies:** 5\
**Last updated:** [July 28, 2017, 1:42am UTC](https://discuss.elastic.co/t/determine-shards-count-for-several-indices/94651 "2017-07-28T01:42:38Z")

</div>

Hey, Elastic newbie here. TL;DR: I have few indices which will store LOTS of data (50GB + ) compared to other indices which store much less (1-2GB tops). All the indices share the same default configuration (5 shards…

---

## [Refresh On Bulk Update is Good or bad](https://discuss.elastic.co/t/refresh-on-bulk-update-is-good-or-bad/94726)

<div class="topic-metadata">

**Author:** [@krishnaraj221193](https://discuss.elastic.co/u/krishnaraj221193)\
**Replies:** 2\
**Last updated:** [July 28, 2017, 1:28am UTC](https://discuss.elastic.co/t/refresh-on-bulk-update-is-good-or-bad/94726 "2017-07-28T01:28:39Z")

</div>

Hello Sir, We are finding a issue for search after bulk update as the data is not getting refresh immediately so search fails to get the latest data so we thought of using bulk update with refresh but since we have to r…

---

## [Filter with multiple should and minimum\_should\_match](https://discuss.elastic.co/t/filter-with-multiple-should-and-minimum-should-match/94715)

<div class="topic-metadata">

**Author:** [@begemot](https://discuss.elastic.co/u/begemot)\
**Replies:** 1\
**Last updated:** [July 27, 2017, 11:08pm UTC](https://discuss.elastic.co/t/filter-with-multiple-should-and-minimum-should-match/94715 "2017-07-27T23:08:14Z")

</div>

Assume I need to filter result with documents where one string field, 'roles', in "Role1" OR another string field, 'groups', is "Group1" GET /\_search { "query": { "bool": { "should": \[ { …

---

## [Python - Update nested object](https://discuss.elastic.co/t/python-update-nested-object/94875)

<div class="topic-metadata">

**Author:** [@Achi](https://discuss.elastic.co/u/Achi)\
**Replies:** 0\
**Last updated:** [July 27, 2017, 10:50pm UTC](https://discuss.elastic.co/t/python-update-nested-object/94875 "2017-07-27T22:50:46Z")

</div>

Hello, I would like to use a Nested file for comments, but I can’t find a way to update it as soon as someone post a comment. Here is my mapping (using elasticsearch-dsl) m = Mapping('comments'') comments = Nested() …

---

## [Update\_by\_query and routing](https://discuss.elastic.co/t/update-by-query-and-routing/94869)

<div class="topic-metadata">

**Author:** [@PaulieMac](https://discuss.elastic.co/u/PaulieMac)\
**Replies:** 0\
**Last updated:** [July 27, 2017, 9:53pm UTC](https://discuss.elastic.co/t/update-by-query-and-routing/94869 "2017-07-27T21:53:32Z")

</div>

Hi all, I have an index with custom routing on it… I’ve added a new field, and I need to use a script to derive the value that will populate it. I figured an update\_by\_query might be the way to go - but it seems to be i…

---

## [Use request data for query string (GET request )](https://discuss.elastic.co/t/use-request-data-for-query-string-get-request/94856)

<div class="topic-metadata">

**Author:** [@Rajesh\_Sharma](https://discuss.elastic.co/u/Rajesh_Sharma)\
**Replies:** 1\
**Last updated:** [July 27, 2017, 8:34pm UTC](https://discuss.elastic.co/t/use-request-data-for-query-string-get-request/94856 "2017-07-27T20:34:28Z")

</div>

Hi, Many documents in elastic search referes below format where it shows GET request with JSON in body which could be feasible only in POST, but not with GET. My concern is, how to convert/use below JSON body as query S…

---

## [Timestamp with different date format](https://discuss.elastic.co/t/timestamp-with-different-date-format/94802)

<div class="topic-metadata">

**Author:** [@alainc](https://discuss.elastic.co/u/alainc)\
**Replies:** 3\
**Last updated:** [July 27, 2017, 4:58pm UTC](https://discuss.elastic.co/t/timestamp-with-different-date-format/94802 "2017-07-27T16:58:55Z")

</div>

Hi is is possible to insert on the same index datas with distinct date format thinking of that for indexing historical facts as an example Sometime you know the precise date of an event so you can enter DD/MM/YYYY …

---

## [How to point Monitoring to correct Indices](https://discuss.elastic.co/t/how-to-point-monitoring-to-correct-indices/94662)

<div class="topic-metadata">

**Author:** [@crickes](https://discuss.elastic.co/u/crickes)\
**Replies:** 3\
**Last updated:** [July 27, 2017, 4:30pm UTC](https://discuss.elastic.co/t/how-to-point-monitoring-to-correct-indices/94662 "2017-07-27T16:30:58Z")

</div>

I have a single node monitoring cluster, which has been monitoring a larger cluster without issues for some time. This morning the main cluster had issues.. I've since recovered that cluster, but the monitoring node stil…

---

## [I Have a Recovered cluster but unassigned can some one help](https://discuss.elastic.co/t/i-have-a-recovered-cluster-but-unassigned-can-some-one-help/94461)

<div class="topic-metadata">

**Author:** [@Danny\_Crossby](https://discuss.elastic.co/u/Danny_Crossby)\
**Replies:** 11\
**Last updated:** [July 27, 2017, 4:07pm UTC](https://discuss.elastic.co/t/i-have-a-recovered-cluster-but-unassigned-can-some-one-help/94461 "2017-07-27T16:07:20Z")

</div>

99abc 4 r UNASSIGNED CLUSTER\_RECOVERED 99abc 2 r UNASSIGNED CLUSTER\_RECOVERED 99abc 1 r UNASSIGNED CLUSTER\_RECOVERED 99abc 3 r UNASSIGNED CLUSTER\_RECOVERED 99abc 0 r UNASSIGNED CLUSTER\_RECOVERED

---

## [Ingest Attachment Plugin](https://discuss.elastic.co/t/ingest-attachment-plugin/94768)

<div class="topic-metadata">

**Author:** [@Vikentyi](https://discuss.elastic.co/u/Vikentyi)\
**Replies:** 1\
**Last updated:** [July 27, 2017, 3:58pm UTC](https://discuss.elastic.co/t/ingest-attachment-plugin/94768 "2017-07-27T15:58:57Z")

</div>

I have installed ingest attachment plugin to my elasticsearch server and I am using Java API. What should I do to index my document? I don't have any AttachmentProcessor in elasticsearch.jar.

---

## [Can use XPack transporter client to access a basic elasticsearch server](https://discuss.elastic.co/t/can-use-xpack-transporter-client-to-access-a-basic-elasticsearch-server/94815)

<div class="topic-metadata">

**Author:** [@Flemming\_Harms](https://discuss.elastic.co/u/Flemming_Harms)\
**Replies:** 3\
**Last updated:** [July 27, 2017, 3:50pm UTC](https://discuss.elastic.co/t/can-use-xpack-transporter-client-to-access-a-basic-elasticsearch-server/94815 "2017-07-27T15:50:06Z")

</div>

Hello, Let's say I have a client application jar and distribute the XPack transporter client jar with this, will I still be able to access a basic elasticsearch server with no x-pack security plug-in? Is there any li…

---

## [Cross cluster replication](https://discuss.elastic.co/t/cross-cluster-replication/94547)

<div class="topic-metadata">

**Author:** [@animageofmine](https://discuss.elastic.co/u/animageofmine)\
**Replies:** 6\
**Last updated:** [July 27, 2017, 3:44pm UTC](https://discuss.elastic.co/t/cross-cluster-replication/94547 "2017-07-27T15:44:22Z")

</div>

https://www.elastic.co/cloud/as-a-service/pricing mentions that there is an option for HA (High Availability) that offers replication and automatic fail over. A few questions about replication: Is this active repli…

---

## [How to check that my log file data is transfered to elasticsearch 5.5.0](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799)

<div class="topic-metadata">

**Author:** [@vivekpandey564](https://discuss.elastic.co/u/vivekpandey564)\
**Replies:** 11\
**Last updated:** [July 27, 2017, 3:23pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799 "2017-07-27T15:23:51Z")

</div>

input { file { add\_field =\> \[ "host", "my-dev-host" \] path =\> "D:\\JHipster\_Demo\\logFile.2017-07-27.log" codec =\> "plain" } } filter { date { match =\> \[ "timestamp" , "YYYY/MM/DD:HH…

---

## [Setting ElasticSearch 5.5.0 Cluster With discovery-ec2 Plugin](https://discuss.elastic.co/t/setting-elasticsearch-5-5-0-cluster-with-discovery-ec2-plugin/92818)

<div class="topic-metadata">

**Author:** [@SanE](https://discuss.elastic.co/u/SanE)\
**Replies:** 6\
**Last updated:** [July 27, 2017, 3:14pm UTC](https://discuss.elastic.co/t/setting-elasticsearch-5-5-0-cluster-with-discovery-ec2-plugin/92818 "2017-07-27T15:14:37Z")

</div>

Hello, I have Configured ElasticSearch Cluster (3 Nodes) with the discovery-ec2 plugin and my configuration below: ES1 (Master Eligible) cluster.name: my-cluster path.data: /data/data path.logs: /data/logs network…

---

## [Limit exceeded message needs some analysis](https://discuss.elastic.co/t/limit-exceeded-message-needs-some-analysis/94798)

<div class="topic-metadata">

**Author:** [@sentinel](https://discuss.elastic.co/u/sentinel)\
**Replies:** 7\
**Last updated:** [July 27, 2017, 3:01pm UTC](https://discuss.elastic.co/t/limit-exceeded-message-needs-some-analysis/94798 "2017-07-27T15:01:21Z")

</div>

Hello I am getting a lot of these debug messages in Elastic 5.4 setup. Surely this is not up to a 1000. Is there anything I can do to limit this? curl -s -XGET http://1localhost:8089/logstash-2017.07.24/\_mapping?…

---

## [Retry a specific batch of results when scrolling a search](https://discuss.elastic.co/t/retry-a-specific-batch-of-results-when-scrolling-a-search/94813)

<div class="topic-metadata">

**Author:** [@alesola](https://discuss.elastic.co/u/alesola)\
**Replies:** 1\
**Last updated:** [July 27, 2017, 2:54pm UTC](https://discuss.elastic.co/t/retry-a-specific-batch-of-results-when-scrolling-a-search/94813 "2017-07-27T14:54:14Z")

</div>

Hello, is there a way to ask twice ElasticSearch for the same batch of results when scrolling a search? In this scenario, Elastic has properly returned the batch of results but something has failed into the client and …

---

## [Query\_string filter fails on \_exists\_:fieldname query in Elasticsearch 5.5.0](https://discuss.elastic.co/t/query-string-filter-fails-on--exists--fieldname-query-in-elasticsearch-5-5-0/94680)

<div class="topic-metadata">

**Author:** [@bwdezend](https://discuss.elastic.co/u/bwdezend)\
**Replies:** 2\
**Last updated:** [July 27, 2017, 2:24pm UTC](https://discuss.elastic.co/t/query-string-filter-fails-on--exists--fieldname-query-in-elasticsearch-5-5-0/94680 "2017-07-27T14:24:51Z")

</div>

In years past (with ES 1.x and 2.x, and Kibana 3.x and 4.x), we would filter for records containing a field using the \_exists\_:fieldname query in the Kibana search bar. The format for these was something along the lines …

---

## [Elasticsearch .msi version](https://discuss.elastic.co/t/elasticsearch-msi-version/94777)

<div class="topic-metadata">

**Author:** [@zen.xen](https://discuss.elastic.co/u/zen.xen)\
**Replies:** 4\
**Last updated:** [July 27, 2017, 2:23pm UTC](https://discuss.elastic.co/t/elasticsearch-msi-version/94777 "2017-07-27T14:23:00Z")

</div>

Hello, I've just installed successfully elasticsearch 5.5.1 .msi version. When I click link "Open Elasticsearch in the browser" I get sth like this When I click open nothing happens, what should I install to be able …

---

## [Failed to commit cluster state version](https://discuss.elastic.co/t/failed-to-commit-cluster-state-version/94785)

<div class="topic-metadata">

**Author:** [@krisko](https://discuss.elastic.co/u/krisko)\
**Replies:** 0\
**Last updated:** [July 27, 2017, 12:28pm UTC](https://discuss.elastic.co/t/failed-to-commit-cluster-state-version/94785 "2017-07-27T12:28:51Z")

</div>

Hi there! my original issue created on github can be viewed here https://github.com/elastic/elasticsearch/issues/25925 To repeat: We are running 2 nodes set as master, with discovery.zen.minimum\_master\_nodes: 2, one …

---

## [Score based on term existing or not in multiple fields](https://discuss.elastic.co/t/score-based-on-term-existing-or-not-in-multiple-fields/94796)

<div class="topic-metadata">

**Author:** [@elastic\_newb](https://discuss.elastic.co/u/elastic_newb)\
**Replies:** 0\
**Last updated:** [July 27, 2017, 12:59pm UTC](https://discuss.elastic.co/t/score-based-on-term-existing-or-not-in-multiple-fields/94796 "2017-07-27T12:59:40Z")

</div>

I have the following data: { "\_index": "myindex", "\_type": "mytype", "\_id": "1", "\_source": { "field1": "word1 word2 word3", "field2": "word1 word2 word3", "field3": "word1 word2 word3" } …

---

## [Design/approach to build a bridge between elasticsearch and RestAPIs](https://discuss.elastic.co/t/design-approach-to-build-a-bridge-between-elasticsearch-and-restapis/94793)

<div class="topic-metadata">

**Author:** [@deepakvash](https://discuss.elastic.co/u/deepakvash)\
**Replies:** 0\
**Last updated:** [July 27, 2017, 12:50pm UTC](https://discuss.elastic.co/t/design-approach-to-build-a-bridge-between-elasticsearch-and-restapis/94793 "2017-07-27T12:50:04Z")

</div>

Elastic Team, I need to push bulk data into elasticsearch instance. There are REST API exposed by the client and we need to call those Rest endpoints (GET call) , we should get JSON response from REST APIs. These JSONs…

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

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