# Elasticsearch

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

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

**Page:** 1981

---

## [Time Range raw timestamp minus time](https://discuss.elastic.co/t/time-range-raw-timestamp-minus-time/96964)

<div class="topic-metadata">

**Author:** [@mza97](https://discuss.elastic.co/u/mza97)\
**Replies:** 2\
**Last updated:** [August 14, 2017, 12:50pm UTC](https://discuss.elastic.co/t/time-range-raw-timestamp-minus-time/96964 "2017-08-14T12:50:49Z")

</div>

Hi, Is it possible to do a time range with a timestamp like this? (I can’t use now): { “range”: { “@timestamp”: { “from”: “2017-08-14T11:56:02-5m”,“to”: “2017-08-14T11:56:02”}}} Regards

---

## [Elasticsearch 6 node will not join ES 5 cluster](https://discuss.elastic.co/t/elasticsearch-6-node-will-not-join-es-5-cluster/96966)

<div class="topic-metadata">

**Author:** [@vb4t](https://discuss.elastic.co/u/vb4t)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 12:40pm UTC](https://discuss.elastic.co/t/elasticsearch-6-node-will-not-join-es-5-cluster/96966 "2017-08-14T12:40:28Z")

</div>

Hello. I would like to connect ES 6.0.0-beta1 node to my ES 5.5.0 cluster. But ES 6.0.0-beta1 node does not detect any masters. Is this correct behaviour? ES 6 should support rolling upgrade from ES 5 so I think this sho…

---

## [Elasticsearch.yml email configuration error](https://discuss.elastic.co/t/elasticsearch-yml-email-configuration-error/96956)

<div class="topic-metadata">

**Author:** [@vinayak](https://discuss.elastic.co/u/vinayak)\
**Replies:** 2\
**Last updated:** [August 14, 2017, 11:48am UTC](https://discuss.elastic.co/t/elasticsearch-yml-email-configuration-error/96956 "2017-08-14T11:48:15Z")

</div>

Hi All, My elastic search configuration for is like this only: ======================== Elasticsearch Configuration ========================= ---------------------------------- Cluster --------------------------------…

---

## [Template Elasticsearch about data](https://discuss.elastic.co/t/template-elasticsearch-about-data/96103)

<div class="topic-metadata">

**Author:** [@Beuhlet\_Reseau](https://discuss.elastic.co/u/Beuhlet_Reseau)\
**Replies:** 4\
**Last updated:** [August 9, 2017, 1:01pm UTC](https://discuss.elastic.co/t/template-elasticsearch-about-data/96103 "2017-08-09T13:01:49Z")

</div>

Hello guys, I want help to define my template elasticsearch 5.5.1 An example of line : 90|336882106|2080159|12F6|1162|025C|03/08/201708:02:46|A1|LEGACY|CATCH|10001|258|request|01|000541|01|3585086414|00|apache2|CATCH\_…

---

## [Elasticsearch & hadoop](https://discuss.elastic.co/t/elasticsearch-hadoop/90202)

<div class="topic-metadata">

**Author:** [@JIELOGAN](https://discuss.elastic.co/u/JIELOGAN)\
**Replies:** 6\
**Last updated:** [August 14, 2017, 11:26am UTC](https://discuss.elastic.co/t/elasticsearch-hadoop/90202 "2017-08-14T11:26:44Z")

</div>

Hi,recently I need to integrate ES and hadoop via elasticsearch-hadoop, What about the performance of reading data from ES to hadoop, and the performance of reading data from hadoop to ES？Let‘s say that I have 100G da…

---

## [DSL: Put Result of Aggregation into HIts](https://discuss.elastic.co/t/dsl-put-result-of-aggregation-into-hits/96927)

<div class="topic-metadata">

**Author:** [@gringo](https://discuss.elastic.co/u/gringo)\
**Replies:** 3\
**Last updated:** [August 14, 2017, 10:24am UTC](https://discuss.elastic.co/t/dsl-put-result-of-aggregation-into-hits/96927 "2017-08-14T10:24:59Z")

</div>

When a person do a DSL search the result will usually end up in the hits field. When a person do a DSL aggregation, the result will be in an “aggregation” field Can I copy the result in “aggregation” into the “hi…

---

## [Full GC,Elasticsearch heap contains a lot of CompressingStoredFieldsReader](https://discuss.elastic.co/t/full-gc-elasticsearch-heap-contains-a-lot-of-compressingstoredfieldsreader/96538)

<div class="topic-metadata">

**Author:** [@psiitoy](https://discuss.elastic.co/u/psiitoy)\
**Replies:** 10\
**Last updated:** [August 14, 2017, 9:53am UTC](https://discuss.elastic.co/t/full-gc-elasticsearch-heap-contains-a-lot-of-compressingstoredfieldsreader/96538 "2017-08-14T09:53:23Z")

</div>

My cluster nodes always Full GC，I use MAT's function "Path to GC Roots" find the refrence is IndicesQueryCache and CompressingStoredFieldsReader, How to solve the question,IndicesQueryCache and CompressingStoredFields…

---

## [I want to know the word list of the \_\_english\_\_ stop token filter](https://discuss.elastic.co/t/i-want-to-know-the-word-list-of-the---english---stop-token-filter/96930)

<div class="topic-metadata">

**Author:** [@zhangweilun](https://discuss.elastic.co/u/zhangweilun)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 9:17am UTC](https://discuss.elastic.co/t/i-want-to-know-the-word-list-of-the---english---stop-token-filter/96930 "2017-08-14T09:17:25Z")

</div>

“english\_stop”: { “type”: “stop”, “stopwords”: “english” }, i want to know the specific words

---

## [Pass a list to Elasticsearch query template](https://discuss.elastic.co/t/pass-a-list-to-elasticsearch-query-template/96928)

<div class="topic-metadata">

**Author:** [@kattisa](https://discuss.elastic.co/u/kattisa)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 9:02am UTC](https://discuss.elastic.co/t/pass-a-list-to-elasticsearch-query-template/96928 "2017-08-14T09:02:26Z")

</div>

Hi everyone! I am trying to pass a list of parameters to a search query (filter by terms) in Elasticsearch. It works when it’s not in a template, just in a query: "terms": { "speaker": \["HAMLET", "KING HENRY IV"\]…

---

## [Index level settings in elasticsearch v5.0](https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193)

<div class="topic-metadata">

**Author:** [@1222kkk](https://discuss.elastic.co/u/1222kkk)\
**Replies:** 4\
**Last updated:** [August 14, 2017, 8:58am UTC](https://discuss.elastic.co/t/index-level-settings-in-elasticsearch-v5-0/96193 "2017-08-14T08:58:31Z")

</div>

Hi all, I noticed that index level settings can’t be set in elasticsearch.yml. I just wonder how I can set indices.fielddata.cache.size ? and other index memory cache settings like this one.

---

## [2 Cluster Elasticsearch](https://discuss.elastic.co/t/2-cluster-elasticsearch/96894)

<div class="topic-metadata">

**Author:** [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Replies:** 5\
**Last updated:** [August 14, 2017, 8:39am UTC](https://discuss.elastic.co/t/2-cluster-elasticsearch/96894 "2017-08-14T08:39:26Z")

</div>

Can I setup 2 cluster with 1 node and sync data? My purpose is that, if ever 1 cluster i down, there’s a failover on another system.

---

## [Count how many terms match document](https://discuss.elastic.co/t/count-how-many-terms-match-document/96222)

<div class="topic-metadata">

**Author:** [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Replies:** 3\
**Last updated:** [August 14, 2017, 8:26am UTC](https://discuss.elastic.co/t/count-how-many-terms-match-document/96222 "2017-08-14T08:26:13Z")

</div>

My document have an array of string: "categories" : \["A", "B", "C"\] I query like this: POST /topic/\_search?explain=true { "query": { "terms": { "categories": \[ "yoga", …

---

## [Delete indices](https://discuss.elastic.co/t/delete-indices/96877)

<div class="topic-metadata">

**Author:** [@Nassi\_Harel](https://discuss.elastic.co/u/Nassi_Harel)\
**Replies:** 3\
**Last updated:** [August 14, 2017, 8:11am UTC](https://discuss.elastic.co/t/delete-indices/96877 "2017-08-14T08:11:02Z")

</div>

I am using an ES cluster (2 clients, 5 data nodes, 3 master nodes) with mounted volumes to NFS… When I delete old indices (using sense) I see they are actually deleted, but after I restart the ES cluster, I see that the…

---

## [I want to fix queries in Elasticsearch's Java client](https://discuss.elastic.co/t/i-want-to-fix-queries-in-elasticsearchs-java-client/96924)

<div class="topic-metadata">

**Author:** [@miya1](https://discuss.elastic.co/u/miya1)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 8:06am UTC](https://discuss.elastic.co/t/i-want-to-fix-queries-in-elasticsearchs-java-client/96924 "2017-08-14T08:06:20Z")

</div>

I executed “elasticsearch” with “curl” and “Java Client”. The result is different. totalhits Order of results These are different I want to fix the Java client code. Please let me know how to fix the Java client. c…

---

## [Elasticsearch php client search and range query](https://discuss.elastic.co/t/elasticsearch-php-client-search-and-range-query/96919)

<div class="topic-metadata">

**Author:** [@Akhil\_Prashar](https://discuss.elastic.co/u/Akhil_Prashar)\
**Replies:** 2\
**Last updated:** [August 14, 2017, 7:55am UTC](https://discuss.elastic.co/t/elasticsearch-php-client-search-and-range-query/96919 "2017-08-14T07:55:45Z")

</div>

I am trying to write a query which can search a particular word in a field in between the mentioned dates. So, I should use search and range query. I have written a query but I think I am doing something wrong. $params …

---

## [Loop through watcher results to create multiple actions](https://discuss.elastic.co/t/loop-through-watcher-results-to-create-multiple-actions/96827)

<div class="topic-metadata">

**Author:** [@devans](https://discuss.elastic.co/u/devans)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 7:14am UTC](https://discuss.elastic.co/t/loop-through-watcher-results-to-create-multiple-actions/96827 "2017-08-14T07:14:52Z")

</div>

I’m looking to create a filesystem monitor based off of metricbeat and this sample watch. I want to perform a webhook action to create tickets in our ticketing system. However, if multiple servers/filesystems return ov…

---

## [AWS SES and PagerDuty configs for watcher](https://discuss.elastic.co/t/aws-ses-and-pagerduty-configs-for-watcher/96821)

<div class="topic-metadata">

**Author:** [@nvasion](https://discuss.elastic.co/u/nvasion)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 7:13am UTC](https://discuss.elastic.co/t/aws-ses-and-pagerduty-configs-for-watcher/96821 "2017-08-14T07:13:34Z")

</div>

Looking for the correct config, in elasticsearch.yml, for both SES and PagerDuty for watcher and notifications. Just looking for someone that may have done this before. Or some help getting off the ground. This is the c…

---

## [Watcher: getting items into array with condition met](https://discuss.elastic.co/t/watcher-getting-items-into-array-with-condition-met/96815)

<div class="topic-metadata">

**Author:** [@Lean](https://discuss.elastic.co/u/Lean)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 7:12am UTC](https://discuss.elastic.co/t/watcher-getting-items-into-array-with-condition-met/96815 "2017-08-14T07:12:44Z")

</div>

Hello again! I’m playing around watcher and needing some advice here. I have created a watcher which condition is an array\_compare. Once the condition is met on some of my array values, I need the related action to tak…

---

## [Elasticsearch remove stopwords from storing in index and aggregation](https://discuss.elastic.co/t/elasticsearch-remove-stopwords-from-storing-in-index-and-aggregation/96910)

<div class="topic-metadata">

**Author:** [@Chelambarasan\_CR](https://discuss.elastic.co/u/Chelambarasan_CR)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 6:41am UTC](https://discuss.elastic.co/t/elasticsearch-remove-stopwords-from-storing-in-index-and-aggregation/96910 "2017-08-14T06:41:13Z")

</div>

In latest version 5.5, the string type has been changed to text/keyword. I enabled the stopwords for the field message\_analyzed and it is working for search. Means if i search for the, it is not returning but if i use be…

---

## [Index Db content and linked Filesystem content](https://discuss.elastic.co/t/index-db-content-and-linked-filesystem-content/93951)

<div class="topic-metadata">

**Author:** [@Chelambarasan\_CR](https://discuss.elastic.co/u/Chelambarasan_CR)\
**Replies:** 2\
**Last updated:** [August 14, 2017, 6:31am UTC](https://discuss.elastic.co/t/index-db-content-and-linked-filesystem-content/93951 "2017-08-14T06:31:36Z")

</div>

Hi, I need to index database and files in Elastic search. The database has information about the filesystem. It has the file path and file name stored in database along with other fields. I need to index the databas…

---

## [Bitsets memory allocation](https://discuss.elastic.co/t/bitsets-memory-allocation/96909)

<div class="topic-metadata">

**Author:** [@Eli\_Revach](https://discuss.elastic.co/u/Eli_Revach)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 6:18am UTC](https://discuss.elastic.co/t/bitsets-memory-allocation/96909 "2017-08-14T06:18:35Z")

</div>

Hi , ES version – 1.7.5 . I would like to get some clarifications about bitsets memory allocation . Assuming my dataset is 100K documents and I have the below filters in my query and my index had 10 Segments Filter…

---

## [IllegalArgumentException: Document contains at least one immense term in field=“abc”.(whose UTF8 encoding is longer than the max length 32766)](https://discuss.elastic.co/t/illegalargumentexception-document-contains-at-least-one-immense-term-in-field-abc-whose-utf8-encoding-is-longer-than-the-max-length-32766/96895)

<div class="topic-metadata">

**Author:** [@dimalini](https://discuss.elastic.co/u/dimalini)\
**Replies:** 2\
**Last updated:** [August 14, 2017, 5:53am UTC](https://discuss.elastic.co/t/illegalargumentexception-document-contains-at-least-one-immense-term-in-field-abc-whose-utf8-encoding-is-longer-than-the-max-length-32766/96895 "2017-08-14T05:53:29Z")

</div>

I have a field, the mapping of which looks like the following new TextProperty { Name = “allContent”, Analyzer = “contentanalyzer”, IndexOptions = IndexOptions.Offsets, Norms = false } The analyzer I am using is …

---

## [I need an elasticsearch php client query for range and search filter](https://discuss.elastic.co/t/i-need-an-elasticsearch-php-client-query-for-range-and-search-filter/96899)

<div class="topic-metadata">

**Author:** [@Akhil\_Prashar](https://discuss.elastic.co/u/Akhil_Prashar)\
**Replies:** 3\
**Last updated:** [August 14, 2017, 5:38am UTC](https://discuss.elastic.co/t/i-need-an-elasticsearch-php-client-query-for-range-and-search-filter/96899 "2017-08-14T05:38:21Z")

</div>

This is the query I wrote: $params = \[‘index’ =\> ‘201706’,‘type’ =\> ‘facebook’, ‘body’ =\> \[‘query’ =\> \[‘bool’ =\> \[‘filter’ =\> \[‘range’ =\> \[‘created\_at’ =\> \[‘gte’ =\> ‘2017-06-25 00:00:00’,‘lte’ =\> ‘2017-09-30 00:00:00’ ,…

---

## [How to use js to query elasticsearch's data](https://discuss.elastic.co/t/how-to-use-js-to-query-elasticsearchs-data/96902)

<div class="topic-metadata">

**Author:** [@eboy](https://discuss.elastic.co/u/eboy)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 5:10am UTC](https://discuss.elastic.co/t/how-to-use-js-to-query-elasticsearchs-data/96902 "2017-08-14T05:10:22Z")

</div>

Ask, on the use of js to get elasticsearch data problems. This is the data that can be obtained, the same sentence, with js $ .get () to obtain the time, the callback function did not receive the return value, how is …

---

## [I need an elasticsearch php client query for range filter](https://discuss.elastic.co/t/i-need-an-elasticsearch-php-client-query-for-range-filter/96748)

<div class="topic-metadata">

**Author:** [@Akhil\_Prashar](https://discuss.elastic.co/u/Akhil_Prashar)\
**Replies:** 6\
**Last updated:** [August 14, 2017, 3:59am UTC](https://discuss.elastic.co/t/i-need-an-elasticsearch-php-client-query-for-range-filter/96748 "2017-08-14T03:59:07Z")

</div>

I am using this query: $params = \[‘index’ =\> ‘201706’,‘type’ =\> ‘facebook’, ‘body’ =\> \[‘query’ =\> \[‘bool’ =\> \[‘must’ =\> \[‘filter’ =\> \[‘range’ =\> \[‘created\_at’ =\> \[‘gte’ =\> ‘2017-06-25 01:00:00’,‘lte’ =\> ‘2017-09-30 08:0…

---

## [Nested aggregation](https://discuss.elastic.co/t/nested-aggregation/96781)

<div class="topic-metadata">

**Author:** [@KeninHouston](https://discuss.elastic.co/u/KeninHouston)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 3:03am UTC](https://discuss.elastic.co/t/nested-aggregation/96781 "2017-08-14T03:03:35Z")

</div>

Hi all, I’m new to ElasticSearch and I’m trying to build a query based on the following structure: Well 1 { Sections { bottom\_depth 1 other field 1 } { bottom\_depth 2 } Well 2 { Sections { bottom\_depth 1 oth…

---

## [Compare es version 1.7.1 with .5.51](https://discuss.elastic.co/t/compare-es-version-1-7-1-with-5-51/96843)

<div class="topic-metadata">

**Author:** [@yaoqijun](https://discuss.elastic.co/u/yaoqijun)\
**Replies:** 1\
**Last updated:** [August 14, 2017, 1:56am UTC](https://discuss.elastic.co/t/compare-es-version-1-7-1-with-5-51/96843 "2017-08-14T01:56:46Z")

</div>

i user 1.7.1 version elastic, now i want to 1.5 version. i download 1.7. and 5.5.1 version, and execute in single. in one second, 1.7 has 356260 success post. but 5.5.1 only have 63183 success post. is has different…

---

## [Logs no longer showing up in Kibana after updating my pipeline](https://discuss.elastic.co/t/logs-no-longer-showing-up-in-kibana-after-updating-my-pipeline/96892)

<div class="topic-metadata">

**Author:** [@mmugabo](https://discuss.elastic.co/u/mmugabo)\
**Replies:** 0\
**Last updated:** [August 14, 2017, 1:26am UTC](https://discuss.elastic.co/t/logs-no-longer-showing-up-in-kibana-after-updating-my-pipeline/96892 "2017-08-14T01:26:22Z")

</div>

Hello to you all, I have an issue, my logs were being pushed and view-able into kibana until I made pipeline update, I am using: Elastic search 5.4.0 Filebeat 5.3.1 Kibana not sure but it must be 5.4.0 too, I did not…

---

## [Different data from Elastic search in dev tools and java script client](https://discuss.elastic.co/t/different-data-from-elastic-search-in-dev-tools-and-java-script-client/96887)

<div class="topic-metadata">

**Author:** [@biood](https://discuss.elastic.co/u/biood)\
**Replies:** 0\
**Last updated:** [August 13, 2017, 9:46pm UTC](https://discuss.elastic.co/t/different-data-from-elastic-search-in-dev-tools-and-java-script-client/96887 "2017-08-13T21:46:51Z")

</div>

Hello, I have the problem with query for elastic search from java script side. Stack: Kibana 5.2.1 Elasticsearch 5.2.1 First, I have created a query and test it in kibana dev tools. The query works correct and retu…

---

## [Percolator Index Mapping](https://discuss.elastic.co/t/percolator-index-mapping/96884)

<div class="topic-metadata">

**Author:** [@siddharth\_gupta](https://discuss.elastic.co/u/siddharth_gupta)\
**Replies:** 0\
**Last updated:** [August 13, 2017, 6:01pm UTC](https://discuss.elastic.co/t/percolator-index-mapping/96884 "2017-08-13T18:01:37Z")

</div>

I am using elasticsearch 5.5 and want to create a percolator index with the following mapping : { “usqueriesfreqpercolators” : { “mappings” : { “queries” : { “properties” : { “query” : { “type” : “percolator” } …

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

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