# Elasticsearch

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

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

**Page:** 1415

---

## [Elastic Search Date Range Filter lambda expression issue](https://discuss.elastic.co/t/elastic-search-date-range-filter-lambda-expression-issue/165863)

<div class="topic-metadata">

**Author:** [@John\_Gathairu](https://discuss.elastic.co/u/John_Gathairu)\
**Replies:** 0\
**Last updated:** [January 26, 2019, 8:16pm UTC](https://discuss.elastic.co/t/elastic-search-date-range-filter-lambda-expression-issue/165863 "2019-01-26T20:16:33Z")

</div>

part of the index looks like this "startdate" : "2018-11-01T00:00:00", "enddate" : "2018-11-01T00:00:00" My fluentAPI query looks like below var response = client.Search(x =\> x .Size(500) .Query(q =\> q.Bool(b =\> b.Must …

---

## [Dynamic template mappings](https://discuss.elastic.co/t/dynamic-template-mappings/165861)

<div class="topic-metadata">

**Author:** [@ashokm](https://discuss.elastic.co/u/ashokm)\
**Replies:** 0\
**Last updated:** [January 26, 2019, 7:27pm UTC](https://discuss.elastic.co/t/dynamic-template-mappings/165861 "2019-01-26T19:27:50Z")

</div>

H All, We have a bunch fields on index and we have a template defined for this index to define the mapping for these fields. However, we are adding few dynamic fields whose names prefix with a constant and name of the o…

---

## [How to integrate the spring boot application with existing elastic search index](https://discuss.elastic.co/t/how-to-integrate-the-spring-boot-application-with-existing-elastic-search-index/165841)

<div class="topic-metadata">

**Author:** [@bhagyakopparala](https://discuss.elastic.co/u/bhagyakopparala)\
**Replies:** 1\
**Last updated:** [January 26, 2019, 11:45am UTC](https://discuss.elastic.co/t/how-to-integrate-the-spring-boot-application-with-existing-elastic-search-index/165841 "2019-01-26T11:45:31Z")

</div>

How to integrate the spring boot application with existing elastic search index

---

## [Can't start Elasticsearch service, Version: 6.3.2.0](https://discuss.elastic.co/t/cant-start-elasticsearch-service-version-6-3-2-0/165783)

<div class="topic-metadata">

**Author:** [@ERD](https://discuss.elastic.co/u/ERD)\
**Replies:** 1\
**Last updated:** [January 26, 2019, 6:49am UTC](https://discuss.elastic.co/t/cant-start-elasticsearch-service-version-6-3-2-0/165783 "2019-01-26T06:49:48Z")

</div>

I did a new installation on Windows Server 2012R2 64 Bit and 16GB Ram. And the service don't start. Error: "The process was terminated due to an unhandled exception." This is the windows event log: Application: elasti…

---

## [What is "watcher"?](https://discuss.elastic.co/t/what-is-watcher/165412)

<div class="topic-metadata">

**Author:** [@li\_jessen2016](https://discuss.elastic.co/u/li_jessen2016)\
**Replies:** 8\
**Last updated:** [January 26, 2019, 3:07am UTC](https://discuss.elastic.co/t/what-is-watcher/165412 "2019-01-26T03:07:18Z")

</div>

What does Watcher include in Elasticsearch? I haven't seen a dedicated chapter in the documents.

---

## [Is there a major difference in ES5 queries and ES6?](https://discuss.elastic.co/t/is-there-a-major-difference-in-es5-queries-and-es6/165498)

<div class="topic-metadata">

**Author:** [@pferrel](https://discuss.elastic.co/u/pferrel)\
**Replies:** 2\
**Last updated:** [January 26, 2019, 1:29am UTC](https://discuss.elastic.co/t/is-there-a-major-difference-in-es5-queries-and-es6/165498 "2019-01-26T01:29:29Z")

</div>

I am making a recommender with Elasticsearch. I know what people have bought and this forms the query. The index is of items and has a field that contains items bought in common. In previous versions of ES (\<= 5.6) the …

---

## [Cors issue when connect to https://cloud.elastic.co from localhost](https://discuss.elastic.co/t/cors-issue-when-connect-to-https-cloud-elastic-co-from-localhost/165825)

<div class="topic-metadata">

**Author:** [@jadore](https://discuss.elastic.co/u/jadore)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 8:16pm UTC](https://discuss.elastic.co/t/cors-issue-when-connect-to-https-cloud-elastic-co-from-localhost/165825 "2019-01-25T20:16:12Z")

</div>

I get the following: Access to XMLHttpRequest at 'https://4f4d7f8057994c799b62dc739024dbbf.ap-southeast-1.aws.found.io:9243/' from origin 'http://localhost:3000' has been blocked by CORS policy: Request header field aut…

---

## [Template continuously submitted possibly causing failed ingestion](https://discuss.elastic.co/t/template-continuously-submitted-possibly-causing-failed-ingestion/165811)

<div class="topic-metadata">

**Author:** [@Max\_Espinoza](https://discuss.elastic.co/u/Max_Espinoza)\
**Replies:** 1\
**Last updated:** [January 25, 2019, 7:46pm UTC](https://discuss.elastic.co/t/template-continuously-submitted-possibly-causing-failed-ingestion/165811 "2019-01-25T19:46:49Z")

</div>

Hi! So, I have an odd question having to do with index template submission through Filebeat. We have Filebeat configured on containers that scale up based on usage setup to submit an index template with the overwrite op…

---

## [Search among field names in Elasticsearch](https://discuss.elastic.co/t/search-among-field-names-in-elasticsearch/165674)

<div class="topic-metadata">

**Author:** [@shankarps](https://discuss.elastic.co/u/shankarps)\
**Replies:** 2\
**Last updated:** [January 25, 2019, 6:30pm UTC](https://discuss.elastic.co/t/search-among-field-names-in-elasticsearch/165674 "2019-01-25T18:30:34Z")

</div>

Is it possible to search on some fields with increased weights if a field name is present in search query? For example if an index has the following fields: PUT /my\_index { "mappings": { "\_doc": { "properti…

---

## [Es 2.3.3 \_reindex causing Native controller process has stopped - no new native processes can be started](https://discuss.elastic.co/t/es-2-3-3-reindex-causing-native-controller-process-has-stopped-no-new-native-processes-can-be-started/165814)

<div class="topic-metadata">

**Author:** [@ashok\_Bellur](https://discuss.elastic.co/u/ashok_Bellur)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 6:15pm UTC](https://discuss.elastic.co/t/es-2-3-3-reindex-causing-native-controller-process-has-stopped-no-new-native-processes-can-be-started/165814 "2019-01-25T18:15:20Z")

</div>

Hello Support, We are currently running a es 2.3.3 cluster and trying to upgrade 6.x. While running the \_reindex job we are running into this issue. Native controller process has stopped - no new native processes can …

---

## [Query execution performance](https://discuss.elastic.co/t/query-execution-performance/165750)

<div class="topic-metadata">

**Author:** [@hichMEN](https://discuss.elastic.co/u/hichMEN)\
**Replies:** 3\
**Last updated:** [January 25, 2019, 4:34pm UTC](https://discuss.elastic.co/t/query-execution-performance/165750 "2019-01-25T16:34:02Z")

</div>

Hi, I'm nooby on elasticsearch, I work on a project which uses a standalone elasticsearch on a spring boot application. I index my data from an hbase database, and when I execute an elasticsearch query, I have an offse…

---

## [ChaosSearch](https://discuss.elastic.co/t/chaossearch/165809)

<div class="topic-metadata">

**Author:** [@toconnell](https://discuss.elastic.co/u/toconnell)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 4:28pm UTC](https://discuss.elastic.co/t/chaossearch/165809 "2019-01-25T16:28:20Z")

</div>

Has anyone heard of ChaosSearch? THey claim to extend Elasticsearch cost effectively.

---

## [What is "indices:admin/get" allowing?](https://discuss.elastic.co/t/what-is-indices-admin-get-allowing/165804)

<div class="topic-metadata">

**Author:** [@hage42](https://discuss.elastic.co/u/hage42)\
**Replies:** 1\
**Last updated:** [January 25, 2019, 4:11pm UTC](https://discuss.elastic.co/t/what-is-indices-admin-get-allowing/165804 "2019-01-25T16:11:57Z")

</div>

When i am trying to run timelion inside kibana with a restricted user, the user needs to have the permission: indices:admin/get on the indices that i want to run timelion against and on the .kibana-index. Why is that a…

---

## [Heavy Query (SubAggregation + Nested Aggregation) performance optimization issue with Vega in Kibana](https://discuss.elastic.co/t/heavy-query-subaggregation-nested-aggregation-performance-optimization-issue-with-vega-in-kibana/165592)

<div class="topic-metadata">

**Author:** [@teemoGod](https://discuss.elastic.co/u/teemoGod)\
**Replies:** 0\
**Last updated:** [January 24, 2019, 12:02pm UTC](https://discuss.elastic.co/t/heavy-query-subaggregation-nested-aggregation-performance-optimization-issue-with-vega-in-kibana/165592 "2019-01-24T12:02:42Z")

</div>

Hi. Im using ElasticSearch / Kibana 6.4.1 and I'm using built-in vega(v3, not vega-lite) in Kibana. I'm developing LogMonitoring System for looking trend of performance. there are multiple WAS, and these WAS are calcu…

---

## [Accessing the value of a Cardinality Subaggregation in a Painless script to filter by the value](https://discuss.elastic.co/t/accessing-the-value-of-a-cardinality-subaggregation-in-a-painless-script-to-filter-by-the-value/165778)

<div class="topic-metadata">

**Author:** [@AlexDiru](https://discuss.elastic.co/u/AlexDiru)\
**Replies:** 4\
**Last updated:** [January 25, 2019, 3:09pm UTC](https://discuss.elastic.co/t/accessing-the-value-of-a-cardinality-subaggregation-in-a-painless-script-to-filter-by-the-value/165778 "2019-01-25T15:09:01Z")

</div>

Problem: I want to use a Script Query in a Filter Aggregation to create a condition based on the values of subaggregations. I have no idea how to access the values of the subaggregations in a Painless script. A few curl…

---

## [PDF attachment in email watcher](https://discuss.elastic.co/t/pdf-attachment-in-email-watcher/165789)

<div class="topic-metadata">

**Author:** [@Rajeev\_Prakash](https://discuss.elastic.co/u/Rajeev_Prakash)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 1:59pm UTC](https://discuss.elastic.co/t/pdf-attachment-in-email-watcher/165789 "2019-01-25T13:59:38Z")

</div>

Hi Guys, Could you please me on resolving the following issue while attaching the reporting url in email watcher? "reason": "Host name 'stage-xx.xxxxx.com' does not match the certificate subject provided by the peer (C…

---

## [Watcher match "message" issue, How to fix for my watcher?](https://discuss.elastic.co/t/watcher-match-message-issue-how-to-fix-for-my-watcher/165784)

<div class="topic-metadata">

**Author:** [@balamelangi](https://discuss.elastic.co/u/balamelangi)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 1:35pm UTC](https://discuss.elastic.co/t/watcher-match-message-issue-how-to-fix-for-my-watcher/165784 "2019-01-25T13:35:55Z")

</div>

Hi , Some one please let me how to write regex for below log? (84512) rest: Reply-Message := "Failed" I want filter out "Reply-Message := "Failed"". In My watcher I tried below. { "regexp": { "message": "Reply-Mes…

---

## [NoClassDefFoundError in installation](https://discuss.elastic.co/t/noclassdeffounderror-in-installation/165772)

<div class="topic-metadata">

**Author:** [@sv\_ldn](https://discuss.elastic.co/u/sv_ldn)\
**Replies:** 4\
**Last updated:** [January 25, 2019, 1:43pm UTC](https://discuss.elastic.co/t/noclassdeffounderror-in-installation/165772 "2019-01-25T13:43:25Z")

</div>

Get the following error when running elasticsearch.bat Exception in thread "main" java.lang.NoClassDefFoundError: C:\\Users\\sv\_ldn\\ElasticSearch\\elasticsearch-6/5/4\\lib\\elasticsearch-cli-6/5/4/jar I put an echo in elast…

---

## [Filter by sub objects count](https://discuss.elastic.co/t/filter-by-sub-objects-count/165777)

<div class="topic-metadata">

**Author:** [@Behemo1h](https://discuss.elastic.co/u/Behemo1h)\
**Replies:** 1\
**Last updated:** [January 25, 2019, 1:32pm UTC](https://discuss.elastic.co/t/filter-by-sub-objects-count/165777 "2019-01-25T13:32:11Z")

</div>

Hi guys. I have data in my index like this. "locales" : { "en\_US" : { "title\_full" : "some text", "title" : "some text" }, "fr\_FR" : { "title\_full" : "some text", "title" : "some text" } }, How can i filter do…

---

## [Limit search return to exact match for URL](https://discuss.elastic.co/t/limit-search-return-to-exact-match-for-url/165670)

<div class="topic-metadata">

**Author:** [@MarkStewart](https://discuss.elastic.co/u/MarkStewart)\
**Replies:** 3\
**Last updated:** [January 25, 2019, 1:22pm UTC](https://discuss.elastic.co/t/limit-search-return-to-exact-match-for-url/165670 "2019-01-25T13:22:04Z")

</div>

I have an index I am searching that has a field under \_source called request\_path. This field has some similar URLs saved in over 38,000 documents. in the format (under \_source) "request\_path": "/v1/api-portal/teams…

---

## [Query with today date](https://discuss.elastic.co/t/query-with-today-date/165572)

<div class="topic-metadata">

**Author:** [@Michel](https://discuss.elastic.co/u/Michel)\
**Replies:** 4\
**Last updated:** [January 25, 2019, 12:47pm UTC](https://discuss.elastic.co/t/query-with-today-date/165572 "2019-01-25T12:47:14Z")

</div>

Hello, I want to search on a date area to extract the data of the day from 7 hours, I hard coded, but I would like the day depends on the date I do the extraction , Thank you for your help. GET /\_search { "query": { …

---

## [RestHighLevelClient error while performing request](https://discuss.elastic.co/t/resthighlevelclient-error-while-performing-request/164948)

<div class="topic-metadata">

**Author:** [@ndtreviv](https://discuss.elastic.co/u/ndtreviv)\
**Replies:** 1\
**Last updated:** [January 25, 2019, 12:37pm UTC](https://discuss.elastic.co/t/resthighlevelclient-error-while-performing-request/164948 "2019-01-25T12:37:00Z")

</div>

I recently upgraded to es 6.2.4 and migrated the java client to use the RestHighLevelClient. I'm getting this error regularly performing a query on elasticsearch v6.2.4: java.lang.RuntimeException: error while performin…

---

## [ElasticSearch 5.4.3 and Java 7](https://discuss.elastic.co/t/elasticsearch-5-4-3-and-java-7/165458)

<div class="topic-metadata">

**Author:** [@YohanTaton](https://discuss.elastic.co/u/YohanTaton)\
**Replies:** 4\
**Last updated:** [January 25, 2019, 12:26pm UTC](https://discuss.elastic.co/t/elasticsearch-5-4-3-and-java-7/165458 "2019-01-25T12:26:18Z")

</div>

Hi guys, We have been using an old version of ELK and our customer has decided to migrate to ELK 5.4.3 but keeping Java 7 for the moment. (Migration to Java 8 is indeed planned, but Java 7 is going to be used for few ye…

---

## [Combine a query with term and range](https://discuss.elastic.co/t/combine-a-query-with-term-and-range/165771)

<div class="topic-metadata">

**Author:** [@lmmartinez](https://discuss.elastic.co/u/lmmartinez)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 12:18pm UTC](https://discuss.elastic.co/t/combine-a-query-with-term-and-range/165771 "2019-01-25T12:18:19Z")

</div>

I have an index with a lot of docs. I have intended to send a query via api, to obtain a count of documents that contain an exact phrase in a portion of the message in this index. The document has a field call event, an…

---

## [Interface does not show real space for Elasticsearch](https://discuss.elastic.co/t/interface-does-not-show-real-space-for-elasticsearch/165763)

<div class="topic-metadata">

**Author:** [@AlfonsoRBJ](https://discuss.elastic.co/u/AlfonsoRBJ)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 11:53am UTC](https://discuss.elastic.co/t/interface-does-not-show-real-space-for-elasticsearch/165763 "2019-01-25T11:53:54Z")

</div>

Hello everyone, a pleasure to be here for questions. I have a Kubernetes environment mounted on AWS using EKS. In the Kubernetes cluster, I have several i3 worker nodes. These nodes can make use of a type of volume cal…

---

## [ES 6.5.2 Cross cluster settings for all clusters](https://discuss.elastic.co/t/es-6-5-2-cross-cluster-settings-for-all-clusters/164683)

<div class="topic-metadata">

**Author:** [@ld\_pvl](https://discuss.elastic.co/u/ld_pvl)\
**Replies:** 2\
**Last updated:** [January 25, 2019, 11:42am UTC](https://discuss.elastic.co/t/es-6-5-2-cross-cluster-settings-for-all-clusters/164683 "2019-01-25T11:42:22Z")

</div>

Hi Team, From the docs: The remote clusters module allows establishing uni-directional connections to a remote cluster I was wondering whether it is normal if I set up both of my clusters, cluster A and cluster B to…

---

## [Parsing sha-1 value in elk](https://discuss.elastic.co/t/parsing-sha-1-value-in-elk/165384)

<div class="topic-metadata">

**Author:** [@vinu89](https://discuss.elastic.co/u/vinu89)\
**Replies:** 20\
**Last updated:** [January 25, 2019, 10:00am UTC](https://discuss.elastic.co/t/parsing-sha-1-value-in-elk/165384 "2019-01-25T10:00:08Z")

</div>

Hi, I have a text file of 27 GB which includes sha-1 value and a count. Number of lines in the file is almost 55crore.I have one elastic node with one shard and zero replica.After indexing the total size of the index fi…

---

## [Data storage with or without markdown in searchable index](https://discuss.elastic.co/t/data-storage-with-or-without-markdown-in-searchable-index/165735)

<div class="topic-metadata">

**Author:** [@abkrim](https://discuss.elastic.co/u/abkrim)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 9:30am UTC](https://discuss.elastic.co/t/data-storage-with-or-without-markdown-in-searchable-index/165735 "2019-01-25T09:30:31Z")

</div>

I am trying to understand for the design of an index, if the data contained in one of the fields of the searchable type, and that in origin have a markdown syntax, I must store them without the markdown in pure text, or …

---

## [ES 6.4.3 docker container keep crash with error code 139](https://discuss.elastic.co/t/es-6-4-3-docker-container-keep-crash-with-error-code-139/164684)

<div class="topic-metadata">

**Author:** [@blackgrill](https://discuss.elastic.co/u/blackgrill)\
**Replies:** 9\
**Last updated:** [January 25, 2019, 8:33am UTC](https://discuss.elastic.co/t/es-6-4-3-docker-container-keep-crash-with-error-code-139/164684 "2019-01-25T08:33:00Z")

</div>

Hi Everyone, I met a problem with ES v6.4.3 official docker container running on CentOS 7.6 and searchguard plugin.the docker container can start and working,but it will crash with error code 139,which cause we lost som…

---

## [Filter out duplicate products](https://discuss.elastic.co/t/filter-out-duplicate-products/165718)

<div class="topic-metadata">

**Author:** [@vermin](https://discuss.elastic.co/u/vermin)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 8:21am UTC](https://discuss.elastic.co/t/filter-out-duplicate-products/165718 "2019-01-25T08:21:11Z")

</div>

Once a day I parse a product feed and index the products to Elasticsearch. I want to keep it up-to-date and since delete operations are really expensive in Elasticsearch I choose to use rollover index. Every day the pro…

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

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