# Elasticsearch

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

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

**Page:** 1157

---

## [Path.conf is no longer a configurable setting - Installed X Pack](https://discuss.elastic.co/t/path-conf-is-no-longer-a-configurable-setting-installed-x-pack/198493)

<div class="topic-metadata">

**Author:** [@es\_robot](https://discuss.elastic.co/u/es_robot)\
**Replies:** 3\
**Last updated:** [September 14, 2019, 4:20pm UTC](https://discuss.elastic.co/t/path-conf-is-no-longer-a-configurable-setting-installed-x-pack/198493 "2019-09-14T16:20:14Z")

</div>

Hey I've installed X-Pack 5.6 on Elasticsearch & Kibana. Upon running Upgrade Assistant I've experienced an error and unable to proceed. The Error I'm getting is below. The Documentation doesn't provide any help either…

---

## [Completion Suggester with a Context and indexing field (mixte lowercase or uppercase ....)](https://discuss.elastic.co/t/completion-suggester-with-a-context-and-indexing-field-mixte-lowercase-or-uppercase/199499)

<div class="topic-metadata">

**Author:** [@fallphenix](https://discuss.elastic.co/u/fallphenix)\
**Replies:** 1\
**Last updated:** [September 14, 2019, 12:02pm UTC](https://discuss.elastic.co/t/completion-suggester-with-a-context-and-indexing-field-mixte-lowercase-or-uppercase/199499 "2019-09-14T12:02:29Z")

</div>

Hi, When using Completion Suggester with a Context, i note it is not possible to context\_type field as an indexing field (lowercase or uppercase ....). To test, you can use the same example in doc : https://www.elast…

---

## [How many Documents can be managed at a 8GB RAM Server?](https://discuss.elastic.co/t/how-many-documents-can-be-managed-at-a-8gb-ram-server/199071)

<div class="topic-metadata">

**Author:** [@Isi](https://discuss.elastic.co/u/Isi)\
**Replies:** 2\
**Last updated:** [September 14, 2019, 10:51am UTC](https://discuss.elastic.co/t/how-many-documents-can-be-managed-at-a-8gb-ram-server/199071 "2019-09-14T10:51:10Z")

</div>

We want to integrate elasticsearch into a document management system. For the implementation, we need the hardware requirements when it comes to several thousand documents to be managed with elasticsearch.

---

## [After node replacement, rate of (re) initializing shards is decreasing](https://discuss.elastic.co/t/after-node-replacement-rate-of-re-initializing-shards-is-decreasing/199141)

<div class="topic-metadata">

**Author:** [@Philip\_Brown](https://discuss.elastic.co/u/Philip_Brown)\
**Replies:** 1\
**Last updated:** [September 14, 2019, 10:35am UTC](https://discuss.elastic.co/t/after-node-replacement-rate-of-re-initializing-shards-is-decreasing/199141 "2019-09-14T10:35:39Z")

</div>

I started off replacing a node, and having 1200 unassigned shards. The cluster happily started reassigning 8 shards at a time. Then it hit somewhere under 1000 shards unassigned.. and suddenly, started to only do 4 sha…

---

## [None of Configured nodes are available](https://discuss.elastic.co/t/none-of-configured-nodes-are-available/199278)

<div class="topic-metadata">

**Author:** [@vijayaraj](https://discuss.elastic.co/u/vijayaraj)\
**Replies:** 1\
**Last updated:** [September 14, 2019, 10:24am UTC](https://discuss.elastic.co/t/none-of-configured-nodes-are-available/199278 "2019-09-14T10:24:05Z")

</div>

org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: \[{#transport#-1} The elastic search works fine most of the time, This error persisted for almost a minute and all …

---

## [Elasticsearch|Grafana|Variable Templates](https://discuss.elastic.co/t/elasticsearch-grafana-variable-templates/199323)

<div class="topic-metadata">

**Author:** [@chinmay.parkar](https://discuss.elastic.co/u/chinmay.parkar)\
**Replies:** 1\
**Last updated:** [September 14, 2019, 10:19am UTC](https://discuss.elastic.co/t/elasticsearch-grafana-variable-templates/199323 "2019-09-14T10:19:43Z")

</div>

How can I make a Grafana template with a variable reference another variable using Elasticsearch as a datasource? I have a Grafana dashboard with template variables for fields and terms . When I select a field how ca…

---

## [Customized posting format elasticsearch 6.x 7.x](https://discuss.elastic.co/t/customized-posting-format-elasticsearch-6-x-7-x/199332)

<div class="topic-metadata">

**Author:** [@marb](https://discuss.elastic.co/u/marb)\
**Replies:** 1\
**Last updated:** [September 14, 2019, 10:18am UTC](https://discuss.elastic.co/t/customized-posting-format-elasticsearch-6-x-7-x/199332 "2019-09-14T10:18:56Z")

</div>

Hi, I was looking for a way to introduce my own posting format. It looks like tht was something possible in 0.9 by using the codec module and the posting\_format syntax in the mapping file. Has it been removed in the n…

---

## [Shards count issue between logstash and elasticsearch](https://discuss.elastic.co/t/shards-count-issue-between-logstash-and-elasticsearch/199393)

<div class="topic-metadata">

**Author:** [@nithintechy](https://discuss.elastic.co/u/nithintechy)\
**Replies:** 1\
**Last updated:** [September 14, 2019, 9:46am UTC](https://discuss.elastic.co/t/shards-count-issue-between-logstash-and-elasticsearch/199393 "2019-09-14T09:46:40Z")

</div>

Hi, I am trying to write server log files to elasticsearch using logstash. We have 8 servers with logstash running and one single node elasticsearch cluster. All were working well till one week. Currently, logstash is …

---

## [Dynamic alias remapping for newly created index](https://discuss.elastic.co/t/dynamic-alias-remapping-for-newly-created-index/199389)

<div class="topic-metadata">

**Author:** [@O\_K](https://discuss.elastic.co/u/O_K)\
**Replies:** 1\
**Last updated:** [September 14, 2019, 9:42am UTC](https://discuss.elastic.co/t/dynamic-alias-remapping-for-newly-created-index/199389 "2019-09-14T09:42:45Z")

</div>

When I create the following alias, it maps currently available indexes like apps-2019.09.11, apps-2019.09.12 curl -XPOST 'localhost:9200/\_aliases' -H 'Content-Type: application/json' -d' { "actions" : \[ { …

---

## [Es 6.2.4 upgrade to es 6.3.0 but cannot join the cluster](https://discuss.elastic.co/t/es-6-2-4-upgrade-to-es-6-3-0-but-cannot-join-the-cluster/199345)

<div class="topic-metadata">

**Author:** [@Bowen\_Liu](https://discuss.elastic.co/u/Bowen_Liu)\
**Replies:** 4\
**Last updated:** [September 14, 2019, 7:36am UTC](https://discuss.elastic.co/t/es-6-2-4-upgrade-to-es-6-3-0-but-cannot-join-the-cluster/199345 "2019-09-14T07:36:21Z")

</div>

Hi, everyone. I encounter an upgrade problem and really don't know how to deal with it. The thing is that we need to upgrade es 6.2.4 to es 6.3.0, the cluster is build on some VM machines and the os is Ubuntu 16.04, the…

---

## [Where should I use the nodejs client library?](https://discuss.elastic.co/t/where-should-i-use-the-nodejs-client-library/199496)

<div class="topic-metadata">

**Author:** [@Ahsath](https://discuss.elastic.co/u/Ahsath)\
**Replies:** 0\
**Last updated:** [September 14, 2019, 6:54am UTC](https://discuss.elastic.co/t/where-should-i-use-the-nodejs-client-library/199496 "2019-09-14T06:54:51Z")

</div>

This may be an stupid question, but if I wanted to integrate a search box in my website, where should I use the nodejs client library for elasticsearch? https://www.elastic.co/guide/en/elasticsearch/client/javascript-ap…

---

## [CreateProcess error=193, %1 is not a valid Win32 application](https://discuss.elastic.co/t/createprocess-error-193-1-is-not-a-valid-win32-application/199473)

<div class="topic-metadata">

**Author:** [@Yamini](https://discuss.elastic.co/u/Yamini)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 6:57pm UTC](https://discuss.elastic.co/t/createprocess-error-193-1-is-not-a-valid-win32-application/199473 "2019-09-13T18:57:39Z")

</div>

I am new to installing elastic search. I am encountering the below error when trying to start the service. Not sure what's causing this. My machine is Windows 2008 64 Bit. uncaught exception in thread \[main\] org.elasti…

---

## [Highlight not worked when use script\_score](https://discuss.elastic.co/t/highlight-not-worked-when-use-script-score/198509)

<div class="topic-metadata">

**Author:** [@111205](https://discuss.elastic.co/u/111205)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 6:26pm UTC](https://discuss.elastic.co/t/highlight-not-worked-when-use-script-score/198509 "2019-09-13T18:26:14Z")

</div>

Elasticsearch version ( bin/elasticsearch --version ): 7.3.1 Plugins installed : \["ikAnalyse"\] JVM version ( java -version ):1.7 OS version ( uname -a if on a Unix-like system):centos7 Description of the problem …

---

## [Error "illegal\_argument\_exception" illegal b value: 1.2 BM25](https://discuss.elastic.co/t/error-illegal-argument-exception-illegal-b-value-1-2-bm25/198437)

<div class="topic-metadata">

**Author:** [@dpappas](https://discuss.elastic.co/u/dpappas)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 6:20pm UTC](https://discuss.elastic.co/t/error-illegal-argument-exception-illegal-b-value-1-2-bm25/198437 "2019-09-13T18:20:14Z")

</div>

Hello everyone I tried hyper parameter tuning BM25 and unfortunately i tried putting b=1.2 in the settings which was wrong wince it always gets a value between zero and one. Now i try to fix the value of b but i get th…

---

## [Can not access array with objects in painless](https://discuss.elastic.co/t/can-not-access-array-with-objects-in-painless/198226)

<div class="topic-metadata">

**Author:** [@sailxjx](https://discuss.elastic.co/u/sailxjx)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 6:18pm UTC](https://discuss.elastic.co/t/can-not-access-array-with-objects-in-painless/198226 "2019-09-13T18:18:15Z")

</div>

I indexed some documents with the following structure: { "id" : "5d528eb2585e760011d88f84", "visits" : \[ { "visitCount" : 2, "recentlyVisitTime" : 156652428371…

---

## [Query profile - too much time spent in build\_scorer?](https://discuss.elastic.co/t/query-profile-too-much-time-spent-in-build-scorer/199145)

<div class="topic-metadata">

**Author:** [@brianelliott](https://discuss.elastic.co/u/brianelliott)\
**Replies:** 4\
**Last updated:** [September 13, 2019, 4:52pm UTC](https://discuss.elastic.co/t/query-profile-too-much-time-spent-in-build-scorer/199145 "2019-09-13T16:52:40Z")

</div>

Hello, I am using the profile API to try and debug a slow query (3-7s). From what I can tell, the operation to build scorers for the geo\_shapes in the query are particularly slow and nearly all of the query time is spe…

---

## [Problems Ranking Results With Query Containing a Period](https://discuss.elastic.co/t/problems-ranking-results-with-query-containing-a-period/198810)

<div class="topic-metadata">

**Author:** [@Cannon\_Moyer](https://discuss.elastic.co/u/Cannon_Moyer)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 3:35pm UTC](https://discuss.elastic.co/t/problems-ranking-results-with-query-containing-a-period/198810 "2019-09-13T15:35:40Z")

</div>

I have a brand and a part number field which I have indexed using ElasticSearch 7.3. In my mapping, I have assigned a standard analyzer to my brand field and a custom analyzer that maps . to "" for my part\_number fi…

---

## [Time range rounding down to multiple minutes. Is it possible somehow?](https://discuss.elastic.co/t/time-range-rounding-down-to-multiple-minutes-is-it-possible-somehow/199455)

<div class="topic-metadata">

**Author:** [@crickes](https://discuss.elastic.co/u/crickes)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 3:20pm UTC](https://discuss.elastic.co/t/time-range-rounding-down-to-multiple-minutes-is-it-possible-somehow/199455 "2019-09-13T15:20:03Z")

</div>

I am using a range query on a timestamp in order to select some documents: { "range": { "start\_time\_UTC": { "gte": "now-5m/m", "lt": "now" } …

---

## [Add Match Query Conditionally](https://discuss.elastic.co/t/add-match-query-conditionally/198541)

<div class="topic-metadata">

**Author:** [@vikasnew](https://discuss.elastic.co/u/vikasnew)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 3:13pm UTC](https://discuss.elastic.co/t/add-match-query-conditionally/198541 "2019-09-13T15:13:51Z")

</div>

Hello, i am in caught a situation where i need to apply a match query based on a condition. my code is as below: var searchResponse = await client.SearchAsync\<StringResponse\>("custom-index", @" { …

---

## [Elasticsearch not starting on redhat7 bootup but does manually post reboot](https://discuss.elastic.co/t/elasticsearch-not-starting-on-redhat7-bootup-but-does-manually-post-reboot/199453)

<div class="topic-metadata">

**Author:** [@jsterli1](https://discuss.elastic.co/u/jsterli1)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 3:00pm UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-on-redhat7-bootup-but-does-manually-post-reboot/199453 "2019-09-13T15:00:43Z")

</div>

Hi, I'm running Red Hat Enterprise Linux Server release 7.2, and elasticsearch-7.1.1-1. I used the standard RPM installation and enabled elastic to start on bootup. During the bootup I see.. Sep 11 17:07:55 xxxxx syste…

---

## [Elasticsearch-certutil add node pem format failing](https://discuss.elastic.co/t/elasticsearch-certutil-add-node-pem-format-failing/199325)

<div class="topic-metadata">

**Author:** [@kdotson](https://discuss.elastic.co/u/kdotson)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 3:02pm UTC](https://discuss.elastic.co/t/elasticsearch-certutil-add-node-pem-format-failing/199325 "2019-09-13T15:02:22Z")

</div>

In prep for upgrade to 7x from 6.61, I am creating new certs. After creating the initial certs without issue, I attempted to add a node and it is failing using the following command: bin/elasticsearch-certutil cert --p…

---

## [Unable to load org.elasticsearch.xpack.core.XPackPlugin](https://discuss.elastic.co/t/unable-to-load-org-elasticsearch-xpack-core-xpackplugin/199094)

<div class="topic-metadata">

**Author:** [@bharat1](https://discuss.elastic.co/u/bharat1)\
**Replies:** 21\
**Last updated:** [September 13, 2019, 2:57pm UTC](https://discuss.elastic.co/t/unable-to-load-org-elasticsearch-xpack-core-xpackplugin/199094 "2019-09-13T14:57:42Z")

</div>

Dear All, Configuring AD realm and having a problem of unable to load security plugin in 7.3 version. I do not want to load any SSL certificates as of now and neither want to enable SSL. Initially want to test a plain A…

---

## [Ignore common terms in field-based query](https://discuss.elastic.co/t/ignore-common-terms-in-field-based-query/198285)

<div class="topic-metadata">

**Author:** [@James\_Daily](https://discuss.elastic.co/u/James_Daily)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 2:19pm UTC](https://discuss.elastic.co/t/ignore-common-terms-in-field-based-query/198285 "2019-09-13T14:19:08Z")

</div>

Let's say I have a search that matches two inputs (first name and last name) against first name and last name fields in my index. My index contains very clean data - good first names, good last names. However, the data…

---

## [How to enable track\_total\_hits=true by default for all queries?](https://discuss.elastic.co/t/how-to-enable-track-total-hits-true-by-default-for-all-queries/198220)

<div class="topic-metadata">

**Author:** [@7ca884569f2642e2c488](https://discuss.elastic.co/u/7ca884569f2642e2c488)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 2:14pm UTC](https://discuss.elastic.co/t/how-to-enable-track-total-hits-true-by-default-for-all-queries/198220 "2019-09-13T14:14:56Z")

</div>

Elasticsearch 7 now requires to set track\_total\_hits=true in each request to get accurate count. We have a lot of different search templates and now need to do around 60+ changes which is not nice. Our app policy is tha…

---

## [Elasticsearch 5.x indices in Elasticsearch 6](https://discuss.elastic.co/t/elasticsearch-5-x-indices-in-elasticsearch-6/199133)

<div class="topic-metadata">

**Author:** [@shradhatx](https://discuss.elastic.co/u/shradhatx)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 2:12pm UTC](https://discuss.elastic.co/t/elasticsearch-5-x-indices-in-elasticsearch-6/199133 "2019-09-13T14:12:45Z")

</div>

As per documents- Elasticsearch 6.0 can read indices created in version 5.0 Index has a parent-child relationship with multiple types. I verified that data in the index created in v5 is read properly in v6. I also go…

---

## [Using search template with reactjs](https://discuss.elastic.co/t/using-search-template-with-reactjs/199435)

<div class="topic-metadata">

**Author:** [@decodeit](https://discuss.elastic.co/u/decodeit)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 1:21pm UTC](https://discuss.elastic.co/t/using-search-template-with-reactjs/199435 "2019-09-13T13:21:45Z")

</div>

Hi, I can see the search template for Java client. but how about for javascript. Also, I do not see any documentation on how to configure the template file, where to store. Can anyone point me to it . thanks

---

## [Same field different values on Discover and on Graphic](https://discuss.elastic.co/t/same-field-different-values-on-discover-and-on-graphic/199321)

<div class="topic-metadata">

**Author:** [@BrunoSdeMenezes](https://discuss.elastic.co/u/BrunoSdeMenezes)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 1:15pm UTC](https://discuss.elastic.co/t/same-field-different-values-on-discover-and-on-graphic/199321 "2019-09-13T13:15:40Z")

</div>

Hello all, I'm having a trouble of using a field that shows me a value on Discover but a different value when I use to plot a vertical bar. But when I use the same field to plot a vertical bar graph, it shows me this…

---

## [Schema error: extra keys not allowed @ data\['action'\] using curator for rollover api](https://discuss.elastic.co/t/schema-error-extra-keys-not-allowed-data-action-using-curator-for-rollover-api/197072)

<div class="topic-metadata">

**Author:** [@yestoprince](https://discuss.elastic.co/u/yestoprince)\
**Replies:** 8\
**Last updated:** [September 13, 2019, 12:47pm UTC](https://discuss.elastic.co/t/schema-error-extra-keys-not-allowed-data-action-using-curator-for-rollover-api/197072 "2019-09-13T12:47:46Z")

</div>

action file action: rollover description: \>- Rollover the index associated with alias 'aliasname', which should be in the form of prefix-YYYY.MM.DD-1. options: name: aliasname new\_indices: "\<logstash-{now/d{YYYY.M…

---

## [RestHighLevelClient & http.compression for gzip](https://discuss.elastic.co/t/resthighlevelclient-http-compression-for-gzip/199155)

<div class="topic-metadata">

**Author:** [@kiran\_reddy1](https://discuss.elastic.co/u/kiran_reddy1)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 11:36am UTC](https://discuss.elastic.co/t/resthighlevelclient-http-compression-for-gzip/199155 "2019-09-13T11:36:40Z")

</div>

Hi , Trying to enable http.compression on elasticsearch but the response is not able to parse through handlers on RestHighLevelClient. Error : Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal charact…

---

## [Storing dependency trees as materialized paths in ES, and search for them with Regex](https://discuss.elastic.co/t/storing-dependency-trees-as-materialized-paths-in-es-and-search-for-them-with-regex/199413)

<div class="topic-metadata">

**Author:** [@Gianca](https://discuss.elastic.co/u/Gianca)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 10:55am UTC](https://discuss.elastic.co/t/storing-dependency-trees-as-materialized-paths-in-es-and-search-for-them-with-regex/199413 "2019-09-13T10:55:40Z")

</div>

Hello all, I'd like to share what I'm doing and hopefully get feedback to know if I'm on the right way. We process some text, and for each sentence, we get a tree representing the sentence structure, like the image belo…

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

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