# Elasticsearch

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

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

**Page:** 1026

---

## [Elastic Search String to Geo\_point Mapping Issue](https://discuss.elastic.co/t/elastic-search-string-to-geo-point-mapping-issue/218000)

<div class="topic-metadata">

**Author:** [@soumilshah1995](https://discuss.elastic.co/u/soumilshah1995)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 1:40pm UTC](https://discuss.elastic.co/t/elastic-search-string-to-geo-point-mapping-issue/218000 "2020-02-05T13:40:24Z")

</div>

Hello Everyone ! we are working on a project and we are stuck at following point and need some Advice on How to solve the problem. I have exported the entire Data set in Elastic Search. We have a field called location a…

---

## [Transform Exception - all shards failed](https://discuss.elastic.co/t/transform-exception-all-shards-failed/217879)

<div class="topic-metadata">

**Author:** [@crpj](https://discuss.elastic.co/u/crpj)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 4:04pm UTC](https://discuss.elastic.co/t/transform-exception-all-shards-failed/217879 "2020-02-05T16:04:45Z")

</div>

Hello, I am making tests locally with Transform to check if it is feasible to use it and the first time it runs it does its job nicely, once I add more data into the source index (logstash-roaming-dwf-202002) I see in t…

---

## [Sum (aggregation) of elements in arrays of objects](https://discuss.elastic.co/t/sum-aggregation-of-elements-in-arrays-of-objects/218054)

<div class="topic-metadata">

**Author:** [@Alfredo\_Sone\_Scassi](https://discuss.elastic.co/u/Alfredo_Sone_Scassi)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 8:43pm UTC](https://discuss.elastic.co/t/sum-aggregation-of-elements-in-arrays-of-objects/218054 "2020-02-05T20:43:15Z")

</div>

Hi, I am starting to use ElasticSearch + Kibana to get analytics and store transactions of a company. I store transaction details on one array of objects, each object contains a line: the total information about every …

---

## [Phonetic Analyzer returning no results](https://discuss.elastic.co/t/phonetic-analyzer-returning-no-results/218043)

<div class="topic-metadata">

**Author:** [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 7:46pm UTC](https://discuss.elastic.co/t/phonetic-analyzer-returning-no-results/218043 "2020-02-05T19:46:49Z")

</div>

Using the built-in plugin in AWS - https://aws.amazon.com/about-aws/whats-new/2016/12/amazon-elasticsearch-service-now-supports-phonetic-analysis/. Before indexing, I used this code to set up the phonetic analyzer. PUT…

---

## [Negative key value for date\_histogram in epoch\_milli](https://discuss.elastic.co/t/negative-key-value-for-date-histogram-in-epoch-milli/215953)

<div class="topic-metadata">

**Author:** [@jz1603](https://discuss.elastic.co/u/jz1603)\
**Replies:** 7\
**Last updated:** [February 5, 2020, 7:22pm UTC](https://discuss.elastic.co/t/negative-key-value-for-date-histogram-in-epoch-milli/215953 "2020-02-05T19:22:04Z")

</div>

Hi ES Dev Team, One of the breaking changes in version 7.0 documentation says that negative epoch timestamps are no longer supported. In our application, we use negative epoch timestamps as a lot of our documents have …

---

## [Partial update vs re-index](https://discuss.elastic.co/t/partial-update-vs-re-index/217854)

<div class="topic-metadata">

**Author:** [@kent120103](https://discuss.elastic.co/u/kent120103)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 9:54am UTC](https://discuss.elastic.co/t/partial-update-vs-re-index/217854 "2020-02-05T09:54:56Z")

</div>

Hi, Elastic team. My index contains 5 - 10 millions documents. Every document has the same structure. Each document contains 10 fields, such as first\_name, last\_name, nick\_name, weight, height, preferred\_language, prefe…

---

## [Does the Elasticsearch Docker Cluster demo persist all data in the volumes?](https://discuss.elastic.co/t/does-the-elasticsearch-docker-cluster-demo-persist-all-data-in-the-volumes/218040)

<div class="topic-metadata">

**Author:** [@fallenreaper](https://discuss.elastic.co/u/fallenreaper)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 6:05pm UTC](https://discuss.elastic.co/t/does-the-elasticsearch-docker-cluster-demo-persist-all-data-in-the-volumes/218040 "2020-02-05T18:05:06Z")

</div>

I was liking the sample 3 container cluster which was set up, and upped it to 5. I was trying to understand more of the docker stuff itself, so i was thinking that under the hood this docker image will save the Document…

---

## [Azure Repository - Proxy Authentication](https://discuss.elastic.co/t/azure-repository-proxy-authentication/218018)

<div class="topic-metadata">

**Author:** [@aikon](https://discuss.elastic.co/u/aikon)\
**Replies:** 3\
**Last updated:** [February 5, 2020, 5:30pm UTC](https://discuss.elastic.co/t/azure-repository-proxy-authentication/218018 "2020-02-05T17:30:51Z")

</div>

Dear all, I'm running Elasticsearc 7.3.0 on Windows machines (4 nodes) and I installed the Azure Cloud Plugin on all nodes to manage snapshots in blob containers. I followed the instractions on the Elastic documentation…

---

## [Can we get 'Checksum' of an Index](https://discuss.elastic.co/t/can-we-get-checksum-of-an-index/217933)

<div class="topic-metadata">

**Author:** [@Prashant\_Sharma1](https://discuss.elastic.co/u/Prashant_Sharma1)\
**Replies:** 3\
**Last updated:** [February 5, 2020, 5:19pm UTC](https://discuss.elastic.co/t/can-we-get-checksum-of-an-index/217933 "2020-02-05T17:19:00Z")

</div>

In an upgrade Scenario where I need to verify data in ES Db after upgrade , Is there any API by which I can get Checksum of indexes for an ES Db ....

---

## [How to search by an specific value or where field does not exists in Elasticsearch with and condition](https://discuss.elastic.co/t/how-to-search-by-an-specific-value-or-where-field-does-not-exists-in-elasticsearch-with-and-condition/217962)

<div class="topic-metadata">

**Author:** [@dkishore](https://discuss.elastic.co/u/dkishore)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 4:17pm UTC](https://discuss.elastic.co/t/how-to-search-by-an-specific-value-or-where-field-does-not-exists-in-elasticsearch-with-and-condition/217962 "2020-02-05T16:17:01Z")

</div>

How to search by a specific value or where the field does not exist in Elasticsearch with and condition below is the query I'm trying { "query":{ "bool":{ "should":\[ { "query\_string":{ "query":"( isStart:false) A…

---

## [Can we use elastic search as data store for url shortner?](https://discuss.elastic.co/t/can-we-use-elastic-search-as-data-store-for-url-shortner/218020)

<div class="topic-metadata">

**Author:** [@kedarsdixit](https://discuss.elastic.co/u/kedarsdixit)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 3:58pm UTC](https://discuss.elastic.co/t/can-we-use-elastic-search-as-data-store-for-url-shortner/218020 "2020-02-05T15:58:27Z")

</div>

Hi, Can we use elasticsearch as database or data store for url shortner? Can it be efficient in searching the long urls? Thanks! ~Kedar

---

## [Elastic Search CPU and memory usage exceeded due to nginx](https://discuss.elastic.co/t/elastic-search-cpu-and-memory-usage-exceeded-due-to-nginx/217977)

<div class="topic-metadata">

**Author:** [@Ramesh\_balasubramani](https://discuss.elastic.co/u/Ramesh_balasubramani)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 11:33am UTC](https://discuss.elastic.co/t/elastic-search-cpu-and-memory-usage-exceeded-due-to-nginx/217977 "2020-02-05T11:33:41Z")

</div>

We are using Nginx for authentication purposes. When I start Nginx ES CPU and memory usage are at peak, and when nginx is turned off, the cpu and memory usage are normal. We are using ElasticSearch v6.8 and Nginx v1.16.…

---

## [ILC for an Index "metricbeat-7.5.1"](https://discuss.elastic.co/t/ilc-for-an-index-metricbeat-7-5-1/217993)

<div class="topic-metadata">

**Author:** [@ginu](https://discuss.elastic.co/u/ginu)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 12:58pm UTC](https://discuss.elastic.co/t/ilc-for-an-index-metricbeat-7-5-1/217993 "2020-02-05T12:58:59Z")

</div>

Hi all we have an issue that we have an Index which is created by metricbeat which is directly sending metrics to ElasticSearch and it creates and Index with the name metricbeat-7.5.1. a) What is the way to delete entr…

---

## [\*.pdf and \*pdf not giving the same results while searching in elasticsearch](https://discuss.elastic.co/t/pdf-and-pdf-not-giving-the-same-results-while-searching-in-elasticsearch/217963)

<div class="topic-metadata">

**Author:** [@manish\_kakoti](https://discuss.elastic.co/u/manish_kakoti)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 12:54pm UTC](https://discuss.elastic.co/t/pdf-and-pdf-not-giving-the-same-results-while-searching-in-elasticsearch/217963 "2020-02-05T12:54:53Z")

</div>

I have a query: "query": { "query\_string": { "query": "\*.pdf"/"\*pdf" } } \*.pdf doesn't include all the pdf docs, however \*pdf gives the right results. Why is that so?

---

## [Find the same events from different environments](https://discuss.elastic.co/t/find-the-same-events-from-different-environments/217836)

<div class="topic-metadata">

**Author:** [@Artem\_Nikitin](https://discuss.elastic.co/u/Artem_Nikitin)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 12:35pm UTC](https://discuss.elastic.co/t/find-the-same-events-from-different-environments/217836 "2020-02-05T12:35:30Z")

</div>

Our data in ES looks like: { "event": "w", "environment": "abc"} { "event": "w", "environment": "def"} { "event": "z", "environment": "abc"} ES version is 6.5.1 I want to find all the events which happened in mor…

---

## [Curator age filter with field\_stats source not working](https://discuss.elastic.co/t/curator-age-filter-with-field-stats-source-not-working/217986)

<div class="topic-metadata">

**Author:** [@Jeremias\_Santos](https://discuss.elastic.co/u/Jeremias_Santos)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 12:33pm UTC](https://discuss.elastic.co/t/curator-age-filter-with-field-stats-source-not-working/217986 "2020-02-05T12:33:38Z")

</div>

Hi, I am using the sample data available on kibana to make some tests, but when I try to delete only 5 days older indices, all indices are deleted. Flights and eCommerce data are loaded. The elasticsearch and kibana are …

---

## [Get documents based on timespan](https://discuss.elastic.co/t/get-documents-based-on-timespan/217982)

<div class="topic-metadata">

**Author:** [@anandjoshi77](https://discuss.elastic.co/u/anandjoshi77)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 12:03pm UTC](https://discuss.elastic.co/t/get-documents-based-on-timespan/217982 "2020-02-05T12:03:28Z")

</div>

Hello team, I have logs with date time stamp. Is there a way I can get documents with only time range? For example; can I get documents for a selected date range which has time stamp between 1200-1700 ? Thanks.

---

## [Rest High Level client - Gracefully flushing bulk processor as JVM exits](https://discuss.elastic.co/t/rest-high-level-client-gracefully-flushing-bulk-processor-as-jvm-exits/217368)

<div class="topic-metadata">

**Author:** [@marchuss](https://discuss.elastic.co/u/marchuss)\
**Replies:** 6\
**Last updated:** [February 5, 2020, 8:57am UTC](https://discuss.elastic.co/t/rest-high-level-client-gracefully-flushing-bulk-processor-as-jvm-exits/217368 "2020-02-05T08:57:42Z")

</div>

Are there any recommendations on how to cleanly flush all items that are in the Rest High Level bulkprocessor (configured with one concurrent request) as the JVM exits? We have a spring boot application and have tried …

---

## [Browser throws server didn’t accept your login certificate, or one may not have been provided](https://discuss.elastic.co/t/browser-throws-server-didn-t-accept-your-login-certificate-or-one-may-not-have-been-provided/217112)

<div class="topic-metadata">

**Author:** [@VIGNESHkumar](https://discuss.elastic.co/u/VIGNESHkumar)\
**Replies:** 5\
**Last updated:** [February 5, 2020, 11:46am UTC](https://discuss.elastic.co/t/browser-throws-server-didn-t-accept-your-login-certificate-or-one-may-not-have-been-provided/217112 "2020-02-05T11:46:11Z")

</div>

Elasticsearch is configured and installed in local server. While calling http://servername:9200 It throws client sending HTTP request to https server. But when I send https://servername:9200 The browser throws serv…

---

## [API access to Kibana searches](https://discuss.elastic.co/t/api-access-to-kibana-searches/217981)

<div class="topic-metadata">

**Author:** [@rndmgnrtd](https://discuss.elastic.co/u/rndmgnrtd)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 11:44am UTC](https://discuss.elastic.co/t/api-access-to-kibana-searches/217981 "2020-02-05T11:44:53Z")

</div>

Hi, My team created searches in Kibana to find interesting documents. We made those using Lucene. We now want to access the results of these searches using an API. The elasticsearch \_search endpoint allows us to create …

---

## [Unable to restore Snapshot](https://discuss.elastic.co/t/unable-to-restore-snapshot/217949)

<div class="topic-metadata">

**Author:** [@Gayathri.Srivathsan](https://discuss.elastic.co/u/Gayathri.Srivathsan)\
**Replies:** 4\
**Last updated:** [February 5, 2020, 11:43am UTC](https://discuss.elastic.co/t/unable-to-restore-snapshot/217949 "2020-02-05T11:43:12Z")

</div>

Hi All, I have created a shared repository and created a snapshot in it. When I try to restore it after deleting the existing index , Iam unable to do so . I get the below error. index and alias names need to be unique…

---

## [ES bulk index performance](https://discuss.elastic.co/t/es-bulk-index-performance/217978)

<div class="topic-metadata">

**Author:** [@kubra](https://discuss.elastic.co/u/kubra)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 11:37am UTC](https://discuss.elastic.co/t/es-bulk-index-performance/217978 "2020-02-05T11:37:26Z")

</div>

Hello, We are using ES 7.2.0 to index some documents. Using node.js we convert csv documents to json and use bulk index with 5000 batch size. We have two different files with different number of fields. All field types…

---

## [Keywords not behaving as I need](https://discuss.elastic.co/t/keywords-not-behaving-as-i-need/217947)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Garcia\_Roces](https://discuss.elastic.co/u/Gonzalo_Garcia_Roces)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 11:00am UTC](https://discuss.elastic.co/t/keywords-not-behaving-as-i-need/217947 "2020-02-05T11:00:43Z")

</div>

Hello there. I'm trying to create a searcher that uses synonyms and taxonomies mixed with some keywords due to composite terms These are the 2 analyzers I am trying to create : // "analysis": { "filter": { …

---

## [Date range not working ... no errors but no matches](https://discuss.elastic.co/t/date-range-not-working-no-errors-but-no-matches/217801)

<div class="topic-metadata">

**Author:** [@Jagdeepak\_Rawat](https://discuss.elastic.co/u/Jagdeepak_Rawat)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 11:22am UTC](https://discuss.elastic.co/t/date-range-not-working-no-errors-but-no-matches/217801 "2020-02-05T11:22:38Z")

</div>

I put the following json in elasticsearch under an index. but can't use date ranges on this structure even though I have put custom mappings of my own to show where date is. { "key": { "window\_end": 1579602460000, …

---

## [Function in defining mapping](https://discuss.elastic.co/t/function-in-defining-mapping/217968)

<div class="topic-metadata">

**Author:** [@Antriksh\_Jain](https://discuss.elastic.co/u/Antriksh_Jain)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 10:50am UTC](https://discuss.elastic.co/t/function-in-defining-mapping/217968 "2020-02-05T10:50:56Z")

</div>

Think about this requirement: Say I've parent-child relationship as follows: Customer-\>Orders A customer can have multiple order. I want to maintain Customer.MaxOrderTotal this field will maintain maximum price for h…

---

## [Allocate only selected indexes on new node](https://discuss.elastic.co/t/allocate-only-selected-indexes-on-new-node/217960)

<div class="topic-metadata">

**Author:** [@piet23](https://discuss.elastic.co/u/piet23)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 10:32am UTC](https://discuss.elastic.co/t/allocate-only-selected-indexes-on-new-node/217960 "2020-02-05T10:32:21Z")

</div>

Hi there, We have an ES cluster running with several indexes and nodes. Now we want to add a new node but want to allocate only a selected few indexes to this new node. Is it possible to accomplish this somehow without …

---

## [How to disable xpack ssl from helm while deploying Elasticsearch on K8s](https://discuss.elastic.co/t/how-to-disable-xpack-ssl-from-helm-while-deploying-elasticsearch-on-k8s/217958)

<div class="topic-metadata">

**Author:** [@biswarup1290dass](https://discuss.elastic.co/u/biswarup1290dass)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 10:19am UTC](https://discuss.elastic.co/t/how-to-disable-xpack-ssl-from-helm-while-deploying-elasticsearch-on-k8s/217958 "2020-02-05T10:19:26Z")

</div>

Is there a way to disable xpack.security.enabled to false from helm chart during elasticsearch deployment on a K8s cluster? I am getting the below error while reindexing. "error" : { "type" : "s\_s\_l\_handshake\_excep…

---

## [Painless - cosineSimilarity - How use the static reference](https://discuss.elastic.co/t/painless-cosinesimilarity-how-use-the-static-reference/217928)

<div class="topic-metadata">

**Author:** [@Remy\_Letient](https://discuss.elastic.co/u/Remy_Letient)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 10:13am UTC](https://discuss.elastic.co/t/painless-cosinesimilarity-how-use-the-static-reference/217928 "2020-02-05T10:13:45Z")

</div>

Hello, I'm using painless for a scoring function and I'm encountering a problem like that: "caused\_by": { "type": "illegal\_state\_exception", "reason": "no 'this' pointer within static method" } because my script u…

---

## [How to aggregate per keyword in the match list](https://discuss.elastic.co/t/how-to-aggregate-per-keyword-in-the-match-list/217946)

<div class="topic-metadata">

**Author:** [@Mich\_Talebzadeh](https://discuss.elastic.co/u/Mich_Talebzadeh)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 9:48am UTC](https://discuss.elastic.co/t/how-to-aggregate-per-keyword-in-the-match-list/217946 "2020-02-05T09:48:58Z")

</div>

Hi, I have a basic code that provides the sum spent for all items in the following list "query": { "bool": { "should": \[ { "match": { "description": "A" }} , { "match": { "description": "B" }} , { "match": { "des…

---

## [Access Elasticsearch through host:9200/es instead of host:9200](https://discuss.elastic.co/t/access-elasticsearch-through-host-9200-es-instead-of-host-9200/217446)

<div class="topic-metadata">

**Author:** [@DougR](https://discuss.elastic.co/u/DougR)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 9:58am UTC](https://discuss.elastic.co/t/access-elasticsearch-through-host-9200-es-instead-of-host-9200/217446 "2020-02-05T09:58:57Z")

</div>

Is it possible to configure Elasticsearch to listen on an alternate URL without doing a URL rewrite at the load balancer? I.e., to listen at https://host:9200/es instead of https://host:9200? My use case (of course) is …

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

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