# Elasticsearch

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

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

**Page:** 1006

---

## [Elastic Search Snapshot feature and repository](https://discuss.elastic.co/t/elastic-search-snapshot-feature-and-repository/220842)

<div class="topic-metadata">

**Author:** [@Karthick\_Subramaniam](https://discuss.elastic.co/u/Karthick_Subramaniam)\
**Replies:** 2\
**Last updated:** [February 26, 2020, 5:55pm UTC](https://discuss.elastic.co/t/elastic-search-snapshot-feature-and-repository/220842 "2020-02-26T17:55:31Z")

</div>

Hi, I am looking at ways to store the Snaphot taken using the default Snapshot API in Elasticsearch. There are repositories available where we can store these snapshots. In the below link it is mentioned that Snapshots…

---

## [How to index some fields of an object](https://discuss.elastic.co/t/how-to-index-some-fields-of-an-object/221081)

<div class="topic-metadata">

**Author:** [@Eomm](https://discuss.elastic.co/u/Eomm)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 5:16pm UTC](https://discuss.elastic.co/t/how-to-index-some-fields-of-an-object/221081 "2020-02-26T17:16:06Z")

</div>

Hello, I have to log a dynamic object, but I'm interested only to index some fields (not all), but when I configure this behaviour I can't search for those fields Here an example of what I'm doing: curl --request PUT …

---

## [Uneven search requests distribution among nodes](https://discuss.elastic.co/t/uneven-search-requests-distribution-among-nodes/219249)

<div class="topic-metadata">

**Author:** [@toJignesh](https://discuss.elastic.co/u/toJignesh)\
**Replies:** 2\
**Last updated:** [February 26, 2020, 4:54pm UTC](https://discuss.elastic.co/t/uneven-search-requests-distribution-among-nodes/219249 "2020-02-26T16:54:54Z")

</div>

Hi, I have a single shard cluster, with 5 replica (total 6 nodes). Each having 25 threads on their search thread pool. I am running a stress test by sending same query to the cluster 20 requests per second. When I mo…

---

## [Invalid Date Format](https://discuss.elastic.co/t/invalid-date-format/221076)

<div class="topic-metadata">

**Author:** [@alinaalam](https://discuss.elastic.co/u/alinaalam)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 4:25pm UTC](https://discuss.elastic.co/t/invalid-date-format/221076 "2020-02-26T16:25:23Z")

</div>

This is my index mapping: "properties": { "hour": { "type": "date" }, "timestamp": { "type": "date" } …

---

## [Restore index from s3](https://discuss.elastic.co/t/restore-index-from-s3/221042)

<div class="topic-metadata">

**Author:** [@DILIP\_SHARMA](https://discuss.elastic.co/u/DILIP_SHARMA)\
**Replies:** 8\
**Last updated:** [February 26, 2020, 3:44pm UTC](https://discuss.elastic.co/t/restore-index-from-s3/221042 "2020-02-26T15:44:48Z")

</div>

hi i am using ES cloud managed version . i did index backup to s3 using following command PUT /\_snapshot/hc\_es\_s3\_repository/dtoperation\_1 { "indices": "dtoperation", "ignore\_unavailable": true, "include\_global…

---

## [Is there an option to update a Rollup job in Kibana v7.5?](https://discuss.elastic.co/t/is-there-an-option-to-update-a-rollup-job-in-kibana-v7-5/221058)

<div class="topic-metadata">

**Author:** [@alarka](https://discuss.elastic.co/u/alarka)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 2:49pm UTC](https://discuss.elastic.co/t/is-there-an-option-to-update-a-rollup-job-in-kibana-v7-5/221058 "2020-02-26T14:49:27Z")

</div>

I have a Rollup job which currently runs every 1 hour. I would however want to run it every 1 min. Is there a way I can update the job? Thanks.

---

## [Invalid\_index\_name\_exception in Eleasticsearch](https://discuss.elastic.co/t/invalid-index-name-exception-in-eleasticsearch/221057)

<div class="topic-metadata">

**Author:** [@sujit\_kumar](https://discuss.elastic.co/u/sujit_kumar)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 2:34pm UTC](https://discuss.elastic.co/t/invalid-index-name-exception-in-eleasticsearch/221057 "2020-02-26T14:34:04Z")

</div>

Hi I am using 7.2.0 version of ELK I have used docker compose file. My containers are running but can't seem my KIbana dash board. When used curl -XGET http://localhost:9200/\_status to check my eleastcisearch, got follo…

---

## [Modify field type when merging index](https://discuss.elastic.co/t/modify-field-type-when-merging-index/221053)

<div class="topic-metadata">

**Author:** [@Norman\_Khine](https://discuss.elastic.co/u/Norman_Khine)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 2:08pm UTC](https://discuss.elastic.co/t/modify-field-type-when-merging-index/221053 "2020-02-26T14:08:27Z")

</div>

Hello, I am trying to merge daily indexes into monthly indexes, but I get some errors like "reason":"mapper \[event.data.playback.progress\] cannot be changed from type \[long\] to \[float\]"},"status":400} In my applicatio…

---

## [Set default index with curl command - Error from Elastic](https://discuss.elastic.co/t/set-default-index-with-curl-command-error-from-elastic/221044)

<div class="topic-metadata">

**Author:** [@Voula\_Mikr](https://discuss.elastic.co/u/Voula_Mikr)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 1:06pm UTC](https://discuss.elastic.co/t/set-default-index-with-curl-command-error-from-elastic/221044 "2020-02-26T13:06:49Z")

</div>

Hi, I am using Elasticsearch 7.0.1 and I am trying to set an index as default with the below command: curl 'ip\_:5601/api/kibana/settings' -H 'kbn-version: 7.0.1' -H 'Content-Type: application/json' --data-binary …

---

## [Snapshot creation to s3 is failing with unknown field name min\_version](https://discuss.elastic.co/t/snapshot-creation-to-s3-is-failing-with-unknown-field-name-min-version/220990)

<div class="topic-metadata">

**Author:** [@Sai\_Birada](https://discuss.elastic.co/u/Sai_Birada)\
**Replies:** 3\
**Last updated:** [February 26, 2020, 12:50pm UTC](https://discuss.elastic.co/t/snapshot-creation-to-s3-is-failing-with-unknown-field-name-min-version/220990 "2020-02-26T12:50:01Z")

</div>

Hi, I created a s3 repository and verified that its getting connected by verify repository. Verification status : Connected However, when I try to put a snapshot, its throwing parse exception. PUT /\_snapshot/elk-snap…

---

## [How do you store logs persistently](https://discuss.elastic.co/t/how-do-you-store-logs-persistently/221023)

<div class="topic-metadata">

**Author:** [@michielM](https://discuss.elastic.co/u/michielM)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 11:08am UTC](https://discuss.elastic.co/t/how-do-you-store-logs-persistently/221023 "2020-02-26T11:08:13Z")

</div>

Hi, I'm new to the whole ELK stack. Currently I'm setting up a test environment for gathering logs from auditbeat and filebeat. Now during the setup I encountered the problem when I stopped my containers, that I lose th…

---

## [Bulk API for taking inputs from json file](https://discuss.elastic.co/t/bulk-api-for-taking-inputs-from-json-file/221039)

<div class="topic-metadata">

**Author:** [@Prajwal\_Bhusari](https://discuss.elastic.co/u/Prajwal_Bhusari)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 12:27pm UTC](https://discuss.elastic.co/t/bulk-api-for-taking-inputs-from-json-file/221039 "2020-02-26T12:27:28Z")

</div>

How to take a bulk input from json file where each object is terminated by newline. I tried -\> curl -XPOST http://localhost:9200/az/doc/\_bulk -H "Content-Type: application/json" -d @test.json my test.json looks like -…

---

## [Bootstrap checks keeps failing](https://discuss.elastic.co/t/bootstrap-checks-keeps-failing/221037)

<div class="topic-metadata">

**Author:** [@oengel](https://discuss.elastic.co/u/oengel)\
**Replies:** 2\
**Last updated:** [February 26, 2020, 12:26pm UTC](https://discuss.elastic.co/t/bootstrap-checks-keeps-failing/221037 "2020-02-26T12:26:55Z")

</div>

Hi to all, Im facing issues starting up my Elasticsearch cluster. We have an active-stdby architecture that we manage on our own. So, before im running the elasticsearch, im modifying (runtime) it's configuration on e…

---

## [Bin/elasticsearch-certutil ca command is not working](https://discuss.elastic.co/t/bin-elasticsearch-certutil-ca-command-is-not-working/221016)

<div class="topic-metadata">

**Author:** [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Replies:** 3\
**Last updated:** [February 26, 2020, 11:26am UTC](https://discuss.elastic.co/t/bin-elasticsearch-certutil-ca-command-is-not-working/221016 "2020-02-26T11:26:04Z")

</div>

I install elasticsearch 7.3 using this command wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.2-amd64.deb wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.2-amd64.…

---

## [Altering mapping of index without reindexing](https://discuss.elastic.co/t/altering-mapping-of-index-without-reindexing/220998)

<div class="topic-metadata">

**Author:** [@naveenbangalore](https://discuss.elastic.co/u/naveenbangalore)\
**Replies:** 1\
**Last updated:** [February 26, 2020, 11:15am UTC](https://discuss.elastic.co/t/altering-mapping-of-index-without-reindexing/220998 "2020-02-26T11:15:35Z")

</div>

Hi, I have an index field "Field1" of string data type. Let's call this index IND-001. In the subsequent index IND-002, the data type/mapping of this field "Field1" has been changed to type long. This has now resulted…

---

## [Migrating 500 millions of Document from one cluster to another cluster](https://discuss.elastic.co/t/migrating-500-millions-of-document-from-one-cluster-to-another-cluster/221006)

<div class="topic-metadata">

**Author:** [@Thilak](https://discuss.elastic.co/u/Thilak)\
**Replies:** 1\
**Last updated:** [February 26, 2020, 11:13am UTC](https://discuss.elastic.co/t/migrating-500-millions-of-document-from-one-cluster-to-another-cluster/221006 "2020-02-26T11:13:46Z")

</div>

Hello Currently, we are running 3 Node Cluster having over 83 indices and 2893 shards with a total of over 500 millions of Documents. We need to migrate the entire data to a different cluster. During the migration, we …

---

## [Unable to Tessellate shape error on indexing ES 7.6](https://discuss.elastic.co/t/unable-to-tessellate-shape-error-on-indexing-es-7-6/220867)

<div class="topic-metadata">

**Author:** [@oshan](https://discuss.elastic.co/u/oshan)\
**Replies:** 1\
**Last updated:** [February 26, 2020, 11:09am UTC](https://discuss.elastic.co/t/unable-to-tessellate-shape-error-on-indexing-es-7-6/220867 "2020-02-26T11:09:15Z")

</div>

this geometry is valid according to the postgresql (postgis) st\_isvalid method but Elasticsearch throws illegal\_argument\_exception error on indexing {"type":"mapper\_parsing\_exception","reason":"failed to parse field…

---

## [ElasticSearch (Levenstein)](https://discuss.elastic.co/t/elasticsearch-levenstein/221013)

<div class="topic-metadata">

**Author:** [@vinaychila](https://discuss.elastic.co/u/vinaychila)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 10:44am UTC](https://discuss.elastic.co/t/elasticsearch-levenstein/221013 "2020-02-26T10:44:07Z")

</div>

Hi, Source: vinay Target: vinayc When I searched using above fields in online Levelstein we are getting score as: 84%. check using the following link: https://awsm-tools.com/text/levenshtein-distance When I searched…

---

## [SQL Translate does not work well](https://discuss.elastic.co/t/sql-translate-does-not-work-well/220813)

<div class="topic-metadata">

**Author:** [@SingingFisher](https://discuss.elastic.co/u/SingingFisher)\
**Replies:** 1\
**Last updated:** [February 26, 2020, 10:22am UTC](https://discuss.elastic.co/t/sql-translate-does-not-work-well/220813 "2020-02-26T10:22:20Z")

</div>

Hi gays: I am using elasticsearch 7.3. I am learning elasticsearch SQL translate but got a problem. Here is my operation step: Step 1:search documents by sql POST /\_sql?format=txt { "query":"SELECT author, name, c…

---

## [How to keep the order of results constant for results with same score?](https://discuss.elastic.co/t/how-to-keep-the-order-of-results-constant-for-results-with-same-score/220993)

<div class="topic-metadata">

**Author:** [@PriyaSmartShore](https://discuss.elastic.co/u/PriyaSmartShore)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 9:37am UTC](https://discuss.elastic.co/t/how-to-keep-the-order-of-results-constant-for-results-with-same-score/220993 "2020-02-26T09:37:44Z")

</div>

I have query in ELasticSearch with results say outputting around 20 records almost all of them are having same score but everytime we hit the query , the order of the records are not same, it keeps on changing everytime.…

---

## [Parent and child fields in single document](https://discuss.elastic.co/t/parent-and-child-fields-in-single-document/219976)

<div class="topic-metadata">

**Author:** [@sunilmpatil](https://discuss.elastic.co/u/sunilmpatil)\
**Replies:** 7\
**Last updated:** [February 26, 2020, 9:20am UTC](https://discuss.elastic.co/t/parent-and-child-fields-in-single-document/219976 "2020-02-26T09:20:02Z")

</div>

Hi, I am planning to map a relational table which has parent and child relationship into Elastic index. SQL table Structure: pk\_id | parent\_id | child\_id | 100 | 1 | 2 | 101 | 2 …

---

## [Error index.lifecycle.rollover\_alias does not pointto index](https://discuss.elastic.co/t/error-index-lifecycle-rollover-alias-does-not-pointto-index/220788)

<div class="topic-metadata">

**Author:** [@lbouquinUniv](https://discuss.elastic.co/u/lbouquinUniv)\
**Replies:** 3\
**Last updated:** [February 26, 2020, 9:12am UTC](https://discuss.elastic.co/t/error-index-lifecycle-rollover-alias-does-not-pointto-index/220788 "2020-02-26T09:12:29Z")

</div>

Hello? I have a problem with Elasticsearch 6.8. I've try to create rollover but I have an error. type" : "illegal\_argument\_exception", "reason" : "index.lifecycle.rollover\_alias \[test-alias-rollover\] does not point t…

---

## [Disable stopwords for a specific query?](https://discuss.elastic.co/t/disable-stopwords-for-a-specific-query/220815)

<div class="topic-metadata">

**Author:** [@Laurens\_Mertens](https://discuss.elastic.co/u/Laurens_Mertens)\
**Replies:** 0\
**Last updated:** [February 25, 2020, 10:04am UTC](https://discuss.elastic.co/t/disable-stopwords-for-a-specific-query/220815 "2020-02-25T10:04:42Z")

</div>

Hi, I have documents with a title field "about us". However, it is not possible to find these since "about" and "us" are ignored stopwords. Can I include these in the results without disabling the language analyzer? Be…

---

## [How to retrieve elk data from server - physical location](https://discuss.elastic.co/t/how-to-retrieve-elk-data-from-server-physical-location/220850)

<div class="topic-metadata">

**Author:** [@Joseph\_Raj](https://discuss.elastic.co/u/Joseph_Raj)\
**Replies:** 2\
**Last updated:** [February 26, 2020, 7:45am UTC](https://discuss.elastic.co/t/how-to-retrieve-elk-data-from-server-physical-location/220850 "2020-02-26T07:45:43Z")

</div>

Can you please help me to find the way to get the elastic search data from the server physical location. Basically i'm looking for a physical file of document where the data is getting stored. I have lost some documen…

---

## [Difference between matchquery and matchphrase query](https://discuss.elastic.co/t/difference-between-matchquery-and-matchphrase-query/220873)

<div class="topic-metadata">

**Author:** [@arvind73156](https://discuss.elastic.co/u/arvind73156)\
**Replies:** 2\
**Last updated:** [February 26, 2020, 7:34am UTC](https://discuss.elastic.co/t/difference-between-matchquery-and-matchphrase-query/220873 "2020-02-26T07:34:11Z")

</div>

I need to know the difference between matchquery and match phrase query if i use them to search for text "92%". Would i able to get exact match for this text using match query or match phrase query.

---

## [Elasticsearch/Node.js load tests giving poor results, how can I lower latency on my queries?](https://discuss.elastic.co/t/elasticsearch-node-js-load-tests-giving-poor-results-how-can-i-lower-latency-on-my-queries/220963)

<div class="topic-metadata">

**Author:** [@gabsong](https://discuss.elastic.co/u/gabsong)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 6:45am UTC](https://discuss.elastic.co/t/elasticsearch-node-js-load-tests-giving-poor-results-how-can-i-lower-latency-on-my-queries/220963 "2020-02-26T06:45:04Z")

</div>

Hi, I'm new to Elasticsearch and have set up Elasticsearch locally to run some tests. This is more of an experiment to look at the capabilities of ES and is not meant to be a production application. However, I my results…

---

## [Automatic edit of file in dockerized elasticsearch/kibana](https://discuss.elastic.co/t/automatic-edit-of-file-in-dockerized-elasticsearch-kibana/220949)

<div class="topic-metadata">

**Author:** [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 4:00am UTC](https://discuss.elastic.co/t/automatic-edit-of-file-in-dockerized-elasticsearch-kibana/220949 "2020-02-26T04:00:02Z")

</div>

I have my dockerized container for elasticsearch and kibana running, with it automatically installing some plugins once i start the docker container. I need to edit the config/elasticsearch.yml file to enable the usage …

---

## [No collapse possibility on elasticsearch-js?](https://discuss.elastic.co/t/no-collapse-possibility-on-elasticsearch-js/220935)

<div class="topic-metadata">

**Author:** [@Wassim\_Ben\_Amor](https://discuss.elastic.co/u/Wassim_Ben_Amor)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 12:20am UTC](https://discuss.elastic.co/t/no-collapse-possibility-on-elasticsearch-js/220935 "2020-02-26T00:20:53Z")

</div>

Hello, When I try to use collapse parameter in my query, it throws an exception saying : contains unrecognized parameter: \[collapse\] How can I do field collapsing using a js client ? Thank you

---

## [In Elasticsearch roll over API can we send prev month transactions coming in this month to the right month?](https://discuss.elastic.co/t/in-elasticsearch-roll-over-api-can-we-send-prev-month-transactions-coming-in-this-month-to-the-right-month/220918)

<div class="topic-metadata">

**Author:** [@dhavalk123](https://discuss.elastic.co/u/dhavalk123)\
**Replies:** 1\
**Last updated:** [February 25, 2020, 10:14pm UTC](https://discuss.elastic.co/t/in-elasticsearch-roll-over-api-can-we-send-prev-month-transactions-coming-in-this-month-to-the-right-month/220918 "2020-02-25T22:14:32Z")

</div>

If banks decides to send prev month transactions in bulk in this month. Can the rollover API be used to route the old transactions to the old months or will they go in the current month always?

---

## [Spark sql not reading all the columns from index](https://discuss.elastic.co/t/spark-sql-not-reading-all-the-columns-from-index/215518)

<div class="topic-metadata">

**Author:** [@raghu2](https://discuss.elastic.co/u/raghu2)\
**Replies:** 1\
**Last updated:** [January 28, 2020, 9:44pm UTC](https://discuss.elastic.co/t/spark-sql-not-reading-all-the-columns-from-index/215518 "2020-01-28T21:44:17Z")

</div>

I am using pyspark 1.6.1 using elasticsearch-spark-13\_2.10-7.5.1.jar to read data from ES 5.6.8 running on AWS Es service. I am able to use "es.read.field.include" to extract only the columns we need or also register t…

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

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