# Elasticsearch

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

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

**Page:** 1613

---

## [Elasticsearch-rest-high-level-client \_bulk compression](https://discuss.elastic.co/t/elasticsearch-rest-high-level-client-bulk-compression/139290)

<div class="topic-metadata">

**Author:** [@nicolas-f](https://discuss.elastic.co/u/nicolas-f)\
**Replies:** 1\
**Last updated:** [July 19, 2018, 6:48am UTC](https://discuss.elastic.co/t/elasticsearch-rest-high-level-client-bulk-compression/139290 "2018-07-19T06:48:09Z")

</div>

Hi, We will use the java high level client over a gsm connection. Using ngrep I see that POST content is not compressed. How to enable the compression mechanism in the java rest high level client for index request ? Th…

---

## [Efficient way of storing data in index to support date range filter](https://discuss.elastic.co/t/efficient-way-of-storing-data-in-index-to-support-date-range-filter/140650)

<div class="topic-metadata">

**Author:** [@BleedCode](https://discuss.elastic.co/u/BleedCode)\
**Replies:** 3\
**Last updated:** [July 19, 2018, 5:32am UTC](https://discuss.elastic.co/t/efficient-way-of-storing-data-in-index-to-support-date-range-filter/140650 "2018-07-19T05:32:30Z")

</div>

Hi All, I was looking for an efficient solution by using which i should be able to select any date range data. Example: if i want to show a performance report for 2 months or 3 days the performance of system should not …

---

## [Elasticsearch service static IP](https://discuss.elastic.co/t/elasticsearch-service-static-ip/140584)

<div class="topic-metadata">

**Author:** [@MiguelSalenda](https://discuss.elastic.co/u/MiguelSalenda)\
**Replies:** 4\
**Last updated:** [July 19, 2018, 5:18am UTC](https://discuss.elastic.co/t/elasticsearch-service-static-ip/140584 "2018-07-19T05:18:48Z")

</div>

Hello all, I've created a new deployment on Elastic cloud (Eslasticsearch Service) running on Amazon AWS. Now, I have some doubts about it: Is it possible to assign a static IP to this deployment? And even more, is i…

---

## [SQL access only a single expression can be used with GROUP BY](https://discuss.elastic.co/t/sql-access-only-a-single-expression-can-be-used-with-group-by/140456)

<div class="topic-metadata">

**Author:** [@Jack\_Wu](https://discuss.elastic.co/u/Jack_Wu)\
**Replies:** 1\
**Last updated:** [July 19, 2018, 4:58am UTC](https://discuss.elastic.co/t/sql-access-only-a-single-expression-can-be-used-with-group-by/140456 "2018-07-19T04:58:14Z")

</div>

I'm testing the Elasticsearch 6.3 / SQL Access, and I got a planning\_exception message: Currently, only a single expression can be used with GROUP BY. Do any one know when it will be solved in Elastic plan? Or how I can…

---

## [Client node unable to discover master node after master restarts and gets new IP](https://discuss.elastic.co/t/client-node-unable-to-discover-master-node-after-master-restarts-and-gets-new-ip/140635)

<div class="topic-metadata">

**Author:** [@Sonia\_Gupta](https://discuss.elastic.co/u/Sonia_Gupta)\
**Replies:** 2\
**Last updated:** [July 19, 2018, 3:54am UTC](https://discuss.elastic.co/t/client-node-unable-to-discover-master-node-after-master-restarts-and-gets-new-ip/140635 "2018-07-19T03:54:26Z")

</div>

I have a 1 client/ 2 data/ 3 master Elasticsearch 6.2.2 cluster spread over 3 node vpshere environment. This is a kubernetes system. Data and master are statefulsets. Master has a service sitting on it acting as the disc…

---

## [Index xlsx files in Elasticsearch](https://discuss.elastic.co/t/index-xlsx-files-in-elasticsearch/140564)

<div class="topic-metadata">

**Author:** [@alexander.tsulin](https://discuss.elastic.co/u/alexander.tsulin)\
**Replies:** 2\
**Last updated:** [July 19, 2018, 3:06am UTC](https://discuss.elastic.co/t/index-xlsx-files-in-elasticsearch/140564 "2018-07-19T03:06:41Z")

</div>

Hi all, I'm implementing utility that uses Elasticsearch database and should be able to index excel files with specified file sctructure. For instance, I have file with 3 columns: UserId FirstName LastName 1 …

---

## [NEST 6 - Serialization of enums as strings in terms query](https://discuss.elastic.co/t/nest-6-serialization-of-enums-as-strings-in-terms-query/140644)

<div class="topic-metadata">

**Author:** [@jlangmaid](https://discuss.elastic.co/u/jlangmaid)\
**Replies:** 0\
**Last updated:** [July 19, 2018, 1:25am UTC](https://discuss.elastic.co/t/nest-6-serialization-of-enums-as-strings-in-terms-query/140644 "2018-07-19T01:25:43Z")

</div>

Hi there, I've been trying to update to ES6 and NEST 6 and running into issues with NEST serializing of search requests - specifically serializing Terms queries where the underlying C# type is an enum. This is targeting…

---

## [Does TransportClient need to close?](https://discuss.elastic.co/t/does-transportclient-need-to-close/140124)

<div class="topic-metadata">

**Author:** [@xyx](https://discuss.elastic.co/u/xyx)\
**Replies:** 2\
**Last updated:** [July 19, 2018, 1:00am UTC](https://discuss.elastic.co/t/does-transportclient-need-to-close/140124 "2018-07-19T01:00:52Z")

</div>

I get a client by the following code, Code from : https://www.elastic.co/guide/en/elasticsearch/client/java-api/6.2/transport-client.html // on startup TransportClient client = new PreBuiltTransportClient(Settings.EMP…

---

## [Integrate elasticsearch with Servicenow](https://discuss.elastic.co/t/integrate-elasticsearch-with-servicenow/140583)

<div class="topic-metadata">

**Author:** [@charan.gandra](https://discuss.elastic.co/u/charan.gandra)\
**Replies:** 1\
**Last updated:** [July 18, 2018, 11:30pm UTC](https://discuss.elastic.co/t/integrate-elasticsearch-with-servicenow/140583 "2018-07-18T23:30:53Z")

</div>

Hi, I am using ELK and capturing application logs using beats. I would like to raise a ticket in ServiceNow if there are any warnings or critical messages in the logs. Is there anyway I can integrate elasticsearch with …

---

## [How do I do indexing recursively on some directory in linux?](https://discuss.elastic.co/t/how-do-i-do-indexing-recursively-on-some-directory-in-linux/140614)

<div class="topic-metadata">

**Author:** [@crowlogic](https://discuss.elastic.co/u/crowlogic)\
**Replies:** 2\
**Last updated:** [July 18, 2018, 11:21pm UTC](https://discuss.elastic.co/t/how-do-i-do-indexing-recursively-on-some-directory-in-linux/140614 "2018-07-18T23:21:30Z")

</div>

how do I do indexing recursively on some directory in linux? I just want to compare the base functionality that recoll does for linux, http://www.lesbonscomptes.com/recoll/ for example. I'm not wanting to write some pr…

---

## [Curator not starting up](https://discuss.elastic.co/t/curator-not-starting-up/140415)

<div class="topic-metadata">

**Author:** [@ceekay](https://discuss.elastic.co/u/ceekay)\
**Replies:** 6\
**Last updated:** [July 18, 2018, 11:01pm UTC](https://discuss.elastic.co/t/curator-not-starting-up/140415 "2018-07-18T23:01:50Z")

</div>

I have a system here that used to have a pip-installed Curator running on it. Since pip-uninstalling the old version and installing Curator 5.5.4 from the Elastic apt repo, I can't get it to do anything. Running /usr/b…

---

## [SAML Authentication unknown secure setting](https://discuss.elastic.co/t/saml-authentication-unknown-secure-setting/140213)

<div class="topic-metadata">

**Author:** [@DaveyDevOps](https://discuss.elastic.co/u/DaveyDevOps)\
**Replies:** 2\
**Last updated:** [July 18, 2018, 9:01pm UTC](https://discuss.elastic.co/t/saml-authentication-unknown-secure-setting/140213 "2018-07-18T21:01:01Z")

</div>

Elasticsearch 6.3.1 Got SAML authentication up and running, final steps were to set up signing and encryption with the IdP. Following guide and wanted to use JKS. Updated the realm setting in elasticsearch.yml and the…

---

## [Best Practices for running ElasticSearch stack in AWS multi region](https://discuss.elastic.co/t/best-practices-for-running-elasticsearch-stack-in-aws-multi-region/140619)

<div class="topic-metadata">

**Author:** [@byoungman](https://discuss.elastic.co/u/byoungman)\
**Replies:** 1\
**Last updated:** [July 18, 2018, 8:54pm UTC](https://discuss.elastic.co/t/best-practices-for-running-elasticsearch-stack-in-aws-multi-region/140619 "2018-07-18T20:54:57Z")

</div>

I am getting ready to upgrade my corporations ElasticSearch stack to R6.3 and at the same time we are looking to move to an AWS multi region environment for our system (we currently are only in 1 region: AWS East) so I a…

---

## [Search Templates setup and execution](https://discuss.elastic.co/t/search-templates-setup-and-execution/140616)

<div class="topic-metadata">

**Author:** [@achanCL](https://discuss.elastic.co/u/achanCL)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 7:55pm UTC](https://discuss.elastic.co/t/search-templates-setup-and-execution/140616 "2018-07-18T19:55:18Z")

</div>

Hi, I am trying to have my standard queries saved as templates in ES 6.3, and execute the templates via Java High level REST client API... any useful examples or documentation? Thanks, al

---

## [How to specify path.data on startup of 6.3.1](https://discuss.elastic.co/t/how-to-specify-path-data-on-startup-of-6-3-1/140231)

<div class="topic-metadata">

**Author:** [@Mike\_H](https://discuss.elastic.co/u/Mike_H)\
**Replies:** 4\
**Last updated:** [July 18, 2018, 7:06pm UTC](https://discuss.elastic.co/t/how-to-specify-path-data-on-startup-of-6-3-1/140231 "2018-07-18T19:06:14Z")

</div>

Hi, I want to persist data persist when our Kubernetes StatefulSets are destroyed and recreated. I have one master node and one data node. I think, like this problem, the issue is setting path.data, but I'm not complete…

---

## [How to create parallel cursors on my dataset in Elastic search](https://discuss.elastic.co/t/how-to-create-parallel-cursors-on-my-dataset-in-elastic-search/140599)

<div class="topic-metadata">

**Author:** [@anubhav](https://discuss.elastic.co/u/anubhav)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 6:00pm UTC](https://discuss.elastic.co/t/how-to-create-parallel-cursors-on-my-dataset-in-elastic-search/140599 "2018-07-18T18:00:39Z")

</div>

I have 30,000 instances in elastic search. If I used the scroll API in while loop with the below settings: with " search context alive": 50m and "size":2 with " search context alive": 5m and "size":100 Both ways I can…

---

## [Composite aggregation ORDER BY](https://discuss.elastic.co/t/composite-aggregation-order-by/139563)

<div class="topic-metadata">

**Author:** [@gogua](https://discuss.elastic.co/u/gogua)\
**Replies:** 5\
**Last updated:** [July 18, 2018, 5:08pm UTC](https://discuss.elastic.co/t/composite-aggregation-order-by/139563 "2018-07-18T17:08:10Z")

</div>

Hello, can composite aggregation terms do ORDER BY doc\_count? i now use "terms": {"field": "city\_name.keyword", "order": "desc"} but i need this "terms": {"field": "city\_name.keyword", "order": {"\_count": "desc"}} is i…

---

## [Is there a list of what types of tasks are cancelable or not?](https://discuss.elastic.co/t/is-there-a-list-of-what-types-of-tasks-are-cancelable-or-not/140589)

<div class="topic-metadata">

**Author:** [@Michael4](https://discuss.elastic.co/u/Michael4)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 4:23pm UTC](https://discuss.elastic.co/t/is-there-a-list-of-what-types-of-tasks-are-cancelable-or-not/140589 "2018-07-18T16:23:42Z")

</div>

Hello, Is there a list in the documentation somewhere of what types of tasks can be canceled? I am specifically trying to figure out if bulk write operations can ever be canceled. I understand that the task management…

---

## [Synonms Analyzer/Filter does not work - Solved!](https://discuss.elastic.co/t/synonms-analyzer-filter-does-not-work-solved/140020)

<div class="topic-metadata">

**Author:** [@ArunANayagam](https://discuss.elastic.co/u/ArunANayagam)\
**Replies:** 9\
**Last updated:** [July 18, 2018, 4:05pm UTC](https://discuss.elastic.co/t/synonms-analyzer-filter-does-not-work-solved/140020 "2018-07-18T16:05:19Z")

</div>

Hi, I created a simple synonm analyzer/filter and I was able to apply to the index fine, at least it looks like its applied fine, here's the cluster state extract, "sports-2018.07.13": { "state": "…

---

## [Issue with transport client and sniffing nodes](https://discuss.elastic.co/t/issue-with-transport-client-and-sniffing-nodes/140363)

<div class="topic-metadata">

**Author:** [@vvelichkovich](https://discuss.elastic.co/u/vvelichkovich)\
**Replies:** 3\
**Last updated:** [July 18, 2018, 3:11pm UTC](https://discuss.elastic.co/t/issue-with-transport-client-and-sniffing-nodes/140363 "2018-07-18T15:11:29Z")

</div>

Elasticsearch versio 6.2.4 I have few issues, most likely related. If I enable sniffing Transport client, it doesn't see any nodes and trying to use it, in specific example, getting all indices from cluster, results i…

---

## [Could not get resource 'https://plugins.gradle.org/m2/com/gradle/build-scan/com.gradle.build-scan.gradle.plugin/1.13.2/com.gradle.build-scan.gradle.plugin-1.13.2.jar'](https://discuss.elastic.co/t/could-not-get-resource-https-plugins-gradle-org-m2-com-gradle-build-scan-com-gradle-build-scan-gradle-plugin-1-13-2-com-gradle-build-scan-gradle-plugin-1-13-2-jar/140074)

<div class="topic-metadata">

**Author:** [@wonho\_choi](https://discuss.elastic.co/u/wonho_choi)\
**Replies:** 5\
**Last updated:** [July 18, 2018, 2:43pm UTC](https://discuss.elastic.co/t/could-not-get-resource-https-plugins-gradle-org-m2-com-gradle-build-scan-com-gradle-build-scan-gradle-plugin-1-13-2-com-gradle-build-scan-gradle-plugin-1-13-2-jar/140074 "2018-07-18T14:43:36Z")

</div>

I've run ES master branch (7.0.0-Alpha) with gradle run But It showed Error resolving plugin \[id: 'com.gradle.build-scan', version: '1.13.2'\] Could not resolve all dependencies for configuration 'detachedConfiguratio…

---

## [NullPointerException when create snapshots on S3](https://discuss.elastic.co/t/nullpointerexception-when-create-snapshots-on-s3/140290)

<div class="topic-metadata">

**Author:** [@Pavlo](https://discuss.elastic.co/u/Pavlo)\
**Replies:** 3\
**Last updated:** [July 18, 2018, 2:17pm UTC](https://discuss.elastic.co/t/nullpointerexception-when-create-snapshots-on-s3/140290 "2018-07-18T14:17:59Z")

</div>

Hello We upgraded version of Elastisearch environment from 5.1 to 5.6.10 on cloud.elastic.co. Everything started working correctly except snapshorts. There is a problem with default snapshort repository. I see that ones…

---

## [Preserve\_position\_increments mapping with stop analyzer not searching for middle words](https://discuss.elastic.co/t/preserve-position-increments-mapping-with-stop-analyzer-not-searching-for-middle-words/140554)

<div class="topic-metadata">

**Author:** [@anshul.chhangani](https://discuss.elastic.co/u/anshul.chhangani)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 12:41pm UTC](https://discuss.elastic.co/t/preserve-position-increments-mapping-with-stop-analyzer-not-searching-for-middle-words/140554 "2018-07-18T12:41:01Z")

</div>

Hey, Similar queries have been previously posted but none of the solutions are working for me. Elasticsearch Version 5.5.3 Have set the preserve\_position\_increments as false and have tried "stop", "standard" and "simp…

---

## [Run multiple Elasticsearch instance on the same server](https://discuss.elastic.co/t/run-multiple-elasticsearch-instance-on-the-same-server/140558)

<div class="topic-metadata">

**Author:** [@wrozan](https://discuss.elastic.co/u/wrozan)\
**Replies:** 1\
**Last updated:** [July 18, 2018, 1:08pm UTC](https://discuss.elastic.co/t/run-multiple-elasticsearch-instance-on-the-same-server/140558 "2018-07-18T13:08:14Z")

</div>

Hi, i have an ES server with an instance already installed and running. That one has been deployed from rpm file (v5.6.4) /etc/elasticsearch/ current yml file : #cluster cluster.name: nakisa #node node.name: leasing…

---

## [Does Elasticsearch has crawler?](https://discuss.elastic.co/t/does-elasticsearch-has-crawler/140528)

<div class="topic-metadata">

**Author:** [@katiyar](https://discuss.elastic.co/u/katiyar)\
**Replies:** 5\
**Last updated:** [July 18, 2018, 12:27pm UTC](https://discuss.elastic.co/t/does-elasticsearch-has-crawler/140528 "2018-07-18T12:27:14Z")

</div>

Hi Does Elasticsearch has crawler ?

---

## [Custom IndexSearcher Implementation](https://discuss.elastic.co/t/custom-indexsearcher-implementation/140522)

<div class="topic-metadata">

**Author:** [@vincent.arnaud90](https://discuss.elastic.co/u/vincent.arnaud90)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 11:14am UTC](https://discuss.elastic.co/t/custom-indexsearcher-implementation/140522 "2018-07-18T11:14:46Z")

</div>

Elasticsearch version (bin/elasticsearch --version) : Version: 6.1.1, Build: bd92e7f/2017-12-17T20:23:25.338Z, JVM: 1.8.0\_144 Plugin Installed : None JVM version (java -version): java version "1.8.0\_144" Java(TM) S…

---

## [Bulk Load](https://discuss.elastic.co/t/bulk-load/140536)

<div class="topic-metadata">

**Author:** [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 11:54am UTC](https://discuss.elastic.co/t/bulk-load/140536 "2018-07-18T11:54:37Z")

</div>

Sorry in advance, if it's wrong place, but I haven't found better. I've app written in Go where I try to make bulk load to ES. My code looks similar to: url := c.url + "/" + sess.SessionIndexName + "/sess/\_bulk" idr…

---

## [Crawling for elasticsearch](https://discuss.elastic.co/t/crawling-for-elasticsearch/140523)

<div class="topic-metadata">

**Author:** [@katiyar](https://discuss.elastic.co/u/katiyar)\
**Replies:** 1\
**Last updated:** [July 18, 2018, 12:08pm UTC](https://discuss.elastic.co/t/crawling-for-elasticsearch/140523 "2018-07-18T12:08:44Z")

</div>

Hi, I am learning elasticsearch. How to configure crawling in elasticsearch ?

---

## [AWS SES configuration error](https://discuss.elastic.co/t/aws-ses-configuration-error/140532)

<div class="topic-metadata">

**Author:** [@rmannem](https://discuss.elastic.co/u/rmannem)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 11:49am UTC](https://discuss.elastic.co/t/aws-ses-configuration-error/140532 "2018-07-18T11:49:26Z")

</div>

As my mail verified in AWS SES is myname@mydomain.com. My configuration in /etc/elasticsearch/elasticsearch.yml is xpack.notification.email.account: ses\_account: smtp: auth: true starttls.enable: true starttls.req…

---

## [Batch bulk operation - wikidata large json](https://discuss.elastic.co/t/batch-bulk-operation-wikidata-large-json/140527)

<div class="topic-metadata">

**Author:** [@geppo](https://discuss.elastic.co/u/geppo)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 11:27am UTC](https://discuss.elastic.co/t/batch-bulk-operation-wikidata-large-json/140527 "2018-07-18T11:27:09Z")

</div>

I'm trying to indicize the wikidata entities dump - taken from here - creating a bulk json. I have manipulate the initial json in this way: {"index": {"\_type": "page", "\_id": 1}} {"type":"item","id":"Q26","labels":{"e…

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

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