# Elasticsearch

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

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

**Page:** 1484

---

## [Need multiple post\_filter condition](https://discuss.elastic.co/t/need-multiple-post-filter-condition/156255)

<div class="topic-metadata">

**Author:** [@fardhana](https://discuss.elastic.co/u/fardhana)\
**Replies:** 16\
**Last updated:** [November 15, 2018, 6:49am UTC](https://discuss.elastic.co/t/need-multiple-post-filter-condition/156255 "2018-11-15T06:49:22Z")

</div>

Hi, I have directory listing site that use elasticsearch as search engine. In this site people able to: Find the most related doc by keyword (keyword will be checked to multiple field) sort by nearest location and lim…

---

## [Consult a problem about "bucket\_script and sum\_bucket "](https://discuss.elastic.co/t/consult-a-problem-about-bucket-script-and-sum-bucket/156645)

<div class="topic-metadata">

**Author:** [@xmingyang](https://discuss.elastic.co/u/xmingyang)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 6:25am UTC](https://discuss.elastic.co/t/consult-a-problem-about-bucket-script-and-sum-bucket/156645 "2018-11-15T06:25:05Z")

</div>

data source: area amout bj 100 sh 200 sh 200 I need calculate the result: area amout percentage bj 300 300/500 sh 200 200/500 How to achieve this? thanks! I try to do this，but it is wrong. curl -X POST …

---

## [How to access simple input field from search input](https://discuss.elastic.co/t/how-to-access-simple-input-field-from-search-input/156787)

<div class="topic-metadata">

**Author:** [@dogface](https://discuss.elastic.co/u/dogface)\
**Replies:** 0\
**Last updated:** [November 15, 2018, 5:54am UTC](https://discuss.elastic.co/t/how-to-access-simple-input-field-from-search-input/156787 "2018-11-15T05:54:38Z")

</div>

I am trying to construct a watcher that uses the strings defined in the simple input section and places them into the search input section so I can rapidly create multiple watchers by only having to change the simple inp…

---

## [Remote access error for ElasticSearch](https://discuss.elastic.co/t/remote-access-error-for-elasticsearch/156689)

<div class="topic-metadata">

**Author:** [@donetz](https://discuss.elastic.co/u/donetz)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 4:24am UTC](https://discuss.elastic.co/t/remote-access-error-for-elasticsearch/156689 "2018-11-15T04:24:14Z")

</div>

Hi, I have the next issue: when I configure ElasticSerch to connect remotely from Windows host (ElasticSearch is running in Linux VM) I've put "network.host: 0.0.0.0" . But when I run de bin to start ElasticSearch I ge…

---

## [Elastic Search measure heap usage](https://discuss.elastic.co/t/elastic-search-measure-heap-usage/156776)

<div class="topic-metadata">

**Author:** [@surajdalvi](https://discuss.elastic.co/u/surajdalvi)\
**Replies:** 3\
**Last updated:** [November 15, 2018, 4:16am UTC](https://discuss.elastic.co/t/elastic-search-measure-heap-usage/156776 "2018-11-15T04:16:28Z")

</div>

How I can use heap usage of elastic search cluster between some time range? I want to check performance and heap usage of elastic search if I am continuously updating documents and at the same time doing full-text search…

---

## [Migration](https://discuss.elastic.co/t/migration/154061)

<div class="topic-metadata">

**Author:** [@barvepan](https://discuss.elastic.co/u/barvepan)\
**Replies:** 7\
**Last updated:** [November 15, 2018, 4:07am UTC](https://discuss.elastic.co/t/migration/154061 "2018-11-15T04:07:07Z")

</div>

We are using elasticsearch 1.5.3 with default configuration i.e. one cluster with one node. We are planning to migrate it to one cluster with 3 nodes. Can someone please guide us on the steps. Is there any quick way t…

---

## [Sending emails with watcher at a specific time](https://discuss.elastic.co/t/sending-emails-with-watcher-at-a-specific-time/156759)

<div class="topic-metadata">

**Author:** [@yungnvn](https://discuss.elastic.co/u/yungnvn)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 3:52am UTC](https://discuss.elastic.co/t/sending-emails-with-watcher-at-a-specific-time/156759 "2018-11-15T03:52:46Z")

</div>

I am trying to set up a watcher where the watcher will trigger every 1hr. I want to send two types of emails: One if watcher finds a certain query in the log and another one at the end of the day around 6PM with a summar…

---

## [Setting index\_\* permanently](https://discuss.elastic.co/t/setting-index-permanently/156583)

<div class="topic-metadata">

**Author:** [@merceskoba](https://discuss.elastic.co/u/merceskoba)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 2:29am UTC](https://discuss.elastic.co/t/setting-index-permanently/156583 "2018-11-15T02:29:17Z")

</div>

So, i visited this link https://stackoverflow.com/questions/40104821/making-index-max-result-window-setting-persistent I want to set index.max\_result\_window = 20000; and index.refresh\_interval = 10s 3 days ago, i execu…

---

## [How to query elasticsearch: I keep getting index\_not\_found\_exception](https://discuss.elastic.co/t/how-to-query-elasticsearch-i-keep-getting-index-not-found-exception/156750)

<div class="topic-metadata">

**Author:** [@Jose\_Ramierez](https://discuss.elastic.co/u/Jose_Ramierez)\
**Replies:** 5\
**Last updated:** [November 15, 2018, 1:40am UTC](https://discuss.elastic.co/t/how-to-query-elasticsearch-i-keep-getting-index-not-found-exception/156750 "2018-11-15T01:40:44Z")

</div>

Elasticsearch 6.4.3 Issue: /\_search command returns: index\_not\_found\_exception Specifically: $ curl -X GET "192.168.2.2:9200/MyNew\_Index/\_search" -H 'Content-Type: application/json' { "from": 0, "size": 40, "sort": …

---

## [ElasticSearch -Unable to lock JVM Memory](https://discuss.elastic.co/t/elasticsearch-unable-to-lock-jvm-memory/156338)

<div class="topic-metadata">

**Author:** [@Neni](https://discuss.elastic.co/u/Neni)\
**Replies:** 2\
**Last updated:** [November 15, 2018, 1:31am UTC](https://discuss.elastic.co/t/elasticsearch-unable-to-lock-jvm-memory/156338 "2018-11-15T01:31:50Z")

</div>

We have 3 aws instances of type m4.2xlarge being used for elasticsearch with 1 master node and 2 shards; total of 3 indices , one of the index is holding 13 millions of data. we never had this issue before. these inst…

---

## [Index alias support for "multi cluster" configuations](https://discuss.elastic.co/t/index-alias-support-for-multi-cluster-configuations/156737)

<div class="topic-metadata">

**Author:** [@mach](https://discuss.elastic.co/u/mach)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 1:30am UTC](https://discuss.elastic.co/t/index-alias-support-for-multi-cluster-configuations/156737 "2018-11-15T01:30:12Z")

</div>

We're in a multi-cluster, cross cluster search configuration would love to expand our index alias use to cover indexes/patterns across multiple clusters. I.e. a single alias that covers indexes in multiple clusters. Is…

---

## [Multiple analyzers for dynamic template mapping](https://discuss.elastic.co/t/multiple-analyzers-for-dynamic-template-mapping/156560)

<div class="topic-metadata">

**Author:** [@Jango\_Mango](https://discuss.elastic.co/u/Jango_Mango)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 11:01pm UTC](https://discuss.elastic.co/t/multiple-analyzers-for-dynamic-template-mapping/156560 "2018-11-14T23:01:53Z")

</div>

Hi, Is it possible to set multiple analyzers to a single dynamic template mapping? Currently, I'm only able to add single custom analyzer to all string fields Eg: { "mappings": { "\_doc": { "dynamic\_templates": \[ …

---

## [Elastic nodes and kibana on different VM](https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542)

<div class="topic-metadata">

**Author:** [@Sj\_Tom](https://discuss.elastic.co/u/Sj_Tom)\
**Replies:** 4\
**Last updated:** [November 14, 2018, 11:04pm UTC](https://discuss.elastic.co/t/elastic-nodes-and-kibana-on-different-vm/156542 "2018-11-14T23:04:56Z")

</div>

I have deployed elastic nodes, logstash through azure template. i have installed kibana on a separate VM. Kibana is not communicating with elasticsearch. elasticsearch.yml cluster.name: "rsxxxxxx" node.name: "DvELKdat…

---

## [Division of two fields](https://discuss.elastic.co/t/division-of-two-fields/156448)

<div class="topic-metadata">

**Author:** [@Sanjay\_Bhargav](https://discuss.elastic.co/u/Sanjay_Bhargav)\
**Replies:** 5\
**Last updated:** [November 14, 2018, 11:01pm UTC](https://discuss.elastic.co/t/division-of-two-fields/156448 "2018-11-14T23:01:48Z")

</div>

How to divide the count of two grouped fields and visualize

---

## [Metrics for illegal\_argument\_exception mapping conflicts](https://discuss.elastic.co/t/metrics-for-illegal-argument-exception-mapping-conflicts/156747)

<div class="topic-metadata">

**Author:** [@nhnicwaller](https://discuss.elastic.co/u/nhnicwaller)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 10:08pm UTC](https://discuss.elastic.co/t/metrics-for-illegal-argument-exception-mapping-conflicts/156747 "2018-11-14T22:08:56Z")

</div>

Does Elasticsearch expose any metrics about the number of times requests are refused with type: illegal\_argument\_exception? I have encountered several scenarios recently where document indexing fails with this familiar H…

---

## [Snapshot with NFS file system](https://discuss.elastic.co/t/snapshot-with-nfs-file-system/156724)

<div class="topic-metadata">

**Author:** [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Replies:** 3\
**Last updated:** [November 14, 2018, 10:03pm UTC](https://discuss.elastic.co/t/snapshot-with-nfs-file-system/156724 "2018-11-14T22:03:59Z")

</div>

Hi all, can you confirm to me that if I want to take a snapshot of a specific index I must mount a NFS file system on each node of my Elastic Cluster? I mean, currently my cluster is composed by 3 nodes (Master+Data ro…

---

## [Multiple clusters for hot warm architecture](https://discuss.elastic.co/t/multiple-clusters-for-hot-warm-architecture/155843)

<div class="topic-metadata">

**Author:** [@Mugen](https://discuss.elastic.co/u/Mugen)\
**Replies:** 8\
**Last updated:** [November 14, 2018, 10:01pm UTC](https://discuss.elastic.co/t/multiple-clusters-for-hot-warm-architecture/155843 "2018-11-14T22:01:22Z")

</div>

Hi Guys, We are currently planning on expanding our elasticsearch cluster. We have two options : Option 1 : Create one big cluster (about 10 nodes) with hot warm architecture. Option 2 : Create multiple clusters (on…

---

## [Terms Lookup caching](https://discuss.elastic.co/t/terms-lookup-caching/156745)

<div class="topic-metadata">

**Author:** [@Mikhail\_Khludnev](https://discuss.elastic.co/u/Mikhail_Khludnev)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 9:49pm UTC](https://discuss.elastic.co/t/terms-lookup-caching/156745 "2018-11-14T21:49:30Z")

</div>

Hello, I'm experimenting with Terms Lookup, expecting to find an option to cache the first heavy fetch phase, I can't find any way to cache. So, every time it pulls terms from lookup index making it really slow. What's…

---

## [In a cross cluster search configuration, is there a request cache similar to the shard request cache?](https://discuss.elastic.co/t/in-a-cross-cluster-search-configuration-is-there-a-request-cache-similar-to-the-shard-request-cache/156741)

<div class="topic-metadata">

**Author:** [@mach](https://discuss.elastic.co/u/mach)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 8:52pm UTC](https://discuss.elastic.co/t/in-a-cross-cluster-search-configuration-is-there-a-request-cache-similar-to-the-shard-request-cache/156741 "2018-11-14T20:52:43Z")

</div>

In a cross cluster search configuration, can/does the node acting as the federated client keep a request cache to improve the response time/performance of duplicate searches? An example would be in situations where the …

---

## [Use Custom Stop Words in Custom Terms Query](https://discuss.elastic.co/t/use-custom-stop-words-in-custom-terms-query/156363)

<div class="topic-metadata">

**Author:** [@BigM](https://discuss.elastic.co/u/BigM)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 8:24pm UTC](https://discuss.elastic.co/t/use-custom-stop-words-in-custom-terms-query/156363 "2018-11-14T20:24:41Z")

</div>

I want to be able to define a custom list of stop words when doing a custom term query, rather than using high and low frequency terms. Is this possible?

---

## [Filter results with custom logic](https://discuss.elastic.co/t/filter-results-with-custom-logic/156301)

<div class="topic-metadata">

**Author:** [@marcelothebuilder](https://discuss.elastic.co/u/marcelothebuilder)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 8:18pm UTC](https://discuss.elastic.co/t/filter-results-with-custom-logic/156301 "2018-11-14T20:18:07Z")

</div>

I have multiple match\_phrase clauses. Is there a way to access the matching phrases (the match\_phrase results and which clauses matched) and their position for each document? I'm looking for a way to create a plugin or p…

---

## [How to increase score matching phrase to the text from where phrase was selected?](https://discuss.elastic.co/t/how-to-increase-score-matching-phrase-to-the-text-from-where-phrase-was-selected/156276)

<div class="topic-metadata">

**Author:** [@dc69911bcef7249f271e](https://discuss.elastic.co/u/dc69911bcef7249f271e)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 8:15pm UTC](https://discuss.elastic.co/t/how-to-increase-score-matching-phrase-to-the-text-from-where-phrase-was-selected/156276 "2018-11-14T20:15:55Z")

</div>

Hi, I have many texts in my db, and I am using next query: "query": { "match\_phrase": { "text.exact": { "query": "some search phrase" } } When I select the phrase, firstly elastic returns me other text (I also ha…

---

## [DC-DC Replication](https://discuss.elastic.co/t/dc-dc-replication/156728)

<div class="topic-metadata">

**Author:** [@Nikolay.Bolobanov](https://discuss.elastic.co/u/Nikolay.Bolobanov)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 8:08pm UTC](https://discuss.elastic.co/t/dc-dc-replication/156728 "2018-11-14T20:08:46Z")

</div>

Hello! I'm looking for information about DC-DC replication. I found only an ancient mention: Please tell me: this article is actual for 6.4.\* ES ?

---

## [Elastic rest high level api RolloverRequest](https://discuss.elastic.co/t/elastic-rest-high-level-api-rolloverrequest/156733)

<div class="topic-metadata">

**Author:** [@sensei-wu](https://discuss.elastic.co/u/sensei-wu)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 7:54pm UTC](https://discuss.elastic.co/t/elastic-rest-high-level-api-rolloverrequest/156733 "2018-11-14T19:54:52Z")

</div>

I am trying to use RolloverRequest to automatically rollover a time based index. My index format is log-000001, log-000002 etc. and alias is log If i'm using REST API, then I do not have to supply the new index name as…

---

## [Boost documents having a particular field with any value except a certain value](https://discuss.elastic.co/t/boost-documents-having-a-particular-field-with-any-value-except-a-certain-value/156020)

<div class="topic-metadata">

**Author:** [@maryam\_abdullah](https://discuss.elastic.co/u/maryam_abdullah)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 7:54pm UTC](https://discuss.elastic.co/t/boost-documents-having-a-particular-field-with-any-value-except-a-certain-value/156020 "2018-11-14T19:54:25Z")

</div>

Hey, Is there any way I can boost documents with a particular field having any value except a certain value (might be multiple)? Thank you.

---

## [Boosting a Nested Query Isn't Working](https://discuss.elastic.co/t/boosting-a-nested-query-isnt-working/155901)

<div class="topic-metadata">

**Author:** [@haych1702](https://discuss.elastic.co/u/haych1702)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 7:50pm UTC](https://discuss.elastic.co/t/boosting-a-nested-query-isnt-working/155901 "2018-11-14T19:50:13Z")

</div>

Here is the query I am using in it's entirety: GET /property\_index/\_search { "from" : 0, "size" : 25, "query": { "function\_score": { "query": { "bool": { "should": \[ …

---

## [Query\_string containing the "/" character](https://discuss.elastic.co/t/query-string-containing-the-character/156104)

<div class="topic-metadata">

**Author:** [@ffknob](https://discuss.elastic.co/u/ffknob)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 7:41pm UTC](https://discuss.elastic.co/t/query-string-containing-the-character/156104 "2018-11-14T19:41:10Z")

</div>

Hello, does anyone know why I'm getting the following error when trying to search for a string that contains the "/" character? It is not listed in the Lucene special characters (and even trying to escape it doesn't hel…

---

## [New ES installation issues](https://discuss.elastic.co/t/new-es-installation-issues/156511)

<div class="topic-metadata">

**Author:** [@earldvoss](https://discuss.elastic.co/u/earldvoss)\
**Replies:** 4\
**Last updated:** [November 14, 2018, 7:25pm UTC](https://discuss.elastic.co/t/new-es-installation-issues/156511 "2018-11-14T19:25:26Z")

</div>

Hi, I've installed ES 6.4.3 on Win 10 Enterprise N. My JAVA\_HOME is set to: c:\\Program Files\\Java\\jre1.8.0\_192 JRE is installed in c:\\Program Files\\Java\\jre1.8.0\_192 I seem to have 2 issues: I installed the x64 elas…

---

## [How to overwrite detected processors](https://discuss.elastic.co/t/how-to-overwrite-detected-processors/156708)

<div class="topic-metadata">

**Author:** [@juanaramis](https://discuss.elastic.co/u/juanaramis)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 6:55pm UTC](https://discuss.elastic.co/t/how-to-overwrite-detected-processors/156708 "2018-11-14T18:55:28Z")

</div>

Hi there, How can I override the detected processors. In the doc related with thread pool say just write down Ex. processors: 2 But don’t say where: https://www.elastic.co/guide/en/elasticsearch/reference/current/mo…

---

## [Search result scoring](https://discuss.elastic.co/t/search-result-scoring/156494)

<div class="topic-metadata">

**Author:** [@atom](https://discuss.elastic.co/u/atom)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 6:44pm UTC](https://discuss.elastic.co/t/search-result-scoring/156494 "2018-11-14T18:44:54Z")

</div>

Hi, i have question about search result order in elasticsearch. We have different sort rules and a method for score calculation that works fine so far. Lets assume we are performing a search and getting 10,000 results…

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

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