# Elasticsearch

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

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

**Page:** 1025

---

## [How to give higher score to exact searches than phonetic ones in Elasticsearch?](https://discuss.elastic.co/t/how-to-give-higher-score-to-exact-searches-than-phonetic-ones-in-elasticsearch/218197)

<div class="topic-metadata">

**Author:** [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 2:56pm UTC](https://discuss.elastic.co/t/how-to-give-higher-score-to-exact-searches-than-phonetic-ones-in-elasticsearch/218197 "2020-02-06T14:56:47Z")

</div>

I am currenty using Elasticsearch's phonetic analyzer. I want the query to give higher score to exact matches then phonetic ones. Here is the query I am using: { "query": { "multi\_match" : { "que…

---

## [How can I solve Root mapping definition has unsupported parameters by using nested property for created elasticsearch index?](https://discuss.elastic.co/t/how-can-i-solve-root-mapping-definition-has-unsupported-parameters-by-using-nested-property-for-created-elasticsearch-index/218200)

<div class="topic-metadata">

**Author:** [@Yusuf\_Karatoprak](https://discuss.elastic.co/u/Yusuf_Karatoprak)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 2:48pm UTC](https://discuss.elastic.co/t/how-can-i-solve-root-mapping-definition-has-unsupported-parameters-by-using-nested-property-for-created-elasticsearch-index/218200 "2020-02-06T14:48:26Z")

</div>

How can I create a mapping structure by using nested property for created index? I got an error below. This url produces below result: http://xxx:9200/usereventsreduced-2020/event/\_search?pretty=true UrlQueryString is …

---

## [Management thread pool gone in 7.5?](https://discuss.elastic.co/t/management-thread-pool-gone-in-7-5/217838)

<div class="topic-metadata">

**Author:** [@Doc\_Kaos](https://discuss.elastic.co/u/Doc_Kaos)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 2:21pm UTC](https://discuss.elastic.co/t/management-thread-pool-gone-in-7-5/217838 "2020-02-06T14:21:40Z")

</div>

We are having issues with 7.4.1 and the data nodes getting backlogs on the management threadpool and then all cluster communication stops. Then just noticed that in the documentation https://www.elastic.co/guide/en/elast…

---

## [Docker test framework and ES Rally](https://discuss.elastic.co/t/docker-test-framework-and-es-rally/218022)

<div class="topic-metadata">

**Author:** [@frankfoti](https://discuss.elastic.co/u/frankfoti)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 2:07pm UTC](https://discuss.elastic.co/t/docker-test-framework-and-es-rally/218022 "2020-02-06T14:07:41Z")

</div>

I have a need to merge or convert a set of test scripts in Docker to leverage ES Rally. Is there a api to interface or approach someone knows of? Thanks

---

## [New Error Dashboard / Watcher Creation](https://discuss.elastic.co/t/new-error-dashboard-watcher-creation/218189)

<div class="topic-metadata">

**Author:** [@Bhaskar1](https://discuss.elastic.co/u/Bhaskar1)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 2:01pm UTC](https://discuss.elastic.co/t/new-error-dashboard-watcher-creation/218189 "2020-02-06T14:01:32Z")

</div>

Hello All, Can you please help me how to create a watcher or dashboard for new error detection that is like, i would like to run a watcher and it should generate the error where that error doesn't occured in previous(7/…

---

## [How to simulate X-Opaque-Id semantics in Elasticsearch 5.3](https://discuss.elastic.co/t/how-to-simulate-x-opaque-id-semantics-in-elasticsearch-5-3/217710)

<div class="topic-metadata">

**Author:** [@btiernay-o](https://discuss.elastic.co/u/btiernay-o)\
**Replies:** 3\
**Last updated:** [February 6, 2020, 1:34pm UTC](https://discuss.elastic.co/t/how-to-simulate-x-opaque-id-semantics-in-elasticsearch-5-3/217710 "2020-02-06T13:34:44Z")

</div>

Are there any known ways to simulate the newer X-Opaque-Id semantics for /\_search requests in older versions of Elasticsearch (specifically 5.3.x)? One approach I considered is co-opting the \_name field as described in h…

---

## [Search text occurring priority](https://discuss.elastic.co/t/search-text-occurring-priority/217783)

<div class="topic-metadata">

**Author:** [@Yash\_Thakkar](https://discuss.elastic.co/u/Yash_Thakkar)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 1:22pm UTC](https://discuss.elastic.co/t/search-text-occurring-priority/217783 "2020-02-06T13:22:01Z")

</div>

We want to show results based on word position. e.g. Let's say we have below data in elasticsearch. \[ { "name": "ANNUALS ASSORTED", "code": 3896, "color": "", "species": "ANNUALS" }, { …

---

## [Get documents with dynamic max field](https://discuss.elastic.co/t/get-documents-with-dynamic-max-field/218028)

<div class="topic-metadata">

**Author:** [@OlivierC](https://discuss.elastic.co/u/OlivierC)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 12:39pm UTC](https://discuss.elastic.co/t/get-documents-with-dynamic-max-field/218028 "2020-02-06T12:39:13Z")

</div>

Hello there! First of all, thanks to the team for the work, and sorry for the title, I don't know how to summarize my issue. I need help for something looking very simple for a human but I can't find how to do with ES: …

---

## [Hits relation constant value - gte - greater than or equal to](https://discuss.elastic.co/t/hits-relation-constant-value-gte-greater-than-or-equal-to/218037)

<div class="topic-metadata">

**Author:** [@Andrey\_Masunov](https://discuss.elastic.co/u/Andrey_Masunov)\
**Replies:** 8\
**Last updated:** [February 6, 2020, 12:19pm UTC](https://discuss.elastic.co/t/hits-relation-constant-value-gte-greater-than-or-equal-to/218037 "2020-02-06T12:19:41Z")

</div>

From documentation: https://www.elastic.co/guide/en/elasticsearch/reference/7.5/search-request-body.html#request-body-search-track-total-hits "If the total number of hits that match the query is greater than the value …

---

## [Elasticsearch query to return documents with similar field values](https://discuss.elastic.co/t/elasticsearch-query-to-return-documents-with-similar-field-values/218169)

<div class="topic-metadata">

**Author:** [@elk11](https://discuss.elastic.co/u/elk11)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 12:08pm UTC](https://discuss.elastic.co/t/elasticsearch-query-to-return-documents-with-similar-field-values/218169 "2020-02-06T12:08:50Z")

</div>

Hi, Elasticsearch version: 7.3.1 I have a requirement where i need to fetch documents which has similar values for some fields. For ex, say: doc1: {'a': 1, 'b': 2, 'c': 3} doc2: {'a': 4, 'b': 5, 'c': 6} doc3: {'a'…

---

## [Unable to automatize rollover using "index templates"](https://discuss.elastic.co/t/unable-to-automatize-rollover-using-index-templates/218064)

<div class="topic-metadata">

**Author:** [@pispo](https://discuss.elastic.co/u/pispo)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 12:07pm UTC](https://discuss.elastic.co/t/unable-to-automatize-rollover-using-index-templates/218064 "2020-02-06T12:07:39Z")

</div>

Hi, The indices of my ES cluster are structured as follows: deviceA-2018 (size 5gb) deviceA-2019 (size 1gb) deviceB-2019 (size 100gb) The deviceIDs are dynamic and unknown a priori and the indices sizes vary …

---

## [Bulk indexing causes management threadpool queue to skyrocket](https://discuss.elastic.co/t/bulk-indexing-causes-management-threadpool-queue-to-skyrocket/217852)

<div class="topic-metadata">

**Author:** [@Doc\_Kaos](https://discuss.elastic.co/u/Doc_Kaos)\
**Replies:** 18\
**Last updated:** [February 6, 2020, 11:43am UTC](https://discuss.elastic.co/t/bulk-indexing-causes-management-threadpool-queue-to-skyrocket/217852 "2020-02-06T11:43:14Z")

</div>

After bulk indexing for 10 minutes on a 7.4.1 cluster, it will suddenly become completely unresponsive to any cluster state requests. It still index's and still responds to queries, but the cluster state itself is unres…

---

## [Mapping move from 6.5 to 7.5](https://discuss.elastic.co/t/mapping-move-from-6-5-to-7-5/218116)

<div class="topic-metadata">

**Author:** [@korrmal](https://discuss.elastic.co/u/korrmal)\
**Replies:** 3\
**Last updated:** [February 6, 2020, 11:30am UTC](https://discuss.elastic.co/t/mapping-move-from-6-5-to-7-5/218116 "2020-02-06T11:30:43Z")

</div>

Hello. I need to move mapping from 6.5 to 7.5. In elastic I have field message with json format data. Something like this {"@timestamp": "2020-02-06T08:41:15.238Z", "comarch\_request": {"method": "GET", "path": "/b2c/re…

---

## [How to convert a string field to a date field in EFK stack](https://discuss.elastic.co/t/how-to-convert-a-string-field-to-a-date-field-in-efk-stack/218158)

<div class="topic-metadata">

**Author:** [@skdasari](https://discuss.elastic.co/u/skdasari)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 11:24am UTC](https://discuss.elastic.co/t/how-to-convert-a-string-field-to-a-date-field-in-efk-stack/218158 "2020-02-06T11:24:14Z")

</div>

Hi All, I am sending custom syslog data from a server to elasticsearch using fluentd. I am able to see the data in table visualisation. But when I try to go for Line or any other visuzlization I am not able to place the…

---

## [Reindex from v5.6.x to v7.x](https://discuss.elastic.co/t/reindex-from-v5-6-x-to-v7-x/218128)

<div class="topic-metadata">

**Author:** [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 9:45am UTC](https://discuss.elastic.co/t/reindex-from-v5-6-x-to-v7-x/218128 "2020-02-06T09:45:41Z")

</div>

Hi, I know that I have to reindex indices created on Elasticsearch v5.6 but I would like to understand if \_reindex API will do it automatically or not. I mean, executing that API will convert source index data into the …

---

## [Custom plugin directory](https://discuss.elastic.co/t/custom-plugin-directory/218117)

<div class="topic-metadata">

**Author:** [@jetnet](https://discuss.elastic.co/u/jetnet)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 9:28am UTC](https://discuss.elastic.co/t/custom-plugin-directory/218117 "2020-02-06T09:28:23Z")

</div>

There is a default plugin directory. But I couldn't find how to specify a path for a custom plugin directory. Is it possible to put plugins to a shared directory and make ES to load plugins from that directory? Thanks! …

---

## [Failed to authenticate user with OpenID Connect](https://discuss.elastic.co/t/failed-to-authenticate-user-with-openid-connect/212600)

<div class="topic-metadata">

**Author:** [@firabby](https://discuss.elastic.co/u/firabby)\
**Replies:** 7\
**Last updated:** [February 6, 2020, 9:05am UTC](https://discuss.elastic.co/t/failed-to-authenticate-user-with-openid-connect/212600 "2020-02-06T09:05:56Z")

</div>

Continuing the discussion from OpenID error after authenticating against AWS Cognito: I am trying to authenticate kibana users using OIDC. When the user is redirected to kibana after logging in, following error occurs. …

---

## [No Result on searching with long string/value](https://discuss.elastic.co/t/no-result-on-searching-with-long-string-value/218108)

<div class="topic-metadata">

**Author:** [@Zain\_Iqbal](https://discuss.elastic.co/u/Zain_Iqbal)\
**Replies:** 3\
**Last updated:** [February 6, 2020, 8:52am UTC](https://discuss.elastic.co/t/no-result-on-searching-with-long-string-value/218108 "2020-02-06T08:52:36Z")

</div>

Hello, I am facing a problem while searching the "topic name" with full length it returns no matching documents in elastic using Kibana UI, while it have these documents in it. It have following mappings : { "index"…

---

## [General historical log ingestion and space consumption](https://discuss.elastic.co/t/general-historical-log-ingestion-and-space-consumption/218101)

<div class="topic-metadata">

**Author:** [@Vivek\_Samaga](https://discuss.elastic.co/u/Vivek_Samaga)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 7:34am UTC](https://discuss.elastic.co/t/general-historical-log-ingestion-and-space-consumption/218101 "2020-02-06T07:34:59Z")

</div>

I am trying to ingest logs which are already present as a shared location which has been building up for past 2 years around (500G) , need a way to ingest all these logs to ES but my concern is it would again consume sam…

---

## [How to use DLS and FLS in elasticsearch community version](https://discuss.elastic.co/t/how-to-use-dls-and-fls-in-elasticsearch-community-version/218096)

<div class="topic-metadata">

**Author:** [@Debashis\_Mondal](https://discuss.elastic.co/u/Debashis_Mondal)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 7:01am UTC](https://discuss.elastic.co/t/how-to-use-dls-and-fls-in-elasticsearch-community-version/218096 "2020-02-06T07:01:11Z")

</div>

Hi, I am using elasticsearch community version, I am trying to implement DLS and FLS for the specific users. By using X-Pack we can do that but I have seen that this plugin's advance features only we can use in the ente…

---

## [Unable to take snapshot](https://discuss.elastic.co/t/unable-to-take-snapshot/218088)

<div class="topic-metadata">

**Author:** [@Gayathri.Srivathsan](https://discuss.elastic.co/u/Gayathri.Srivathsan)\
**Replies:** 4\
**Last updated:** [February 6, 2020, 6:37am UTC](https://discuss.elastic.co/t/unable-to-take-snapshot/218088 "2020-02-06T06:37:58Z")

</div>

Hi All, I created a read only repository pointing my bitbucket repo.I tried to create snapshot but it gives the following error. { "error": { "root\_cause": \[ { "type": "not\_x\_content\_exception", "reason": "Compres…

---

## [Feasible solution of snapshot for 30 GB and increasing every day data](https://discuss.elastic.co/t/feasible-solution-of-snapshot-for-30-gb-and-increasing-every-day-data/217568)

<div class="topic-metadata">

**Author:** [@priyanka10](https://discuss.elastic.co/u/priyanka10)\
**Replies:** 6\
**Last updated:** [February 6, 2020, 6:26am UTC](https://discuss.elastic.co/t/feasible-solution-of-snapshot-for-30-gb-and-increasing-every-day-data/217568 "2020-02-06T06:26:15Z")

</div>

I want to know that how can I take differential snapshots in ElasticSearch and also how it works? We received around 30 GB of data monthly in all indices of ElasticSearch. Few indices get update daily and few indices da…

---

## [Unable to set xpack.security.authc.realms.oidc.oidc1.rp.client\_secret property through yml file](https://discuss.elastic.co/t/unable-to-set-xpack-security-authc-realms-oidc-oidc1-rp-client-secret-property-through-yml-file/217988)

<div class="topic-metadata">

**Author:** [@viveknagar](https://discuss.elastic.co/u/viveknagar)\
**Replies:** 4\
**Last updated:** [February 6, 2020, 6:19am UTC](https://discuss.elastic.co/t/unable-to-set-xpack-security-authc-realms-oidc-oidc1-rp-client-secret-property-through-yml-file/217988 "2020-02-06T06:19:53Z")

</div>

Hello, I want to deploy elasticsearch with OpenId connect authentication . I am using keycloack as my open id connect provider. I have done all my configuration as per documentations. Below is my elasticsearch.yml file. …

---

## [It is possible to execute only one query out of three?](https://discuss.elastic.co/t/it-is-possible-to-execute-only-one-query-out-of-three/217900)

<div class="topic-metadata">

**Author:** [@abhishek.tripathi](https://discuss.elastic.co/u/abhishek.tripathi)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 6:00am UTC](https://discuss.elastic.co/t/it-is-possible-to-execute-only-one-query-out-of-three/217900 "2020-02-06T06:00:30Z")

</div>

Hi Everyone, I need a way to execute one query out of three. if any query executes successfully then other two queries must escape from execution. Like: if( a==10 OR a ==20){ } else if( a==30 OR a ==40){ } else if…

---

## [Rules for fields names](https://discuss.elastic.co/t/rules-for-fields-names/218070)

<div class="topic-metadata">

**Author:** [@romanown](https://discuss.elastic.co/u/romanown)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 3:55am UTC](https://discuss.elastic.co/t/rules-for-fields-names/218070 "2020-02-06T03:55:00Z")

</div>

in the my website used shop adn have the shoes. but mapping is broken if field have the dot. example 6.5. i try mapping array as (php) $item\['REMAINS'\]\[$stock\]\[$size\]= $qty; its say Could not dynamically add mapping for…

---

## [Failed to start Elasticsearch. (code=exited, status=1/FAILURE)](https://discuss.elastic.co/t/failed-to-start-elasticsearch-code-exited-status-1-failure/217898)

<div class="topic-metadata">

**Author:** [@gilang\_bilbisri](https://discuss.elastic.co/u/gilang_bilbisri)\
**Replies:** 16\
**Last updated:** [February 6, 2020, 3:28am UTC](https://discuss.elastic.co/t/failed-to-start-elasticsearch-code-exited-status-1-failure/217898 "2020-02-06T03:28:12Z")

</div>

Hallo i was try to make a single node of elasticsearch on my centos 7. In the first installation of elasticsearch after i've done install centos 7.its just fine,the elasticsearch works very well. But im very confused ,…

---

## [Setting up environment variables in Windows10](https://discuss.elastic.co/t/setting-up-environment-variables-in-windows10/215456)

<div class="topic-metadata">

**Author:** [@Elja\_Suhonen](https://discuss.elastic.co/u/Elja_Suhonen)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 2:09am UTC](https://discuss.elastic.co/t/setting-up-environment-variables-in-windows10/215456 "2020-02-06T02:09:18Z")

</div>

my problem is in setting up environment variables once setting up Elasticsearch environment variables for local use. The instructions I follow can be found from: https://www.elastic.co/guide/en/elasticsearch/reference/cu…

---

## [Nest 6.6 getting InvalidProgramException sometimes](https://discuss.elastic.co/t/nest-6-6-getting-invalidprogramexception-sometimes/218058)

<div class="topic-metadata">

**Author:** [@mjessee](https://discuss.elastic.co/u/mjessee)\
**Replies:** 3\
**Last updated:** [February 6, 2020, 12:15am UTC](https://discuss.elastic.co/t/nest-6-6-getting-invalidprogramexception-sometimes/218058 "2020-02-06T00:15:19Z")

</div>

We're running a microservice, using Nest 6.6, and sometimes, on the first SearchAsync\<{someclass}\>() call, we get a System.InvalidProgramException: Common Language Runtime detected an invalid program. Here is the stack t…

---

## [Shards getting unassigned Randomly](https://discuss.elastic.co/t/shards-getting-unassigned-randomly/217699)

<div class="topic-metadata">

**Author:** [@rokarajan](https://discuss.elastic.co/u/rokarajan)\
**Replies:** 8\
**Last updated:** [February 5, 2020, 10:46pm UTC](https://discuss.elastic.co/t/shards-getting-unassigned-randomly/217699 "2020-02-05T22:46:18Z")

</div>

Hello ELK forum members, I'm new on this forum and would like to share a problem we are currently facing with ELK. We have been running ELK in our Kubernetes(EKS) for few months with version 7.2.0. We have 12 nodes in …

---

## [When to use "Object" field datatype vs flat fieldnames](https://discuss.elastic.co/t/when-to-use-object-field-datatype-vs-flat-fieldnames/217687)

<div class="topic-metadata">

**Author:** [@nverrill](https://discuss.elastic.co/u/nverrill)\
**Replies:** 6\
**Last updated:** [February 5, 2020, 9:45pm UTC](https://discuss.elastic.co/t/when-to-use-object-field-datatype-vs-flat-fieldnames/217687 "2020-02-05T21:45:41Z")

</div>

I am attempting to standardize many of our log data sets using the Elastic Common Schema. One of the common practices there is to nest, fieldnames using the JSON object format. https://www.elastic.co/guide/en/elastic…

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

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