# Elasticsearch

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

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

**Page:** 1762

---

## [Python - Delete all docs from a type](https://discuss.elastic.co/t/python-delete-all-docs-from-a-type/121170)

<div class="topic-metadata">

**Author:** [@jaisharma](https://discuss.elastic.co/u/jaisharma)\
**Replies:** 11\
**Last updated:** [March 8, 2018, 11:00am UTC](https://discuss.elastic.co/t/python-delete-all-docs-from-a-type/121170 "2018-03-08T11:00:13Z")

</div>

Elasticsearch version: 2.4.1 I'm using es python client and want to delete all documents matching a particular type. Currently i'm using helpers.scan to get all matching \_id followed by issuing a bulk delete request lik…

---

## [Sum score in multi match](https://discuss.elastic.co/t/sum-score-in-multi-match/122547)

<div class="topic-metadata">

**Author:** [@a.korshunov](https://discuss.elastic.co/u/a.korshunov)\
**Replies:** 3\
**Last updated:** [March 8, 2018, 10:17am UTC](https://discuss.elastic.co/t/sum-score-in-multi-match/122547 "2018-03-08T10:17:36Z")

</div>

Hi, guys. I want to sum score in multi match query with cross\_field type and set tie\_breaker to 1.0. I test two versions of Elasticsearch: 5.4.0 and 6.2.1. Version 5.4.0 works as expected, but in 6.2.1 occurs maximum in…

---

## [X-Pack confusion](https://discuss.elastic.co/t/x-pack-confusion/122113)

<div class="topic-metadata">

**Author:** [@bossi6of9](https://discuss.elastic.co/u/bossi6of9)\
**Replies:** 6\
**Last updated:** [March 8, 2018, 9:44am UTC](https://discuss.elastic.co/t/x-pack-confusion/122113 "2018-03-08T09:44:46Z")

</div>

Hi, I read the XPack announcement yesterday, but I'm still confused. Can someone elaborate on what parts of XPack are free for a production environment?

---

## [Sorting derivative](https://discuss.elastic.co/t/sorting-derivative/123035)

<div class="topic-metadata">

**Author:** [@Jefri\_Abdullah](https://discuss.elastic.co/u/Jefri_Abdullah)\
**Replies:** 0\
**Last updated:** [March 8, 2018, 9:44am UTC](https://discuss.elastic.co/t/sorting-derivative/123035 "2018-03-08T09:44:38Z")

</div>

Hi, i've some issue with sorting by derivative agg, issue is the same with this one: https://github.com/grafana/grafana/issues/8485 question is, does elasticsearch support sorting on derivative aggregation metric?

---

## [How do you define altitude for a geo\_point? (3D location)](https://discuss.elastic.co/t/how-do-you-define-altitude-for-a-geo-point-3d-location/123026)

<div class="topic-metadata">

**Author:** [@RishuK](https://discuss.elastic.co/u/RishuK)\
**Replies:** 1\
**Last updated:** [March 8, 2018, 9:18am UTC](https://discuss.elastic.co/t/how-do-you-define-altitude-for-a-geo-point-3d-location/123026 "2018-03-08T09:18:24Z")

</div>

I would like my document to have a location something like - "location": { "lat": 38.99, "lon": -200.09, "altitude": 45.90 } How can elasticsearch detect the third field? Does it support it?

---

## [Rally from teamcity](https://discuss.elastic.co/t/rally-from-teamcity/122786)

<div class="topic-metadata">

**Author:** [@poorvig89](https://discuss.elastic.co/u/poorvig89)\
**Replies:** 1\
**Last updated:** [March 8, 2018, 9:16am UTC](https://discuss.elastic.co/t/rally-from-teamcity/122786 "2018-03-08T09:16:06Z")

</div>

Can we run rally from teamcity? If yes, then how can we do that

---

## [Is it possible to turn off field data compression?](https://discuss.elastic.co/t/is-it-possible-to-turn-off-field-data-compression/122816)

<div class="topic-metadata">

**Author:** [@Jun\_He](https://discuss.elastic.co/u/Jun_He)\
**Replies:** 2\
**Last updated:** [March 8, 2018, 8:42am UTC](https://discuss.elastic.co/t/is-it-possible-to-turn-off-field-data-compression/122816 "2018-03-08T08:42:52Z")

</div>

Hi, According to http://lucene.apache.org/core/6\_1\_0/core/index.html?org/apache/lucene/codecs/lucene60/package-summary.html , Lucene compresses field text data by LZ4. Is it possible to turn off the compression? Thanks…

---

## [Search for a parent and all it's children in one query in elastic search](https://discuss.elastic.co/t/search-for-a-parent-and-all-its-children-in-one-query-in-elastic-search/122902)

<div class="topic-metadata">

**Author:** [@RishuK](https://discuss.elastic.co/u/RishuK)\
**Replies:** 1\
**Last updated:** [March 8, 2018, 5:21am UTC](https://discuss.elastic.co/t/search-for-a-parent-and-all-its-children-in-one-query-in-elastic-search/122902 "2018-03-08T05:21:01Z")

</div>

Referring to the examples mentioned in the official documentation of building a parent-child relationship - https://www.elastic.co/guide/en/elasticsearch/reference/current/parent-join.html The link has provided question…

---

## [Some problem with HTTP POST](https://discuss.elastic.co/t/some-problem-with-http-post/122812)

<div class="topic-metadata">

**Author:** [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Replies:** 1\
**Last updated:** [March 8, 2018, 8:45am UTC](https://discuss.elastic.co/t/some-problem-with-http-post/122812 "2018-03-08T08:45:36Z")

</div>

Hi everyone, when I use elasticsearch 5.6.5 version and query REST API through HTPP POST tool all work fine. But when I use elasticsearch 6.x.x up version, and it shows me the incorrect format error. I know the REST ha…

---

## [My cluster always yellow](https://discuss.elastic.co/t/my-cluster-always-yellow/118551)

<div class="topic-metadata">

**Author:** [@sekaiga](https://discuss.elastic.co/u/sekaiga)\
**Replies:** 11\
**Last updated:** [February 8, 2018, 8:42am UTC](https://discuss.elastic.co/t/my-cluster-always-yellow/118551 "2018-02-08T08:42:06Z")

</div>

hi, version: 5.1.1 my cluster always yellow, a lot of unassinged shards. logs show lot of "master left" \[2018-02-06T05:16:04,873\]\[WARN \]\[o.e.i.c.IndicesClusterStateService\] \[node-15\] \[\[xxx\_log\_201802\]\[150\]\] marking an…

---

## [Which analyzer is used in a multi match query?](https://discuss.elastic.co/t/which-analyzer-is-used-in-a-multi-match-query/123023)

<div class="topic-metadata">

**Author:** [@anthonyrichir](https://discuss.elastic.co/u/anthonyrichir)\
**Replies:** 0\
**Last updated:** [March 8, 2018, 8:39am UTC](https://discuss.elastic.co/t/which-analyzer-is-used-in-a-multi-match-query/123023 "2018-03-08T08:39:31Z")

</div>

I have an index with several fields, among which I have 3 fields, each defined with a different language analyzer (german, english and french). Which analyzer will be used in a multi-match query ? Will Elasticsearch use…

---

## [Length text exceeded : Problem in ingesting](https://discuss.elastic.co/t/length-text-exceeded-problem-in-ingesting/123019)

<div class="topic-metadata">

**Author:** [@akml\_kk](https://discuss.elastic.co/u/akml_kk)\
**Replies:** 0\
**Last updated:** [March 8, 2018, 8:20am UTC](https://discuss.elastic.co/t/length-text-exceeded-problem-in-ingesting/123019 "2018-03-08T08:20:37Z")

</div>

Using Es 6.2.2 ,I'm trying to ingest a pdf in elasticsearch and filter its field with openNlp, However i got this response in kibana dev tools : { "statusCode": 504, "error": "Gateway Time-out", "message": "Client…

---

## [ElasticsearchParseException: geo\_point expected - ES 5.4.1](https://discuss.elastic.co/t/elasticsearchparseexception-geo-point-expected-es-5-4-1/122855)

<div class="topic-metadata">

**Author:** [@ssasporta](https://discuss.elastic.co/u/ssasporta)\
**Replies:** 1\
**Last updated:** [March 8, 2018, 8:04am UTC](https://discuss.elastic.co/t/elasticsearchparseexception-geo-point-expected-es-5-4-1/122855 "2018-03-08T08:04:05Z")

</div>

I am getting mapping exception in ES: \[2018-03-07T11:32:38,326\]\[DEBUG\]\[o.e.a.b.TransportShardBulkAction\] \[valuepack\] \[logstash2017.07.27omniclient-vpelastic\]\[0\] failed to execute bulk item (i ndex) BulkShardRequest \[\[l…

---

## [ELK Basics for fresher](https://discuss.elastic.co/t/elk-basics-for-fresher/122996)

<div class="topic-metadata">

**Author:** [@prabhakar\_talari](https://discuss.elastic.co/u/prabhakar_talari)\
**Replies:** 5\
**Last updated:** [March 8, 2018, 8:02am UTC](https://discuss.elastic.co/t/elk-basics-for-fresher/122996 "2018-03-08T08:02:40Z")

</div>

Hi All, I am new to KELK and i would like to know best docs, links etc. Could any one suggest Regards

---

## [Using Terms Query](https://discuss.elastic.co/t/using-terms-query/122745)

<div class="topic-metadata">

**Author:** [@Francisco1](https://discuss.elastic.co/u/Francisco1)\
**Replies:** 9\
**Last updated:** [March 8, 2018, 7:35am UTC](https://discuss.elastic.co/t/using-terms-query/122745 "2018-03-08T07:35:15Z")

</div>

Hello guys, I'm looking for some help on the topic Terms Query(URL Available) "https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html". What I'm trying to do it's something like it'…

---

## [Issue When Upgrading Elasticsearch v5.2.2 to V5.6.8](https://discuss.elastic.co/t/issue-when-upgrading-elasticsearch-v5-2-2-to-v5-6-8/122869)

<div class="topic-metadata">

**Author:** [@sreejiths](https://discuss.elastic.co/u/sreejiths)\
**Replies:** 2\
**Last updated:** [March 8, 2018, 6:36am UTC](https://discuss.elastic.co/t/issue-when-upgrading-elasticsearch-v5-2-2-to-v5-6-8/122869 "2018-03-08T06:36:40Z")

</div>

I am trying to upgrade my development ELK stack running on a Single VM(No cluster) ..Below is the details of the error ..i am doing something wrong ..Please advice OS : Centos 7 Current ELK version : V5.2.2 New versio…

---

## [Mapper of different type, current\_type \[boolean\], merged\_type \[ObjectMapper\] - Elasticsearch bulk import](https://discuss.elastic.co/t/mapper-of-different-type-current-type-boolean-merged-type-objectmapper-elasticsearch-bulk-import/123001)

<div class="topic-metadata">

**Author:** [@Abhilash\_Sathe](https://discuss.elastic.co/u/Abhilash_Sathe)\
**Replies:** 1\
**Last updated:** [March 8, 2018, 6:07am UTC](https://discuss.elastic.co/t/mapper-of-different-type-current-type-boolean-merged-type-objectmapper-elasticsearch-bulk-import/123001 "2018-03-08T06:07:15Z")

</div>

I'm currently using Elasticsearch's \_bulk API to import a JSON dump. There is a field that has a dynamic data type, i.e. a Boolean type and an Object type. Due to this, while importing the dump, elasticsearch throws an…

---

## [ELK + Filebeat](https://discuss.elastic.co/t/elk-filebeat/121397)

<div class="topic-metadata">

**Author:** [@adelfattal](https://discuss.elastic.co/u/adelfattal)\
**Replies:** 7\
**Last updated:** [March 8, 2018, 4:37am UTC](https://discuss.elastic.co/t/elk-filebeat/121397 "2018-03-08T04:37:56Z")

</div>

Hello, I am a University student and my project is on the ELK Stack and I have followed the implementation on your Website from Elastic Search, Kibana and Logstash. I understood that I have to send from my servers the …

---

## [In query using aggregation but response null\_pointer\_exception](https://discuss.elastic.co/t/in-query-using-aggregation-but-response-null-pointer-exception/122998)

<div class="topic-metadata">

**Author:** [@Edson\_Hsu](https://discuss.elastic.co/u/Edson_Hsu)\
**Replies:** 0\
**Last updated:** [March 8, 2018, 4:22am UTC](https://discuss.elastic.co/t/in-query-using-aggregation-but-response-null-pointer-exception/122998 "2018-03-08T04:22:35Z")

</div>

Hi all I'm testing ES aggregation function , currently I use snmp polling as source date Device : forti 100D Here is my query: { "size": 0, "query": { "bool": { "filter": \[ { "range": { "@timestamp": { "gte":…

---

## [X-Pack Authentication issue](https://discuss.elastic.co/t/x-pack-authentication-issue/121632)

<div class="topic-metadata">

**Author:** [@Suryakumar](https://discuss.elastic.co/u/Suryakumar)\
**Replies:** 8\
**Last updated:** [March 8, 2018, 3:57am UTC](https://discuss.elastic.co/t/x-pack-authentication-issue/121632 "2018-03-08T03:57:00Z")

</div>

I have recently uninstalled and again reinstalled X-Pack. But when I followed the same tutorial used before, now I am getting error messages. I have installed X-Pack with sudo permission. When I use the below command to…

---

## [How to update elasticsearch 2.x to 5.x when there are store parameter is fasle](https://discuss.elastic.co/t/how-to-update-elasticsearch-2-x-to-5-x-when-there-are-store-parameter-is-fasle/122987)

<div class="topic-metadata">

**Author:** [@Deng](https://discuss.elastic.co/u/Deng)\
**Replies:** 0\
**Last updated:** [March 8, 2018, 1:48am UTC](https://discuss.elastic.co/t/how-to-update-elasticsearch-2-x-to-5-x-when-there-are-store-parameter-is-fasle/122987 "2018-03-08T01:48:41Z")

</div>

I have an elasticsearch2.3.4. cluster. The index source has some filed store parameter false. For example, when index a pdf document, I have a mapping for its author,name,path and content, but the content field's stor…

---

## [Disable \_id index](https://discuss.elastic.co/t/disable-id-index/122986)

<div class="topic-metadata">

**Author:** [@ddorian43](https://discuss.elastic.co/u/ddorian43)\
**Replies:** 1\
**Last updated:** [March 8, 2018, 1:24am UTC](https://discuss.elastic.co/t/disable-id-index/122986 "2018-03-08T01:24:48Z")

</div>

Hi team, Is it possible to disable \_id index ? Also, term queries in \_id use NRT and not RT that GET uses on \_id, right ? Thank You

---

## [Cannot connect Java client on ES 6.2.1 with Xpack](https://discuss.elastic.co/t/cannot-connect-java-client-on-es-6-2-1-with-xpack/121821)

<div class="topic-metadata">

**Author:** [@ivanqwam](https://discuss.elastic.co/u/ivanqwam)\
**Replies:** 3\
**Last updated:** [March 8, 2018, 1:24am UTC](https://discuss.elastic.co/t/cannot-connect-java-client-on-es-6-2-1-with-xpack/121821 "2018-03-08T01:24:08Z")

</div>

I guess that you got this post a thousand times but I could not find my exact issue on the forum. I apologize if it is a duplicate. Trying to set up Xpack on ES 6.2.1, I did the following 1) On master node cd /usr/sof…

---

## [Need help with update operations in elastic search](https://discuss.elastic.co/t/need-help-with-update-operations-in-elastic-search/122972)

<div class="topic-metadata">

**Author:** [@udit.agg89](https://discuss.elastic.co/u/udit.agg89)\
**Replies:** 5\
**Last updated:** [March 8, 2018, 1:21am UTC](https://discuss.elastic.co/t/need-help-with-update-operations-in-elastic-search/122972 "2018-03-08T01:21:54Z")

</div>

In the below given use case, I want to update the name field and change its value to “My name is Mathews Fox” "\_index": "log", "\_type": "info log", "\_id": "7715ed0b-853e-4d28-b2e3-99156d6dcb3a", "\_score": 5.93148, "…

---

## [Failed to Authenticate User after Installing X-Pack](https://discuss.elastic.co/t/failed-to-authenticate-user-after-installing-x-pack/122861)

<div class="topic-metadata">

**Author:** [@Ong](https://discuss.elastic.co/u/Ong)\
**Replies:** 2\
**Last updated:** [March 8, 2018, 1:07am UTC](https://discuss.elastic.co/t/failed-to-authenticate-user-after-installing-x-pack/122861 "2018-03-08T01:07:35Z")

</div>

I installed elasticsearch, kibana and x-pack all with version 6.2.2. I followed the steps described in the official documentation at Install X-pack on Elasticsearch There were no errors along the way. The problem came …

---

## [High CPU on master and client nodes only when indexing](https://discuss.elastic.co/t/high-cpu-on-master-and-client-nodes-only-when-indexing/122984)

<div class="topic-metadata">

**Author:** [@Eduard\_Dudar](https://discuss.elastic.co/u/Eduard_Dudar)\
**Replies:** 0\
**Last updated:** [March 7, 2018, 11:55pm UTC](https://discuss.elastic.co/t/high-cpu-on-master-and-client-nodes-only-when-indexing/122984 "2018-03-07T23:55:28Z")

</div>

I'm trying to track down a problem when CPU load on dedicated coordinating and master nodes closely follows indexing activity under some unclear yet circumstances. From what I know about these two types, they should not …

---

## [Upgrade from 5.6.8 to 6.2.2 failing](https://discuss.elastic.co/t/upgrade-from-5-6-8-to-6-2-2-failing/122926)

<div class="topic-metadata">

**Author:** [@blackey](https://discuss.elastic.co/u/blackey)\
**Replies:** 3\
**Last updated:** [March 7, 2018, 11:52pm UTC](https://discuss.elastic.co/t/upgrade-from-5-6-8-to-6-2-2-failing/122926 "2018-03-07T23:52:11Z")

</div>

I am in the process of working through a rolling update to my cluster an am not sure if its working correctly. I fixed the issues the assistant had before starting. After creating Certs and enabling TLS I upgraded the …

---

## [Query Across Indices and Apply Different Function Scores (get parsing exception unknown field error)](https://discuss.elastic.co/t/query-across-indices-and-apply-different-function-scores-get-parsing-exception-unknown-field-error/122982)

<div class="topic-metadata">

**Author:** [@cpritcha](https://discuss.elastic.co/u/cpritcha)\
**Replies:** 0\
**Last updated:** [March 7, 2018, 11:27pm UTC](https://discuss.elastic.co/t/query-across-indices-and-apply-different-function-scores-get-parsing-exception-unknown-field-error/122982 "2018-03-07T23:27:58Z")

</div>

I would like to implement a search across indexes that applies different function scoring for each index so that more recent jobs and events rank higher in search results. Suppose the website has jobs, events given by m…

---

## [Elasticsearch-hadoop disable dynamic mapping and set limit of total fields](https://discuss.elastic.co/t/elasticsearch-hadoop-disable-dynamic-mapping-and-set-limit-of-total-fields/122980)

<div class="topic-metadata">

**Author:** [@arc](https://discuss.elastic.co/u/arc)\
**Replies:** 0\
**Last updated:** [March 7, 2018, 11:19pm UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-disable-dynamic-mapping-and-set-limit-of-total-fields/122980 "2018-03-07T23:19:59Z")

</div>

I am trying to use es-hadoop to move csv with 570 columns from hadoop to elasticsearch. However, an error occurred: Limit of total fields \[1000\] in index \[shortterm\] has been exceeded; Bailing out.. Three questions: …

---

## [Boost match\_phrase\_prefix](https://discuss.elastic.co/t/boost-match-phrase-prefix/122979)

<div class="topic-metadata">

**Author:** [@iitgrad](https://discuss.elastic.co/u/iitgrad)\
**Replies:** 0\
**Last updated:** [March 7, 2018, 11:01pm UTC](https://discuss.elastic.co/t/boost-match-phrase-prefix/122979 "2018-03-07T23:01:45Z")

</div>

boost seems to be ignored in this scenario { "match\_phrase\_prefix": { "geoLocation.city": { "query": "chicago", "boost": 200 } } } am I doing this wrong?

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

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