# Elasticsearch

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

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

**Page:** 1744

---

## [Set Filed data true By default for all fields of a mapping](https://discuss.elastic.co/t/set-filed-data-true-by-default-for-all-fields-of-a-mapping/125156)

<div class="topic-metadata">

**Author:** [@rakhirajpoot18](https://discuss.elastic.co/u/rakhirajpoot18)\
**Replies:** 7\
**Last updated:** [March 22, 2018, 7:21pm UTC](https://discuss.elastic.co/t/set-filed-data-true-by-default-for-all-fields-of-a-mapping/125156 "2018-03-22T19:21:11Z")

</div>

Hey, I am upgrading my elastocSearch from 1.4 to 6.2 ,I want to set fielddata property true by default for all the fields of a Mapping. how can I do It?? plz help!

---

## [Condition OR in Nested Query](https://discuss.elastic.co/t/condition-or-in-nested-query/125236)

<div class="topic-metadata">

**Author:** [@TomTom](https://discuss.elastic.co/u/TomTom)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 7:20pm UTC](https://discuss.elastic.co/t/condition-or-in-nested-query/125236 "2018-03-22T19:20:36Z")

</div>

I have this nested field mapping in Elasticsearch (6.2.2): "customfield\_open": { "properties": { "content": { "type": "nested", "properties": { "id": { …

---

## [Failed to send ping Ubuntu Cluster](https://discuss.elastic.co/t/failed-to-send-ping-ubuntu-cluster/124663)

<div class="topic-metadata">

**Author:** [@AndySprint](https://discuss.elastic.co/u/AndySprint)\
**Replies:** 3\
**Last updated:** [March 22, 2018, 7:17pm UTC](https://discuss.elastic.co/t/failed-to-send-ping-ubuntu-cluster/124663 "2018-03-22T19:17:37Z")

</div>

I am trying to create an ElasticSearch cluster with 2 coordinating nodes and 3 master/data nodes. I am seeing errors related to failed to send ping. ex: \[2018-03-19T23:59:57,298\]\[WARN \]\[o.e.d.z.UnicastZenPing \] \[vsy…

---

## [Drop stopword's token position completely](https://discuss.elastic.co/t/drop-stopwords-token-position-completely/124832)

<div class="topic-metadata">

**Author:** [@maoning](https://discuss.elastic.co/u/maoning)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 6:45pm UTC](https://discuss.elastic.co/t/drop-stopwords-token-position-completely/124832 "2018-03-22T18:45:04Z")

</div>

Is there an existing way/setting of dropping stopword's token position completely? Base on my understanding of ES stopword token filter, it removes the stopword, but leaves an empty token position. The implication of it…

---

## [ELK performance](https://discuss.elastic.co/t/elk-performance/123716)

<div class="topic-metadata">

**Author:** [@Slop](https://discuss.elastic.co/u/Slop)\
**Replies:** 5\
**Last updated:** [March 22, 2018, 4:59pm UTC](https://discuss.elastic.co/t/elk-performance/123716 "2018-03-22T16:59:53Z")

</div>

Hello, I'm using ELK since a while (8 month), and everything start to being slow. For exemple it take 3 or 4 minutes to display dashboard of the day. I think, it's because no tuning have been done on the install (it ha…

---

## [Deprecation: Deprecated big difference between max\_gram and min\_gram in NGram](https://discuss.elastic.co/t/deprecation-deprecated-big-difference-between-max-gram-and-min-gram-in-ngram/122969)

<div class="topic-metadata">

**Author:** [@jzlang](https://discuss.elastic.co/u/jzlang)\
**Replies:** 6\
**Last updated:** [March 22, 2018, 4:40pm UTC](https://discuss.elastic.co/t/deprecation-deprecated-big-difference-between-max-gram-and-min-gram-in-ngram/122969 "2018-03-22T16:40:24Z")

</div>

We have a use case where we have to search a field (displayName) whose value can contain multiple words. For instance - "displayName":"Once Upon a Midnight Dreary" We have a requirement that auto complete functionality …

---

## [X-pack 6.2.3 issue after upgrade](https://discuss.elastic.co/t/x-pack-6-2-3-issue-after-upgrade/125225)

<div class="topic-metadata">

**Author:** [@MrThecrackerx](https://discuss.elastic.co/u/MrThecrackerx)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 3:59pm UTC](https://discuss.elastic.co/t/x-pack-6-2-3-issue-after-upgrade/125225 "2018-03-22T15:59:36Z")

</div>

Hi All i upgraded from elasticsearch 5.6.8 to 6.2.3 and delete all the system indices and removed x-pack and installed it again from scratch. i keep getting this error due to mapping. Please help how to resolve this \[2…

---

## [Curator: possible to "reindex by query"?](https://discuss.elastic.co/t/curator-possible-to-reindex-by-query/125081)

<div class="topic-metadata">

**Author:** [@rozling](https://discuss.elastic.co/u/rozling)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 3:45pm UTC](https://discuss.elastic.co/t/curator-possible-to-reindex-by-query/125081 "2018-03-22T15:45:42Z")

</div>

So the reindex api lets you reindex a subset of your data using a search query: POST \_reindex { "source": { "index": "twitter", "type": "tweet", "query": { "term": { "user": "kimchy" } …

---

## [Elastic/Kibana performances issues](https://discuss.elastic.co/t/elastic-kibana-performances-issues/124821)

<div class="topic-metadata">

**Author:** [@samia](https://discuss.elastic.co/u/samia)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 1:55pm UTC](https://discuss.elastic.co/t/elastic-kibana-performances-issues/124821 "2018-03-22T13:55:22Z")

</div>

Hi ! I have set up my elastic stack (logstash, elastic, kibana) on a single node hosted on a "monster" : Redhat 7.3 server with a 48-core cpu , 64 GB of RAM and 6 TBs of disk. You'll find below the output of the sta…

---

## [Use Query Bool with Query Nested](https://discuss.elastic.co/t/use-query-bool-with-query-nested/125204)

<div class="topic-metadata">

**Author:** [@TomTom](https://discuss.elastic.co/u/TomTom)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 2:07pm UTC](https://discuss.elastic.co/t/use-query-bool-with-query-nested/125204 "2018-03-22T14:07:47Z")

</div>

Is possible use query \> bool together with query \> nested? I have two types of queries, each one returns the results. Query \> Bool { "query":{ "bool":{ "must":\[ { …

---

## [Min date and max date](https://discuss.elastic.co/t/min-date-and-max-date/125174)

<div class="topic-metadata">

**Author:** [@srinivasthouti](https://discuss.elastic.co/u/srinivasthouti)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 11:44am UTC](https://discuss.elastic.co/t/min-date-and-max-date/125174 "2018-03-22T11:44:14Z")

</div>

how can i get min date and max date in elastic search

---

## [Fuzzy query not working as required?](https://discuss.elastic.co/t/fuzzy-query-not-working-as-required/125162)

<div class="topic-metadata">

**Author:** [@prasanth](https://discuss.elastic.co/u/prasanth)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 2:00pm UTC](https://discuss.elastic.co/t/fuzzy-query-not-working-as-required/125162 "2018-03-22T14:00:40Z")

</div>

Hi, I am trying to implement a google like search with fuzzy search . I am trying to search the text 'Alan urology' . Here Alan is a a value of field first name in type demographics and urology is value of specialty in …

---

## [Indexing with multiple pipelines - Elasticsearch](https://discuss.elastic.co/t/indexing-with-multiple-pipelines-elasticsearch/125180)

<div class="topic-metadata">

**Author:** [@Matthew\_Bullock](https://discuss.elastic.co/u/Matthew_Bullock)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 1:51pm UTC](https://discuss.elastic.co/t/indexing-with-multiple-pipelines-elasticsearch/125180 "2018-03-22T13:51:40Z")

</div>

Ar you able to call multiple pipelines when PUT ing data into Elastic? curl -XPUT 'localhost:9200/my-index/\_doc/my-id?pipeline=my\_pipeline\_1&pipeline=my\_pipeline\_2&pretty' -H 'Content-Type: application/json' -d' { "fo…

---

## [Challenges with Establishing Relationships between Tables](https://discuss.elastic.co/t/challenges-with-establishing-relationships-between-tables/125182)

<div class="topic-metadata">

**Author:** [@Bode](https://discuss.elastic.co/u/Bode)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 1:49pm UTC](https://discuss.elastic.co/t/challenges-with-establishing-relationships-between-tables/125182 "2018-03-22T13:49:55Z")

</div>

Hello Team, I am new to this application. However, I have some challenges. Is ELK good enough for transactional data or its mostly used to analyse logs? Also, Is there a tutorial or method of creating relationships betw…

---

## [Elastic search failed to put mappings on indices](https://discuss.elastic.co/t/elastic-search-failed-to-put-mappings-on-indices/124925)

<div class="topic-metadata">

**Author:** [@sri535](https://discuss.elastic.co/u/sri535)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 1:45pm UTC](https://discuss.elastic.co/t/elastic-search-failed-to-put-mappings-on-indices/124925 "2018-03-22T13:45:10Z")

</div>

HI, In latest version for newly adding indices its failing to map indices and giving below error \[2018-03-21T00:06:29,854\]\[DEBUG\]\[o.e.a.a.i.m.p.TransportPutMappingAction\] \[W\_PbdUQ\] failed to put mappings on indices \[\[\[…

---

## [Missing documents after \_reindex of daily indices](https://discuss.elastic.co/t/missing-documents-after-reindex-of-daily-indices/121721)

<div class="topic-metadata">

**Author:** [@oysteila](https://discuss.elastic.co/u/oysteila)\
**Replies:** 3\
**Last updated:** [March 22, 2018, 1:17pm UTC](https://discuss.elastic.co/t/missing-documents-after-reindex-of-daily-indices/121721 "2018-03-22T13:17:32Z")

</div>

We're learning the hard way that daily indices for a large variety of log types that are nevertheless related is a surefire way to swamp your cluster in shard state. Consequently, we've decided to try out the \_reindex AP…

---

## [High Heap Usage at Idle](https://discuss.elastic.co/t/high-heap-usage-at-idle/124857)

<div class="topic-metadata">

**Author:** [@kurtiskurtis](https://discuss.elastic.co/u/kurtiskurtis)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 12:47pm UTC](https://discuss.elastic.co/t/high-heap-usage-at-idle/124857 "2018-03-22T12:47:40Z")

</div>

My cluster has: 3 dedicated masters 3 data/ingest nodes (30 GB Heap, 60GB Ram) Even when my cluster is not being read from or written to my heap percentages are in the 70% zone. Is this normal? I have about 250 index…

---

## [Bulk stuck in elatsicsearch](https://discuss.elastic.co/t/bulk-stuck-in-elatsicsearch/125184)

<div class="topic-metadata">

**Author:** [@Sandeep\_Verma](https://discuss.elastic.co/u/Sandeep_Verma)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 12:19pm UTC](https://discuss.elastic.co/t/bulk-stuck-in-elatsicsearch/125184 "2018-03-22T12:19:32Z")

</div>

Cluster Info:- 1 Master 32 gb \[16 gb for heap\] 8 node 64 gb \[32gb for heap\] 20 shards 1 replica. each machine has 16 core cpu. 1 Tb storage. Trying to bulk indexing on elasticsearch but bulk always stuck at a point.…

---

## [Sort by preferred nested object](https://discuss.elastic.co/t/sort-by-preferred-nested-object/125134)

<div class="topic-metadata">

**Author:** [@dstrop](https://discuss.elastic.co/u/dstrop)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 8:33am UTC](https://discuss.elastic.co/t/sort-by-preferred-nested-object/125134 "2018-03-22T08:33:52Z")

</div>

running docker image docker.elastic.co/elasticsearch/elasticsearch:6.2.3 queries bellow do not return same result I am trying to sort by nested object, and if main user matches my nested filter, sort by it. It works a…

---

## [Does $lastPing and $failedPings in Connection is preserved during subsequent requests?](https://discuss.elastic.co/t/does-lastping-and-failedpings-in-connection-is-preserved-during-subsequent-requests/125167)

<div class="topic-metadata">

**Author:** [@pjedwabny](https://discuss.elastic.co/u/pjedwabny)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 10:41am UTC](https://discuss.elastic.co/t/does-lastping-and-failedpings-in-connection-is-preserved-during-subsequent-requests/125167 "2018-03-22T10:41:08Z")

</div>

According to documentation https://www.elastic.co/guide/en/elasticsearch/client/php-api/5.0/\_connection\_pool.html in official PHP client (https://github.com/elastic/elasticsearch-php), if a node fails then it will be mar…

---

## [Machine Crashed](https://discuss.elastic.co/t/machine-crashed/125154)

<div class="topic-metadata">

**Author:** [@Sandeep\_Misal](https://discuss.elastic.co/u/Sandeep_Misal)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 10:20am UTC](https://discuss.elastic.co/t/machine-crashed/125154 "2018-03-22T10:20:00Z")

</div>

Hi All, my old elastic search servers machine is crashed and i have its snapshot how can i restore it to other machine

---

## [Garbage collector question](https://discuss.elastic.co/t/garbage-collector-question/124776)

<div class="topic-metadata">

**Author:** [@michbsd](https://discuss.elastic.co/u/michbsd)\
**Replies:** 12\
**Last updated:** [March 22, 2018, 10:18am UTC](https://discuss.elastic.co/t/garbage-collector-question/124776 "2018-03-22T10:18:43Z")

</div>

Nodes: 3 Indices: 142 Memory: 17GB / 45GB Total Shards: 1284 Documents: 442,160,568 Data: 578GB Version: 5.3.0 Since a few days I am seeing a lot of these messages in the logfile: \[2018-03-20T14:35:04,269\]\[INFO \]…

---

## [CommunityBeat - JMXProxyBeat Issue](https://discuss.elastic.co/t/communitybeat-jmxproxybeat-issue/124735)

<div class="topic-metadata">

**Author:** [@vishnuduttpv](https://discuss.elastic.co/u/vishnuduttpv)\
**Replies:** 6\
**Last updated:** [March 22, 2018, 10:09am UTC](https://discuss.elastic.co/t/communitybeat-jmxproxybeat-issue/124735 "2018-03-22T10:09:51Z")

</div>

Hi, I am trying to configure the JMXProxyBeat from the community beats for monitoring the Tomcat parameters through the ELK stack. The configuration settings are as follows, ElasticSerach - Logstash - Kibana - JMXPr…

---

## [How Documents read and write work in Elasticsearch If we doing this on the same document simultaneously?](https://discuss.elastic.co/t/how-documents-read-and-write-work-in-elasticsearch-if-we-doing-this-on-the-same-document-simultaneously/125139)

<div class="topic-metadata">

**Author:** [@surajdalvi](https://discuss.elastic.co/u/surajdalvi)\
**Replies:** 3\
**Last updated:** [March 22, 2018, 9:39am UTC](https://discuss.elastic.co/t/how-documents-read-and-write-work-in-elasticsearch-if-we-doing-this-on-the-same-document-simultaneously/125139 "2018-03-22T09:39:37Z")

</div>

Hi, I'm new to Elasticsearch.I want to know how Read and Write operation simultaneously works in Elasticsearch. Thanks!

---

## [Cannot access the search results through the watch execution context - Ctx.payload.hits.total](https://discuss.elastic.co/t/cannot-access-the-search-results-through-the-watch-execution-context-ctx-payload-hits-total/125077)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 5\
**Last updated:** [March 22, 2018, 9:35am UTC](https://discuss.elastic.co/t/cannot-access-the-search-results-through-the-watch-execution-context-ctx-payload-hits-total/125077 "2018-03-22T09:35:45Z")

</div>

I'm trying to access value from {{ctx.payload.hits.total}}(Search Input | X-Pack for the Elastic Stack) and send message to Slack Action | X-Pack for the Elastic Stack), yet not getting any values( Get Watch@Pastebin P…

---

## [Avro Schema convert to Elasticsearch mapping](https://discuss.elastic.co/t/avro-schema-convert-to-elasticsearch-mapping/122438)

<div class="topic-metadata">

**Author:** [@happyprg](https://discuss.elastic.co/u/happyprg)\
**Replies:** 4\
**Last updated:** [March 22, 2018, 9:23am UTC](https://discuss.elastic.co/t/avro-schema-convert-to-elasticsearch-mapping/122438 "2018-03-22T09:23:25Z")

</div>

I saw the below issue on this forum So I made this project for solving it. It has two features. First, you can load Avro schema using Registry API Secondly, you can convert Avro schema to Elasticsearch Mapping …

---

## [Suggesters not working in Elasticsearch 5.3 (AWS)](https://discuss.elastic.co/t/suggesters-not-working-in-elasticsearch-5-3-aws/125059)

<div class="topic-metadata">

**Author:** [@esUser2](https://discuss.elastic.co/u/esUser2)\
**Replies:** 3\
**Last updated:** [March 22, 2018, 9:12am UTC](https://discuss.elastic.co/t/suggesters-not-working-in-elasticsearch-5-3-aws/125059 "2018-03-22T09:12:33Z")

</div>

I can't get suggesters to work in Elasticsearch 5.3 (AWS). https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html#search-suggesters I'm trying the samples but the options array for the r…

---

## [High bulk rejection on specific nodes](https://discuss.elastic.co/t/high-bulk-rejection-on-specific-nodes/124033)

<div class="topic-metadata">

**Author:** [@Oferkes](https://discuss.elastic.co/u/Oferkes)\
**Replies:** 5\
**Last updated:** [March 22, 2018, 9:08am UTC](https://discuss.elastic.co/t/high-bulk-rejection-on-specific-nodes/124033 "2018-03-22T09:08:06Z")

</div>

Hi, i noticed that 2 data nodes out of 21 data nodes overall are rejecting high number of bulk requests, and only those 2: \[image\] the load on the machines is very low, the specs are the following: machine A: 16 cor…

---

## [How can i get auto increment id by using elasticsearch.js API?](https://discuss.elastic.co/t/how-can-i-get-auto-increment-id-by-using-elasticsearch-js-api/125130)

<div class="topic-metadata">

**Author:** [@4497d9976cc97681c349](https://discuss.elastic.co/u/4497d9976cc97681c349)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 8:48am UTC](https://discuss.elastic.co/t/how-can-i-get-auto-increment-id-by-using-elasticsearch-js-api/125130 "2018-03-22T08:48:19Z")

</div>

The JS create API must set id, and how can i do like follow?Is there any other API I can use? The JS create API: client.create({ index: 'myindex', type: 'mytype', id: '1', body: { title: 'Test 1', tags: \['y', 'z'…

---

## [How to do elastic search database backup and recovery?](https://discuss.elastic.co/t/how-to-do-elastic-search-database-backup-and-recovery/125019)

<div class="topic-metadata">

**Author:** [@SathishKannan](https://discuss.elastic.co/u/SathishKannan)\
**Replies:** 4\
**Last updated:** [March 22, 2018, 7:48am UTC](https://discuss.elastic.co/t/how-to-do-elastic-search-database-backup-and-recovery/125019 "2018-03-22T07:48:11Z")

</div>

Is it there any way to take backup elasticsearch database ?

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

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