# Elasticsearch

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

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

**Page:** 963

---

## [Getting a specific term / phrase suggestion](https://discuss.elastic.co/t/getting-a-specific-term-phrase-suggestion/227140)

<div class="topic-metadata">

**Author:** [@elastic7](https://discuss.elastic.co/u/elastic7)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 1:54pm UTC](https://discuss.elastic.co/t/getting-a-specific-term-phrase-suggestion/227140 "2020-04-08T13:54:28Z")

</div>

I am looking to get a specific set of results from a suggester. I am indexing a bunch of documents that have keywords like the following: "shop in berlin" "restaurant in frankfurt" When the user enters a search term li…

---

## [Query string containing the "/" (forward slash) raises the error "Cannot parse ... Encountered: \<EOF\>"](https://discuss.elastic.co/t/query-string-containing-the-forward-slash-raises-the-error-cannot-parse-encountered-eof/226645)

<div class="topic-metadata">

**Author:** [@Josip\_Cagalj](https://discuss.elastic.co/u/Josip_Cagalj)\
**Replies:** 9\
**Last updated:** [April 8, 2020, 1:41pm UTC](https://discuss.elastic.co/t/query-string-containing-the-forward-slash-raises-the-error-cannot-parse-encountered-eof/226645 "2020-04-08T13:41:37Z")

</div>

Hi, I'm encountering the above-mentioned error when I'm searching for a document using: "query\_string": { "default\_field": "innerId.txt", "query": "XMT01/195077567" } I'm getting the parse exception error "Cann…

---

## [Snapshot to S3 compatible storage issue](https://discuss.elastic.co/t/snapshot-to-s3-compatible-storage-issue/226510)

<div class="topic-metadata">

**Author:** [@Sergey\_Mucha](https://discuss.elastic.co/u/Sergey_Mucha)\
**Replies:** 4\
**Last updated:** [April 8, 2020, 12:37pm UTC](https://discuss.elastic.co/t/snapshot-to-s3-compatible-storage-issue/226510 "2020-04-08T12:37:44Z")

</div>

Stack ES 6.8.2 Minio S3 VERSION: 2019-10-12T01:39:57Z I have es cluster running. When I try to create repo for s3 on minio with { "type": "s3", "settings": { "bucket": "elasticsearch-backups", "endpoint": "dns…

---

## [Best approach for field mapping limit alerts?](https://discuss.elastic.co/t/best-approach-for-field-mapping-limit-alerts/227122)

<div class="topic-metadata">

**Author:** [@andrew\_h](https://discuss.elastic.co/u/andrew_h)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 12:23pm UTC](https://discuss.elastic.co/t/best-approach-for-field-mapping-limit-alerts/227122 "2020-04-08T12:23:12Z")

</div>

Hi folks, I've just recently started to work with ElasticSearch and Kibana. My development team have stood-up our own EK stack (ElasticSearch w/Kibana - no Logstash). Everything has been going reasonably smooth so far b…

---

## [Time range query performance \[7.6\]](https://discuss.elastic.co/t/time-range-query-performance-7-6/223194)

<div class="topic-metadata">

**Author:** [@itizir](https://discuss.elastic.co/u/itizir)\
**Replies:** 17\
**Last updated:** [March 24, 2020, 3:03pm UTC](https://discuss.elastic.co/t/time-range-query-performance-7-6/223194 "2020-03-24T15:03:19Z")

</div>

Hello! While investigating the performance of time range queries, I found some surprising things, and was wondering if anyone had insights to share as to what optimisations or heuristics happen behind the scenes that mi…

---

## [ElasticSearch: How to make an aggregation pipeline?](https://discuss.elastic.co/t/elasticsearch-how-to-make-an-aggregation-pipeline/227118)

<div class="topic-metadata">

**Author:** [@ayodev](https://discuss.elastic.co/u/ayodev)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 11:59am UTC](https://discuss.elastic.co/t/elasticsearch-how-to-make-an-aggregation-pipeline/227118 "2020-04-08T11:59:24Z")

</div>

Imagine the following use case: We work at Stark Airlines and our marketing team wants to segment our passengers in order to give them discounts or gift cards. They decide that they want two sets of passengers: Passen…

---

## [How request to Elasticsearch any node works?](https://discuss.elastic.co/t/how-request-to-elasticsearch-any-node-works/227113)

<div class="topic-metadata">

**Author:** [@Daud\_Ahmed](https://discuss.elastic.co/u/Daud_Ahmed)\
**Replies:** 2\
**Last updated:** [April 8, 2020, 11:39am UTC](https://discuss.elastic.co/t/how-request-to-elasticsearch-any-node-works/227113 "2020-04-08T11:39:51Z")

</div>

Hi, it's quite a simple question as i am new to the world of elastic search. As i have different node in my Elasticsearch cluster each one of them have their elasticsearch API running ...... if we make request to any o…

---

## [What is the best value to use for preference parameter when quering elastic search directly from custom dashboard?](https://discuss.elastic.co/t/what-is-the-best-value-to-use-for-preference-parameter-when-quering-elastic-search-directly-from-custom-dashboard/227111)

<div class="topic-metadata">

**Author:** [@Daud\_Ahmed](https://discuss.elastic.co/u/Daud_Ahmed)\
**Replies:** 4\
**Last updated:** [April 8, 2020, 11:38am UTC](https://discuss.elastic.co/t/what-is-the-best-value-to-use-for-preference-parameter-when-quering-elastic-search-directly-from-custom-dashboard/227111 "2020-04-08T11:38:28Z")

</div>

hi, We query elastic search using node but the thing is we do have preference parameter in our queries as we don't have an idea which value will be the best to use for preference as shards are managed by the elasticsear…

---

## [Elastic Search pods crashing repeatedly after TLS configuration with Elastic 7.6.2 Helm Chart](https://discuss.elastic.co/t/elastic-search-pods-crashing-repeatedly-after-tls-configuration-with-elastic-7-6-2-helm-chart/226914)

<div class="topic-metadata">

**Author:** [@Abu84](https://discuss.elastic.co/u/Abu84)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 11:36am UTC](https://discuss.elastic.co/t/elastic-search-pods-crashing-repeatedly-after-tls-configuration-with-elastic-7-6-2-helm-chart/226914 "2020-04-08T11:36:13Z")

</div>

We are trying to setup Elastic and Kibana helm charts with SSL from elastic repo. We have been able to follow the documentation and set it up but the pods start crashing after 5 mins and keep crashing continuously witho…

---

## [\[Elasticsearch.NET 7\] Breaking change on HttpConnection - how to solve?](https://discuss.elastic.co/t/elasticsearch-net-7-breaking-change-on-httpconnection-how-to-solve/206940)

<div class="topic-metadata">

**Author:** [@Ankona](https://discuss.elastic.co/u/Ankona)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 11:35am UTC](https://discuss.elastic.co/t/elasticsearch-net-7-breaking-change-on-httpconnection-how-to-solve/206940 "2020-04-08T11:35:53Z")

</div>

Hi, I am using a hack to solve some internal ssl issues (self signed certificates at dev and environments) By updating the libraries from NEST 6.x to 7.4.0 my code is broken by a breaking change. I am using a class de…

---

## [How to setup monitoring cluser in elastic cloud](https://discuss.elastic.co/t/how-to-setup-monitoring-cluser-in-elastic-cloud/227109)

<div class="topic-metadata">

**Author:** [@Jasonespo](https://discuss.elastic.co/u/Jasonespo)\
**Replies:** 5\
**Last updated:** [April 8, 2020, 11:30am UTC](https://discuss.elastic.co/t/how-to-setup-monitoring-cluser-in-elastic-cloud/227109 "2020-04-08T11:30:40Z")

</div>

Hi, I was directed here by an elastic cloud engineer even though i'm sure you guys will direct me back away from it as I know it's not the right place. However, I have been trying to set up a monitoring cluster for our…

---

## [Multi process search performance](https://discuss.elastic.co/t/multi-process-search-performance/227103)

<div class="topic-metadata">

**Author:** [@Sunho\_Lee](https://discuss.elastic.co/u/Sunho_Lee)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 10:52am UTC](https://discuss.elastic.co/t/multi-process-search-performance/227103 "2020-04-08T10:52:46Z")

</div>

Hi everybody. I have strange results that multi-process search too slow. I have tested that 35 billion documents in 1 index vs 3.5 billion documents in 10 index. I used 7.6 version elasticsearch. and 2 data nodes (52 …

---

## [Class file for org.elasticsearch.common.xcontent.ToXContentObject not found](https://discuss.elastic.co/t/class-file-for-org-elasticsearch-common-xcontent-toxcontentobject-not-found/226928)

<div class="topic-metadata">

**Author:** [@Bengisu](https://discuss.elastic.co/u/Bengisu)\
**Replies:** 4\
**Last updated:** [April 8, 2020, 9:22am UTC](https://discuss.elastic.co/t/class-file-for-org-elasticsearch-common-xcontent-toxcontentobject-not-found/226928 "2020-04-08T09:22:05Z")

</div>

Hello, I am trying to configure the Java High Level REST Client by using https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.6/java-rest-high-getting-started-maven.html document. I am using gradle as a dep…

---

## [Security enabled for all communications to an Elasticsearch cluster including communications from application servers](https://discuss.elastic.co/t/security-enabled-for-all-communications-to-an-elasticsearch-cluster-including-communications-from-application-servers/227054)

<div class="topic-metadata">

**Author:** [@ashish](https://discuss.elastic.co/u/ashish)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 8:16am UTC](https://discuss.elastic.co/t/security-enabled-for-all-communications-to-an-elasticsearch-cluster-including-communications-from-application-servers/227054 "2020-04-08T08:16:10Z")

</div>

I am using spring-boot 2.1.6.RELEASE and elasticsearch-rest-high-level-client 7.4.2 . At present I am working on enabling security for all communication to an Elasrticsearch including communication to/from my applica…

---

## [Backup and restore elasticsearch](https://discuss.elastic.co/t/backup-and-restore-elasticsearch/226637)

<div class="topic-metadata">

**Author:** [@Madhu\_Cherukuri](https://discuss.elastic.co/u/Madhu_Cherukuri)\
**Replies:** 17\
**Last updated:** [April 8, 2020, 8:06am UTC](https://discuss.elastic.co/t/backup-and-restore-elasticsearch/226637 "2020-04-08T08:06:30Z")

</div>

Hello, in-order to take backup while creating path.repo in /etc/elaticsearch/elasticsearch.yml, the elasticsearch is failing to start its beeing in stoped state dont know what is the issue below config file ==========…

---

## [Writing data in ES from databricks](https://discuss.elastic.co/t/writing-data-in-es-from-databricks/227073)

<div class="topic-metadata">

**Author:** [@dadadima](https://discuss.elastic.co/u/dadadima)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 7:51am UTC](https://discuss.elastic.co/t/writing-data-in-es-from-databricks/227073 "2020-04-08T07:51:31Z")

</div>

I am trying to write data into ES from databricks. This is the official documentation. As you can see it uses the ES hadoop package. I have correctly installed the jar for spark into databricks and now I need to pass so…

---

## [Separate ES nodes with single Kibana instance](https://discuss.elastic.co/t/separate-es-nodes-with-single-kibana-instance/227069)

<div class="topic-metadata">

**Author:** [@aimarjg](https://discuss.elastic.co/u/aimarjg)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 7:36am UTC](https://discuss.elastic.co/t/separate-es-nodes-with-single-kibana-instance/227069 "2020-04-08T07:36:45Z")

</div>

Hi, I'm having an ELK architecture question; Currently I'm running full ELK stack on single server in one location (EU) and this does a good job over there, but now plans have changed and I need to grab data from 2 addi…

---

## [Can FsCrawler index files from sharepoint site url which can be accessed through ec2 instance in VPN tunnel?](https://discuss.elastic.co/t/can-fscrawler-index-files-from-sharepoint-site-url-which-can-be-accessed-through-ec2-instance-in-vpn-tunnel/227053)

<div class="topic-metadata">

**Author:** [@Lisahtwy](https://discuss.elastic.co/u/Lisahtwy)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 7:31am UTC](https://discuss.elastic.co/t/can-fscrawler-index-files-from-sharepoint-site-url-which-can-be-accessed-through-ec2-instance-in-vpn-tunnel/227053 "2020-04-08T07:31:46Z")

</div>

Hello, I was thinking about this scenario.. If I have a EC2 windows instance(or Linux) which was connected to a share point VM through VPN tunnel.The EC2 instance is able to access the SharePoint site URL(contains some…

---

## [How to restore an elasticsearch. shard from an index](https://discuss.elastic.co/t/how-to-restore-an-elasticsearch-shard-from-an-index/226905)

<div class="topic-metadata">

**Author:** [@Sukanta\_Saha](https://discuss.elastic.co/u/Sukanta_Saha)\
**Replies:** 3\
**Last updated:** [April 8, 2020, 7:27am UTC](https://discuss.elastic.co/t/how-to-restore-an-elasticsearch-shard-from-an-index/226905 "2020-04-08T07:27:09Z")

</div>

Is there a way to restore a particular shard from index using elasticsearch snapshot api

---

## [How to index multiple root directories](https://discuss.elastic.co/t/how-to-index-multiple-root-directories/225710)

<div class="topic-metadata">

**Author:** [@Lisahtwy](https://discuss.elastic.co/u/Lisahtwy)\
**Replies:** 2\
**Last updated:** [April 8, 2020, 4:58am UTC](https://discuss.elastic.co/t/how-to-index-multiple-root-directories/225710 "2020-04-08T04:58:54Z")

</div>

Hi, Suppose, I have multiple root directories such as /root1 and /root2. But under "/" I also have many folders that I don't want to index. What would be the best case to index the files in the above root directories? …

---

## [Where to add client certificates in elasticsearch](https://discuss.elastic.co/t/where-to-add-client-certificates-in-elasticsearch/227050)

<div class="topic-metadata">

**Author:** [@bikkina\_mahesh](https://discuss.elastic.co/u/bikkina_mahesh)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 4:48am UTC](https://discuss.elastic.co/t/where-to-add-client-certificates-in-elasticsearch/227050 "2020-04-08T04:48:22Z")

</div>

I am running an elastic cluster 7.2.0 with xpack security. Now in my case, Elasticsearch need to connect s3(through repository-s3 plugin) which runs on mTLS. Where to add these s3 client certificates in elasticsearch ? …

---

## [Json logging (ESJsonLayout) custom pattern](https://discuss.elastic.co/t/json-logging-esjsonlayout-custom-pattern/227047)

<div class="topic-metadata">

**Author:** [@mattweber](https://discuss.elastic.co/u/mattweber)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 3:55am UTC](https://discuss.elastic.co/t/json-logging-esjsonlayout-custom-pattern/227047 "2020-04-08T03:55:55Z")

</div>

How do I customize the logging pattern for ESJsonLayout? Specifically I want to disable the 10k character limit of the message field \[1\]. \[1\] https://github.com/elastic/elasticsearch/blob/v7.6.2/server/src/main/java/or…

---

## [Having issues with elasticsearch encryption](https://discuss.elastic.co/t/having-issues-with-elasticsearch-encryption/226821)

<div class="topic-metadata">

**Author:** [@brb44](https://discuss.elastic.co/u/brb44)\
**Replies:** 6\
**Last updated:** [April 8, 2020, 3:41am UTC](https://discuss.elastic.co/t/having-issues-with-elasticsearch-encryption/226821 "2020-04-08T03:41:45Z")

</div>

I'm trying to enable encryption for elasticsearch cluster (3 nodes) and was able to do tls and http. when I turn on the xpack.security.enabled: true one node is asking for the authentication and other is not. License typ…

---

## [Creating my own binary sorting collation, how to store in Elastic?](https://discuss.elastic.co/t/creating-my-own-binary-sorting-collation-how-to-store-in-elastic/226860)

<div class="topic-metadata">

**Author:** [@JJK](https://discuss.elastic.co/u/JJK)\
**Replies:** 2\
**Last updated:** [April 8, 2020, 3:37am UTC](https://discuss.elastic.co/t/creating-my-own-binary-sorting-collation-how-to-store-in-elastic/226860 "2020-04-08T03:37:53Z")

</div>

I have my own binary fields that store a sorting collation in my current database. These are created with some very specific rules. I'd like to store these in Elastic and have Elastic sort by that field. But it appear…

---

## [Max\_num\_segments is not working for forcemerge](https://discuss.elastic.co/t/max-num-segments-is-not-working-for-forcemerge/226855)

<div class="topic-metadata">

**Author:** [@quweiyu](https://discuss.elastic.co/u/quweiyu)\
**Replies:** 3\
**Last updated:** [April 8, 2020, 1:11am UTC](https://discuss.elastic.co/t/max-num-segments-is-not-working-for-forcemerge/226855 "2020-04-08T01:11:57Z")

</div>

All, I am going to do force merge for one of index (4 primary shard and 0 replica). To reduce the IO impact, I'd like to merge into 4 segments for each shard. So I use following command, POST /rms\_pl\_03-viewer-cdr-invi…

---

## [Nest for Generic Object index](https://discuss.elastic.co/t/nest-for-generic-object-index/226890)

<div class="topic-metadata">

**Author:** [@4ea9049c983a41c5ecf0](https://discuss.elastic.co/u/4ea9049c983a41c5ecf0)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 12:25am UTC](https://discuss.elastic.co/t/nest-for-generic-object-index/226890 "2020-04-08T00:25:33Z")

</div>

Hi All, I want to index the .NET class object. There are multiple classes I have so want to keep the index generic, is there any way to do so in Nest ? I have tried dynamic but it didn't work for me.

---

## [Increasing data size of existing track nyc\_taxis](https://discuss.elastic.co/t/increasing-data-size-of-existing-track-nyc-taxis/224748)

<div class="topic-metadata">

**Author:** [@ven100](https://discuss.elastic.co/u/ven100)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 9:05pm UTC](https://discuss.elastic.co/t/increasing-data-size-of-existing-track-nyc-taxis/224748 "2020-04-07T21:05:05Z")

</div>

To create large data size of as per this suggestion. I created a new custom track folder and set the index count as 5, also copied all the other files & directories from default "nyc\_taxis" under this new track folder …

---

## [Redirect to another url instead of search results](https://discuss.elastic.co/t/redirect-to-another-url-instead-of-search-results/227004)

<div class="topic-metadata">

**Author:** [@arch27](https://discuss.elastic.co/u/arch27)\
**Replies:** 1\
**Last updated:** [April 7, 2020, 8:16pm UTC](https://discuss.elastic.co/t/redirect-to-another-url-instead-of-search-results/227004 "2020-04-07T20:16:27Z")

</div>

Is it possible to redirect to another page when a certain keywords are searched? like when a user searches - special offer , instead of showing the result, the user should be taken to special offer page.

---

## [How to force Transform to run periodically?](https://discuss.elastic.co/t/how-to-force-transform-to-run-periodically/226413)

<div class="topic-metadata">

**Author:** [@roishibr](https://discuss.elastic.co/u/roishibr)\
**Replies:** 6\
**Last updated:** [April 7, 2020, 8:14pm UTC](https://discuss.elastic.co/t/how-to-force-transform-to-run-periodically/226413 "2020-04-07T20:14:47Z")

</div>

Hi there! Is there any way to run Transform periodically (e.g., at each 5 seconds) regardless of having an update in the sync date field of source index? I'm trying to use Transform to aggregate values ​​in a sliding w…

---

## [How to query Array of Objects](https://discuss.elastic.co/t/how-to-query-array-of-objects/226980)

<div class="topic-metadata">

**Author:** [@prathako](https://discuss.elastic.co/u/prathako)\
**Replies:** 0\
**Last updated:** [April 7, 2020, 6:25pm UTC](https://discuss.elastic.co/t/how-to-query-array-of-objects/226980 "2020-04-07T18:25:13Z")

</div>

Mapping: { "log":{ "properties":{ "detail":{ "type":"nested", "properties":{ "attribute":{ "type":"text", "fields":{ …

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

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