# Elasticsearch

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

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

**Page:** 1158

---

## [Dynamic mapping: Confusing type inference behaviour](https://discuss.elastic.co/t/dynamic-mapping-confusing-type-inference-behaviour/197371)

<div class="topic-metadata">

**Author:** [@timost](https://discuss.elastic.co/u/timost)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 11:17am UTC](https://discuss.elastic.co/t/dynamic-mapping-confusing-type-inference-behaviour/197371 "2019-09-13T11:17:32Z")

</div>

Hi, I'm using Elasticsearch 6.8.2. I've been playing with mappings and I've stumbled across this behavior for which I can't find an explanation: # Step 0: Creating an index with dynamic mappings enabled PUT /test-data…

---

## [CreateIndexRequest is failing](https://discuss.elastic.co/t/createindexrequest-is-failing/199415)

<div class="topic-metadata">

**Author:** [@lucabes](https://discuss.elastic.co/u/lucabes)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 11:13am UTC](https://discuss.elastic.co/t/createindexrequest-is-failing/199415 "2019-09-13T11:13:23Z")

</div>

I have problem with create index. Using ELK 7.3 Getting error: MapperParsingException\[Failed to parse mapping \[properties\]: Root mapping definition has unsupported parameters: on request: CreateIndexRequest request =…

---

## [How to set refresh\_interval globally in runing elastic search cluster](https://discuss.elastic.co/t/how-to-set-refresh-interval-globally-in-runing-elastic-search-cluster/199225)

<div class="topic-metadata">

**Author:** [@arun.kumar92](https://discuss.elastic.co/u/arun.kumar92)\
**Replies:** 10\
**Last updated:** [September 13, 2019, 10:20am UTC](https://discuss.elastic.co/t/how-to-set-refresh-interval-globally-in-runing-elastic-search-cluster/199225 "2019-09-13T10:20:52Z")

</div>

Hi Team Kindly help me to configure refresh\_interval settings globally in running elastic search cluster Kindly go through the below command, Which I used to setup refresh\_interval curl -X PUT -k -u elastic:xxxxxx "h…

---

## [Integration elastalert and elasticsearch](https://discuss.elastic.co/t/integration-elastalert-and-elasticsearch/199405)

<div class="topic-metadata">

**Author:** [@zmira\_meriem](https://discuss.elastic.co/u/zmira_meriem)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 10:13am UTC](https://discuss.elastic.co/t/integration-elastalert-and-elasticsearch/199405 "2019-09-13T10:13:53Z")

</div>

hi i configure elastalert for alerting via mail if disk used is \> 50%. my config is: name: Disk alert type: metric\_aggregation es\_host: elasticsearch\_ip es\_port: 9200 index: metricbeat-\* #timeframe: hours: 1 #buf…

---

## [Not able to create certain possible indexes in kibana](https://discuss.elastic.co/t/not-able-to-create-certain-possible-indexes-in-kibana/199398)

<div class="topic-metadata">

**Author:** [@saddy](https://discuss.elastic.co/u/saddy)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 9:12am UTC](https://discuss.elastic.co/t/not-able-to-create-certain-possible-indexes-in-kibana/199398 "2019-09-13T09:12:33Z")

</div>

Hi Team, I am using KIBANA UI to create index patterns for my work but getting error while creating some of them. Although we have matching indices it's not going to the step 2 where we have options to select @timestamp …

---

## [Not able to map Fields in NestedModel in Nest Search API](https://discuss.elastic.co/t/not-able-to-map-fields-in-nestedmodel-in-nest-search-api/198500)

<div class="topic-metadata">

**Author:** [@vikasnew](https://discuss.elastic.co/u/vikasnew)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 9:08am UTC](https://discuss.elastic.co/t/not-able-to-map-fields-in-nestedmodel-in-nest-search-api/198500 "2019-09-13T09:08:58Z")

</div>

Hello, i am facing issue while getting data from elasticsearch. i am using NEST client version 7.3. i have my data stored in elasticsearch in following format: { "\_index": "custom-index-dev", "\_type": "logevent", "…

---

## [Query String query limited to sentence](https://discuss.elastic.co/t/query-string-query-limited-to-sentence/199387)

<div class="topic-metadata">

**Author:** [@philv](https://discuss.elastic.co/u/philv)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 8:22am UTC](https://discuss.elastic.co/t/query-string-query-limited-to-sentence/199387 "2019-09-13T08:22:46Z")

</div>

Hi All, I have a use case where I'd like to be able to use the mini language , or at least the boolean operator parser of the query string query on a document level or a sentence level. I can define sentences easily en…

---

## [Sort on collapsed best inner\_hit document field value](https://discuss.elastic.co/t/sort-on-collapsed-best-inner-hit-document-field-value/199284)

<div class="topic-metadata">

**Author:** [@ludovic\_boutros](https://discuss.elastic.co/u/ludovic_boutros)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 7:38am UTC](https://discuss.elastic.co/t/sort-on-collapsed-best-inner-hit-document-field-value/199284 "2019-09-13T07:38:19Z")

</div>

Hi all, I have documents which must be collapsed. I would like to sort the global result on a field of the best first document of each group. For instance : { "took" : 49, "timed\_out" : false, "\_shards" : { …

---

## [ELK 7 with shards failing](https://discuss.elastic.co/t/elk-7-with-shards-failing/199171)

<div class="topic-metadata">

**Author:** [@bcochofel](https://discuss.elastic.co/u/bcochofel)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 7:18am UTC](https://discuss.elastic.co/t/elk-7-with-shards-failing/199171 "2019-09-13T07:18:42Z")

</div>

Hi, I'm using Elk 7.3 and installed filebeat on a few linux servers. Now on kibana it appears N shards of NN failing when I open a dashboard. How can I solve this issue? Thanks, Bruno

---

## [Canvas Chained Elasticsearch SQL Queries](https://discuss.elastic.co/t/canvas-chained-elasticsearch-sql-queries/199274)

<div class="topic-metadata">

**Author:** [@wmcleod](https://discuss.elastic.co/u/wmcleod)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 7:04am UTC](https://discuss.elastic.co/t/canvas-chained-elasticsearch-sql-queries/199274 "2019-09-13T07:04:54Z")

</div>

Hi, I am trying to create a canvas visualisation that displays a line chart with data for the last 1 hour containing CPU metrics only from servers that have breached a CPU threshold at least once in the last 1 hour. I …

---

## [Elastic-search advanced search query issue](https://discuss.elastic.co/t/elastic-search-advanced-search-query-issue/198254)

<div class="topic-metadata">

**Author:** [@rameshkr1994](https://discuss.elastic.co/u/rameshkr1994)\
**Replies:** 21\
**Last updated:** [September 13, 2019, 6:54am UTC](https://discuss.elastic.co/t/elastic-search-advanced-search-query-issue/198254 "2019-09-13T06:54:45Z")

</div>

Dear All. I have some use case:- 01:- i have index(index01) that contains 8 fields :- fields like- a,b,c,d,e,f,g,h,i :- each fields has diff value 02:- now search condition here is? :- if i search for fields \[a:"a…

---

## [Readiness and Liveness probes for elasticsearch 6.3.0 on Kubernetes failing](https://discuss.elastic.co/t/readiness-and-liveness-probes-for-elasticsearch-6-3-0-on-kubernetes-failing/199370)

<div class="topic-metadata">

**Author:** [@kar251188](https://discuss.elastic.co/u/kar251188)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 6:40am UTC](https://discuss.elastic.co/t/readiness-and-liveness-probes-for-elasticsearch-6-3-0-on-kubernetes-failing/199370 "2019-09-13T06:40:00Z")

</div>

Hi guys, I am trying to setup EFK stack on Kubernetes . The Elasticsearch version being used is 6.3.2. Everything works fine until I place the probes configuration in the deployment YAML file. I am getting error as belo…

---

## [Head & KOPF Plugin](https://discuss.elastic.co/t/head-kopf-plugin/198583)

<div class="topic-metadata">

**Author:** [@tpngx](https://discuss.elastic.co/u/tpngx)\
**Replies:** 4\
**Last updated:** [September 13, 2019, 6:26am UTC](https://discuss.elastic.co/t/head-kopf-plugin/198583 "2019-09-13T06:26:53Z")

</div>

I've installed Elasticsearch 7.3 on a Ubuntu box with Kibana. Each time I run elastic I get this error, "\[elasticsearch.version\] is missing for plugin \[head\]". I had the same error for KOPF which lead down a rabbit hole …

---

## [Writing custom comparator for sort in kibana just like in Java](https://discuss.elastic.co/t/writing-custom-comparator-for-sort-in-kibana-just-like-in-java/199366)

<div class="topic-metadata">

**Author:** [@Pravin\_Joshi](https://discuss.elastic.co/u/Pravin_Joshi)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 6:15am UTC](https://discuss.elastic.co/t/writing-custom-comparator-for-sort-in-kibana-just-like-in-java/199366 "2019-09-13T06:15:28Z")

</div>

Hi, I'm newbie to Kibana and i want to write custom comparator for sorting in Kibana. Given 2 records, I want to run some logic and say which is greater and smaller. I have a field which has vector values and i want t…

---

## [How to take elasticsearch index backup to HDFS](https://discuss.elastic.co/t/how-to-take-elasticsearch-index-backup-to-hdfs/199241)

<div class="topic-metadata">

**Author:** [@sundarcse1216](https://discuss.elastic.co/u/sundarcse1216)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 6:10am UTC](https://discuss.elastic.co/t/how-to-take-elasticsearch-index-backup-to-hdfs/199241 "2019-09-13T06:10:51Z")

</div>

Hi All, Good day all.. I want to take elasticsearch index backup and store into HDFS. Can anyone please help me? Thanks, Sundar.

---

## [How to include diacritic words(ex- PVÖL) in search response](https://discuss.elastic.co/t/how-to-include-diacritic-words-ex-pvol-in-search-response/199360)

<div class="topic-metadata">

**Author:** [@MKU](https://discuss.elastic.co/u/MKU)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 6:01am UTC](https://discuss.elastic.co/t/how-to-include-diacritic-words-ex-pvol-in-search-response/199360 "2019-09-13T06:01:40Z")

</div>

Hi, I have documents which have words like PVÖL. But they are not included in the search. here is my mapping: { "mappings":{ "dynamic"=false, "properties":{ "street":{"type":"search\_as\_you\_type","analyzer":"diacritic…

---

## [Clone production cluster](https://discuss.elastic.co/t/clone-production-cluster/199315)

<div class="topic-metadata">

**Author:** [@bana201](https://discuss.elastic.co/u/bana201)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 5:49am UTC](https://discuss.elastic.co/t/clone-production-cluster/199315 "2019-09-13T05:49:16Z")

</div>

I'm new to elasticsearch and would like to know the best way to do this Basically I'm trying to clone a production cluster and then use it for testing it needs to be a complete copy and should not interrupt the producti…

---

## [Clone production cluster](https://discuss.elastic.co/t/clone-production-cluster/199300)

<div class="topic-metadata">

**Author:** [@bana201](https://discuss.elastic.co/u/bana201)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 5:00am UTC](https://discuss.elastic.co/t/clone-production-cluster/199300 "2019-09-13T05:00:04Z")

</div>

I'm new to elasticsearch and would like to know the best way to do this basically I'm trying to clone a production cluster and then use it for testing it needs to be a complete copy and should not interrupt the product…

---

## [Getting null in response (InMemoryConnection) in mock testing](https://discuss.elastic.co/t/getting-null-in-response-inmemoryconnection-in-mock-testing/199355)

<div class="topic-metadata">

**Author:** [@kamleshjoshi](https://discuss.elastic.co/u/kamleshjoshi)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 4:14am UTC](https://discuss.elastic.co/t/getting-null-in-response-inmemoryconnection-in-mock-testing/199355 "2019-09-13T04:14:20Z")

</div>

I am trying to mock elasticsearch using NEST library in C#. In the response I am getting null. This is the code: var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); var setti…

---

## [(how) can multiple indexes be amalgamated?](https://discuss.elastic.co/t/how-can-multiple-indexes-be-amalgamated/199126)

<div class="topic-metadata">

**Author:** [@neergttocsdivad](https://discuss.elastic.co/u/neergttocsdivad)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 4:01am UTC](https://discuss.elastic.co/t/how-can-multiple-indexes-be-amalgamated/199126 "2019-09-13T04:01:00Z")

</div>

I have fscrawler running on a single virtual machine running ubuntu 19:04 on a Synology NAS At the current indexing rate, it will take 10 weeks for the index to complete If I run fscrawler on multiple virtual machines,…

---

## [Highlight behaviour](https://discuss.elastic.co/t/highlight-behaviour/199354)

<div class="topic-metadata">

**Author:** [@Gowd](https://discuss.elastic.co/u/Gowd)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 3:51am UTC](https://discuss.elastic.co/t/highlight-behaviour/199354 "2019-09-13T03:51:45Z")

</div>

Referring to https://www.elastic.co/guide/en/elasticsearch//reference/current/search-request-body.html#request-body-search-highlighting The note says, Highlighters don’t reflect the boolean logic of a query when extr…

---

## [Search across multiple indices](https://discuss.elastic.co/t/search-across-multiple-indices/199317)

<div class="topic-metadata">

**Author:** [@Junfeng](https://discuss.elastic.co/u/Junfeng)\
**Replies:** 4\
**Last updated:** [September 13, 2019, 2:59am UTC](https://discuss.elastic.co/t/search-across-multiple-indices/199317 "2019-09-13T02:59:33Z")

</div>

Hello, I am trying to search multiple indices, each with its own query. Is it possible for 2.x? I get the idea from here. Basically my composite query looks like this: POST /index1, index2/\_search { "query": { …

---

## [Python script update by query elasticsearch doesn't work](https://discuss.elastic.co/t/python-script-update-by-query-elasticsearch-doesnt-work/199334)

<div class="topic-metadata">

**Author:** [@EZprogramming](https://discuss.elastic.co/u/EZprogramming)\
**Replies:** 3\
**Last updated:** [September 13, 2019, 12:45am UTC](https://discuss.elastic.co/t/python-script-update-by-query-elasticsearch-doesnt-work/199334 "2019-09-13T00:45:36Z")

</div>

My python script fails at performing the following operation which is what I found in here: \[https://stackoverflow.com/questions/42489340/elastisearch-update-by-query\] def execute\_es\_update\_query(self, i): t1 = { …

---

## [Multi-field full-text searching in multiple languages with wildcards, fuzzy, and phrase match](https://discuss.elastic.co/t/multi-field-full-text-searching-in-multiple-languages-with-wildcards-fuzzy-and-phrase-match/199336)

<div class="topic-metadata">

**Author:** [@maurice](https://discuss.elastic.co/u/maurice)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 10:59pm UTC](https://discuss.elastic.co/t/multi-field-full-text-searching-in-multiple-languages-with-wildcards-fuzzy-and-phrase-match/199336 "2019-09-12T22:59:37Z")

</div>

Hey everybody, I’m working on an index containing audio transcriptions that are full-text searchable using wildcards, fuzzy, and phrase matching with highlighting. I’m currently expanding the mappings of this index to …

---

## [How do you get Hit counts from elasticsearch](https://discuss.elastic.co/t/how-do-you-get-hit-counts-from-elasticsearch/199160)

<div class="topic-metadata">

**Author:** [@samvid1992](https://discuss.elastic.co/u/samvid1992)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 10:36pm UTC](https://discuss.elastic.co/t/how-do-you-get-hit-counts-from-elasticsearch/199160 "2019-09-12T22:36:13Z")

</div>

i need hit count of every 15 minutes interval for last 7 days. I do know there is curl api to get hit counts and you have to specify start and end time but using that methods i will have to make one request per 15 min in…

---

## [Install Elasticsearch on Plesk](https://discuss.elastic.co/t/install-elasticsearch-on-plesk/199279)

<div class="topic-metadata">

**Author:** [@Mike\_Fritzsche](https://discuss.elastic.co/u/Mike_Fritzsche)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 10:33pm UTC](https://discuss.elastic.co/t/install-elasticsearch-on-plesk/199279 "2019-09-12T22:33:58Z")

</div>

Hi NG, I want to install Elasticsearch 6.8\* on my Ubuntu server under Plesk. What is the way to install without conflicts? Thanks

---

## [Baremetal cloud-on-k8s instance how to add LDAP bind password](https://discuss.elastic.co/t/baremetal-cloud-on-k8s-instance-how-to-add-ldap-bind-password/199104)

<div class="topic-metadata">

**Author:** [@sfgroups1](https://discuss.elastic.co/u/sfgroups1)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 9:54pm UTC](https://discuss.elastic.co/t/baremetal-cloud-on-k8s-instance-how-to-add-ldap-bind-password/199104 "2019-09-12T21:54:02Z")

</div>

Hi, I am in the process of setting up the LDAP authentication, I was able to add LDAP details in nodes.config section. But unsure how to add bind password. https://www.elastic.co/guide/en/elasticsearch/reference/7.3/co…

---

## [Difference between \`index.refresh\_interval\` vs \`es.batch.write.refresh\`](https://discuss.elastic.co/t/difference-between-index-refresh-interval-vs-es-batch-write-refresh/197950)

<div class="topic-metadata">

**Author:** [@danielyahn](https://discuss.elastic.co/u/danielyahn)\
**Replies:** 4\
**Last updated:** [September 12, 2019, 9:30pm UTC](https://discuss.elastic.co/t/difference-between-index-refresh-interval-vs-es-batch-write-refresh/197950 "2019-09-12T21:30:58Z")

</div>

I see two similar settings one in ES-Hadoop and the other in index configuration. Is it recommended to set index.refresh\_interval to -1, when es.batch.write.refresh=true? When running Spark job, how often does refresh …

---

## [Bulk Request Monitoring](https://discuss.elastic.co/t/bulk-request-monitoring/198464)

<div class="topic-metadata">

**Author:** [@danielyahn](https://discuss.elastic.co/u/danielyahn)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 9:23pm UTC](https://discuss.elastic.co/t/bulk-request-monitoring/198464 "2019-09-12T21:23:44Z")

</div>

According to the doc, it's important to monitor bulk requests to tune ES-Hadoop ingest. I think it will be beneficial to set up monitoring around the requests for production operation as well. I've tried few different r…

---

## [java.lang.ClassNotFoundException: org.elasticsearch.search.aggregations.metrics.cardinality.ParsedCardinality](https://discuss.elastic.co/t/java-lang-classnotfoundexception-org-elasticsearch-search-aggregations-metrics-cardinality-parsedcardinality/194304)

<div class="topic-metadata">

**Author:** [@iti](https://discuss.elastic.co/u/iti)\
**Replies:** 17\
**Last updated:** [September 12, 2019, 9:11pm UTC](https://discuss.elastic.co/t/java-lang-classnotfoundexception-org-elasticsearch-search-aggregations-metrics-cardinality-parsedcardinality/194304 "2019-09-12T21:11:33Z")

</div>

My environment: two ES clusters: one ES 6.7 and one ES 7.1 My app need to use High Level REST Client to access both cluster at the same time. When I am using 7.x REST CLIENT with 7.X ES library. When accessing 6.x ES,…

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

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