# Elasticsearch

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

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

**Page:** 1830

---

## [Garbage collection frequency](https://discuss.elastic.co/t/garbage-collection-frequency/115251)

<div class="topic-metadata">

**Author:** [@dhireng](https://discuss.elastic.co/u/dhireng)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 10:36am UTC](https://discuss.elastic.co/t/garbage-collection-frequency/115251 "2018-01-12T10:36:05Z")

</div>

I have a 5 node ES cluster running ES2.4.4. 3 nodes are physical servers and 2 of them are VMs. All nodes have the same number of cores allocated for ES and the same amount of memory. All nodes (ofcourse) run exactly the…

---

## [Setting read\_only\_allow\_delete to false using cURL](https://discuss.elastic.co/t/setting-read-only-allow-delete-to-false-using-curl/115271)

<div class="topic-metadata">

**Author:** [@Amouzigh\_Driss](https://discuss.elastic.co/u/Amouzigh_Driss)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 10:26am UTC](https://discuss.elastic.co/t/setting-read-only-allow-delete-to-false-using-curl/115271 "2018-01-12T10:26:47Z")

</div>

Hello, I'm trying to use cURL command in order to set the parameter read\_only\_allow\_delete to false. I have cURL errors (either ' is not expected, or cannot resolved or unmatched close brace/bracked). I tried all thes…

---

## [java.security.cert.CertificateException: No subject alternative names present while connecting to domain names](https://discuss.elastic.co/t/java-security-cert-certificateexception-no-subject-alternative-names-present-while-connecting-to-domain-names/114804)

<div class="topic-metadata">

**Author:** [@vb4t](https://discuss.elastic.co/u/vb4t)\
**Replies:** 4\
**Last updated:** [January 12, 2018, 10:25am UTC](https://discuss.elastic.co/t/java-security-cert-certificateexception-no-subject-alternative-names-present-while-connecting-to-domain-names/114804 "2018-01-12T10:25:14Z")

</div>

I test the installation of elasticsearch + xpack on one single machine. I am having 3 nodes - es1.local, es2.local, es3.local, each node with different ports. I use discovery zen unicast hosts in form es1.local:PORT1, es…

---

## [Certgen instances.yaml](https://discuss.elastic.co/t/certgen-instances-yaml/114769)

<div class="topic-metadata">

**Author:** [@aaron.lang](https://discuss.elastic.co/u/aaron.lang)\
**Replies:** 3\
**Last updated:** [January 12, 2018, 10:15am UTC](https://discuss.elastic.co/t/certgen-instances-yaml/114769 "2018-01-12T10:15:22Z")

</div>

Hello, If I run certgen in silent mode and set all my nodes up in the instances.yaml file is that all I need to do to get the inter-node communication encrypted in the cluster? Do I only need to run certgen on a single…

---

## [Elasticsearch geo\_point mapping issue](https://discuss.elastic.co/t/elasticsearch-geo-point-mapping-issue/115222)

<div class="topic-metadata">

**Author:** [@thealitahir](https://discuss.elastic.co/u/thealitahir)\
**Replies:** 6\
**Last updated:** [January 12, 2018, 10:10am UTC](https://discuss.elastic.co/t/elasticsearch-geo-point-mapping-issue/115222 "2018-01-12T10:10:34Z")

</div>

I'm working on node js (version 6.1.0 ) application and using elasticsearch (version 5.0.1) in it. But I'm having issues in geo\_point query. The schema of my elasticsearch after assigning mapping is as follows, { "newt…

---

## [Java rest client: update single field within an (sub)object](https://discuss.elastic.co/t/java-rest-client-update-single-field-within-an-sub-object/115241)

<div class="topic-metadata">

**Author:** [@asp](https://discuss.elastic.co/u/asp)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 10:09am UTC](https://discuss.elastic.co/t/java-rest-client-update-single-field-within-an-sub-object/115241 "2018-01-12T10:09:34Z")

</div>

Hi all, I would like to update a single field from with java highlevel client. If possible I don't want to create the json by myself. Updating a field located in document root is working. But if I would like to update …

---

## [Override requestid or set a value of the mapped diagnostic context for elasticsearch?](https://discuss.elastic.co/t/override-requestid-or-set-a-value-of-the-mapped-diagnostic-context-for-elasticsearch/115260)

<div class="topic-metadata">

**Author:** [@blommis](https://discuss.elastic.co/u/blommis)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 9:53am UTC](https://discuss.elastic.co/t/override-requestid-or-set-a-value-of-the-mapped-diagnostic-context-for-elasticsearch/115260 "2018-01-12T09:53:22Z")

</div>

Is it possible to override or set request\_id in logging? We are using MDC, Mapped Diagnostic Context, to set a transaction/context id, such as every request logs a transaction log. But the few times there is a log mess…

---

## [Elasticsearch bool query](https://discuss.elastic.co/t/elasticsearch-bool-query/114205)

<div class="topic-metadata">

**Author:** [@HilalB](https://discuss.elastic.co/u/HilalB)\
**Replies:** 2\
**Last updated:** [January 12, 2018, 9:50am UTC](https://discuss.elastic.co/t/elasticsearch-bool-query/114205 "2018-01-12T09:50:15Z")

</div>

GET /school/\_search { "query": { "bool": { "disable\_coord": true, "should": \[ { "bool": { "must": \[ { "…

---

## [Nest updated 5.5.0 to 6.0.0 problem](https://discuss.elastic.co/t/nest-updated-5-5-0-to-6-0-0-problem/114746)

<div class="topic-metadata">

**Author:** [@aslamy](https://discuss.elastic.co/u/aslamy)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 9:26am UTC](https://discuss.elastic.co/t/nest-updated-5-5-0-to-6-0-0-problem/114746 "2018-01-12T09:26:38Z")

</div>

My project crashes after I updated Nest 5.5.0 to 6.0.0. I get this exception: Could not load type 'Newtonsoft.Json.JsonReader+d\_\_1' from assembly 'Nest, Version=6.0.0.0, Culture=neutral, PublicKeyToken=96c599bbe3e70f5d…

---

## [Query slowdown from 2.4 -\> 6.1](https://discuss.elastic.co/t/query-slowdown-from-2-4-6-1/114967)

<div class="topic-metadata">

**Author:** [@tmandke](https://discuss.elastic.co/u/tmandke)\
**Replies:** 4\
**Last updated:** [January 12, 2018, 9:24am UTC](https://discuss.elastic.co/t/query-slowdown-from-2-4-6-1/114967 "2018-01-12T09:24:47Z")

</div>

The following query slows down 5x when we switched from ES 2.4 to 6.1 { "profile": true, "query": { "bool": { "must": \[ { "multi\_match": { "query": "abcd", "fields…

---

## [Nest dependencies](https://discuss.elastic.co/t/nest-dependencies/114755)

<div class="topic-metadata">

**Author:** [@aslamy](https://discuss.elastic.co/u/aslamy)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 9:22am UTC](https://discuss.elastic.co/t/nest-dependencies/114755 "2018-01-12T09:22:40Z")

</div>

Does NEST 6.0.0 dependency on Newtonsoft.Json ?

---

## [Is there a Elasticsearch 6.x changes listener?](https://discuss.elastic.co/t/is-there-a-elasticsearch-6-x-changes-listener/114414)

<div class="topic-metadata">

**Author:** [@wenkzz31](https://discuss.elastic.co/u/wenkzz31)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 9:16am UTC](https://discuss.elastic.co/t/is-there-a-elasticsearch-6-x-changes-listener/114414 "2018-01-12T09:16:16Z")

</div>

I've seen changes plugin that are available mostly on Elasticsearch versions 5.4 and below. Is there a way or plugin for Elasticsearch 6.x that I can track or save changes made in the index? I'm using the Java High Leve…

---

## [Profiling query show shard latency](https://discuss.elastic.co/t/profiling-query-show-shard-latency/114123)

<div class="topic-metadata">

**Author:** [@tcheronneau](https://discuss.elastic.co/u/tcheronneau)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 9:15am UTC](https://discuss.elastic.co/t/profiling-query-show-shard-latency/114123 "2018-01-12T09:15:14Z")

</div>

Hello everyone, I'm facing a strange situation. I'm trying to optimize a cluster of elasticsearch and during my research I tried the search profiler. Here is my query : { "query":{ "regexp" : { "host":"myhost.\*" …

---

## [Elasticsearch: total term frequency and doc count from given set of documents](https://discuss.elastic.co/t/elasticsearch-total-term-frequency-and-doc-count-from-given-set-of-documents/115223)

<div class="topic-metadata">

**Author:** [@prasoonkirar](https://discuss.elastic.co/u/prasoonkirar)\
**Replies:** 4\
**Last updated:** [January 12, 2018, 8:36am UTC](https://discuss.elastic.co/t/elasticsearch-total-term-frequency-and-doc-count-from-given-set-of-documents/115223 "2018-01-12T08:36:48Z")

</div>

I am trying to get total term frequency and document count from given set of documents, but \_termvectors in elasticsearch returns ttf and doc\_count from all documents within the index. Is there any way so that I can spec…

---

## [Rally error while running against custom track and custom data](https://discuss.elastic.co/t/rally-error-while-running-against-custom-track-and-custom-data/114963)

<div class="topic-metadata">

**Author:** [@dipanjan44](https://discuss.elastic.co/u/dipanjan44)\
**Replies:** 6\
**Last updated:** [January 12, 2018, 6:40am UTC](https://discuss.elastic.co/t/rally-error-while-running-against-custom-track-and-custom-data/114963 "2018-01-12T06:40:40Z")

</div>

INFO\] Writing logs to /Users/.rally/logs/rally\_out\_20180110T211006Z.log \[INFO\] Preparing for race ... \[INFO\] Rally will delete the benchmark candidate after the benchmark \[INFO\] Racing on track \[contactdata\], challeng…

---

## [Problem with parentheses](https://discuss.elastic.co/t/problem-with-parentheses/115225)

<div class="topic-metadata">

**Author:** [@anjireddy543](https://discuss.elastic.co/u/anjireddy543)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 6:40am UTC](https://discuss.elastic.co/t/problem-with-parentheses/115225 "2018-01-12T06:40:00Z")

</div>

Hi, stmt1 :- I need to search text inside parentheses only if user specifies otherwise inside parentheses not searchable. tried sol: used whitespace analyser and if parentheses in string then string passing like '\\8(1)…

---

## [Sorting index via reindex API](https://discuss.elastic.co/t/sorting-index-via-reindex-api/115221)

<div class="topic-metadata">

**Author:** [@Zhengcong\_Yin](https://discuss.elastic.co/u/Zhengcong_Yin)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 6:37am UTC](https://discuss.elastic.co/t/sorting-index-via-reindex-api/115221 "2018-01-12T06:37:50Z")

</div>

I just wonder if I could use Reindex API to index documents with sorting index enabled？ The documentation does not mention this function.

---

## [Looking for Publicly Available ES Demo](https://discuss.elastic.co/t/looking-for-publicly-available-es-demo/115224)

<div class="topic-metadata">

**Author:** [@rally-point](https://discuss.elastic.co/u/rally-point)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 6:19am UTC](https://discuss.elastic.co/t/looking-for-publicly-available-es-demo/115224 "2018-01-12T06:19:28Z")

</div>

Hi there, I'm wondering if there are any publicly available ES applications out there that I could include in a presentation I'm giving soon? I'm not looking to claim credit for anyone else's work, just trying to highlig…

---

## [Elastic search - Get each conditions count along with result result](https://discuss.elastic.co/t/elastic-search-get-each-conditions-count-along-with-result-result/115214)

<div class="topic-metadata">

**Author:** [@ketan.bajwal](https://discuss.elastic.co/u/ketan.bajwal)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 5:45am UTC](https://discuss.elastic.co/t/elastic-search-get-each-conditions-count-along-with-result-result/115214 "2018-01-12T05:45:30Z")

</div>

Hello, My requirement is to fetch the count of each creteria as well for each conditions along with the result. For example : If the query is to search documents having firstname equal to ‘Charles’ or city equal to ‘Ne…

---

## [Reasons for upsert failure in bulk request](https://discuss.elastic.co/t/reasons-for-upsert-failure-in-bulk-request/114448)

<div class="topic-metadata">

**Author:** [@karthik\_s1](https://discuss.elastic.co/u/karthik_s1)\
**Replies:** 2\
**Last updated:** [January 12, 2018, 5:22am UTC](https://discuss.elastic.co/t/reasons-for-upsert-failure-in-bulk-request/114448 "2018-01-12T05:22:44Z")

</div>

I would like to know under which circumstances upserts can fail. We had been doings inserts and upserts through logstash. Many a times we have noticed that some upsert doesn't happen at the same time inserts would have g…

---

## [How dfs\_query\_then\_fetch works?](https://discuss.elastic.co/t/how-dfs-query-then-fetch-works/114995)

<div class="topic-metadata">

**Author:** [@ankur\_singla](https://discuss.elastic.co/u/ankur_singla)\
**Replies:** 5\
**Last updated:** [January 12, 2018, 3:36am UTC](https://discuss.elastic.co/t/how-dfs-query-then-fetch-works/114995 "2018-01-12T03:36:50Z")

</div>

Hi guys As per my understanding dfs\_query\_then\_fetch is used to get accurate results over multiple shards. Term aggregation returns the approximate count per term(still confused with how it calculates documents errors)…

---

## [java.lang.OutOfMemoryError at org.apache.lucene.util.packed.Direct8.\<init\>(Direct8.java:36)](https://discuss.elastic.co/t/java-lang-outofmemoryerror-at-org-apache-lucene-util-packed-direct8-init-direct8-java-36/115200)

<div class="topic-metadata">

**Author:** [@gilles17](https://discuss.elastic.co/u/gilles17)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 2:05am UTC](https://discuss.elastic.co/t/java-lang-outofmemoryerror-at-org-apache-lucene-util-packed-direct8-init-direct8-java-36/115200 "2018-01-12T02:05:30Z")

</div>

I have got the error log below, anyone may help? \[2018-01-11T15:50:37,742\]\[ERROR\]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[node-2\] fatal error in thread \[elasticsearch\[node-2\]\[search\]\[T#1\]\], exiting java.lang.OutO…

---

## [Matching a number beginning with 22](https://discuss.elastic.co/t/matching-a-number-beginning-with-22/114998)

<div class="topic-metadata">

**Author:** [@Jothini](https://discuss.elastic.co/u/Jothini)\
**Replies:** 2\
**Last updated:** [January 11, 2018, 11:55pm UTC](https://discuss.elastic.co/t/matching-a-number-beginning-with-22/114998 "2018-01-11T23:55:52Z")

</div>

Hi So I want to match numbers in Kibana for a field that begin with 22 But don't know what the regex pattern is can anyone help me to solve this please Thanks Jothini

---

## [Snapshot problems with Amazon S3](https://discuss.elastic.co/t/snapshot-problems-with-amazon-s3/111765)

<div class="topic-metadata">

**Author:** [@baltendo](https://discuss.elastic.co/u/baltendo)\
**Replies:** 11\
**Last updated:** [January 11, 2018, 11:52pm UTC](https://discuss.elastic.co/t/snapshot-problems-with-amazon-s3/111765 "2018-01-11T23:52:35Z")

</div>

Hi! Elasticsearch: 5.4.2 Cloud: AWS OS: Amazon Linux Since 17th of November we get failures when our daily backup snapshots are created: "failures": \[ { "index": "user-reviews", "index\_uu…

---

## [How can connect from android studio to elasticsearch](https://discuss.elastic.co/t/how-can-connect-from-android-studio-to-elasticsearch/115156)

<div class="topic-metadata">

**Author:** [@yaser](https://discuss.elastic.co/u/yaser)\
**Replies:** 1\
**Last updated:** [January 11, 2018, 11:42pm UTC](https://discuss.elastic.co/t/how-can-connect-from-android-studio-to-elasticsearch/115156 "2018-01-11T23:42:25Z")

</div>

How can connect from android studio to elasticsearch and fetch data from elasticsearch ? is there any library? any example ?

---

## [Personalized search solutions](https://discuss.elastic.co/t/personalized-search-solutions/115103)

<div class="topic-metadata">

**Author:** [@elitzur\_e](https://discuss.elastic.co/u/elitzur_e)\
**Replies:** 1\
**Last updated:** [January 11, 2018, 11:33pm UTC](https://discuss.elastic.co/t/personalized-search-solutions/115103 "2018-01-11T23:33:49Z")

</div>

Hi. i was wondering if there is some official Personalized search solution? meaning, i would like to show users more results that have something to do with what the users searched before or what other pepole searched. …

---

## [A few Painless questions](https://discuss.elastic.co/t/a-few-painless-questions/115143)

<div class="topic-metadata">

**Author:** [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Replies:** 1\
**Last updated:** [January 11, 2018, 11:05pm UTC](https://discuss.elastic.co/t/a-few-painless-questions/115143 "2018-01-11T23:05:36Z")

</div>

I'm trying to get a better understanding of Painless and one thing that seems unclear to me is the doc field: What is the difference between doc\['field\_name'\] and doc\['field\_name'\].value? Do I access nested fields like…

---

## [Can't match this phrase!](https://discuss.elastic.co/t/cant-match-this-phrase/113970)

<div class="topic-metadata">

**Author:** [@The\_Juke\_Box\_Hero](https://discuss.elastic.co/u/The_Juke_Box_Hero)\
**Replies:** 10\
**Last updated:** [January 11, 2018, 10:35pm UTC](https://discuss.elastic.co/t/cant-match-this-phrase/113970 "2018-01-11T22:35:10Z")

</div>

Hi Elastic team, I've been trying to fix an issue with our match for a few days now where my search for this phrase "Finished IT Project" won't match anything, here is what I have tried so far: 1- Removed IT as stop wo…

---

## [How to read big index (ten GB) from elastic](https://discuss.elastic.co/t/how-to-read-big-index-ten-gb-from-elastic/114694)

<div class="topic-metadata">

**Author:** [@momocg](https://discuss.elastic.co/u/momocg)\
**Replies:** 1\
**Last updated:** [January 11, 2018, 9:38pm UTC](https://discuss.elastic.co/t/how-to-read-big-index-ten-gb-from-elastic/114694 "2018-01-11T21:38:50Z")

</div>

I want to read big index( ten GB) from elasticsearch with spark. Is there any advices ?

---

## [Handling failures on saveToES](https://discuss.elastic.co/t/handling-failures-on-savetoes/114631)

<div class="topic-metadata">

**Author:** [@cerebrotecnologico](https://discuss.elastic.co/u/cerebrotecnologico)\
**Replies:** 1\
**Last updated:** [January 11, 2018, 9:35pm UTC](https://discuss.elastic.co/t/handling-failures-on-savetoes/114631 "2018-01-11T21:35:14Z")

</div>

It has been a while since the thread "Catching exceptions from saveToEs (elasticsearch-spark)" was posted, but apparently there isn't anything new to handle these failures. Ideally, we would like to fallback into sendi…

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

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