# Elasticsearch

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

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

**Page:** 1571

---

## [How to integrate a local language into a document](https://discuss.elastic.co/t/how-to-integrate-a-local-language-into-a-document/145825)

<div class="topic-metadata">

**Author:** [@wangbin](https://discuss.elastic.co/u/wangbin)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 1:53am UTC](https://discuss.elastic.co/t/how-to-integrate-a-local-language-into-a-document/145825 "2018-08-24T01:53:06Z")

</div>

I wrote a java-api translation. Can I integrate it into the official website?

---

## [Elasticsearch rename nested fields using reindex](https://discuss.elastic.co/t/elasticsearch-rename-nested-fields-using-reindex/144956)

<div class="topic-metadata">

**Author:** [@krishna\_chaitanya](https://discuss.elastic.co/u/krishna_chaitanya)\
**Replies:** 3\
**Last updated:** [August 23, 2018, 10:55pm UTC](https://discuss.elastic.co/t/elasticsearch-rename-nested-fields-using-reindex/144956 "2018-08-23T22:55:38Z")

</div>

Trying to rename the existing fields using reindex api Works well for non-nested fields: POST \_reindex { "source": { "index": "products-2018.04.05" }, "dest": { "index": "products-reindex-2018.04.05" },…

---

## [Retrieving custom metadata from mapping type with NEST](https://discuss.elastic.co/t/retrieving-custom-metadata-from-mapping-type-with-nest/145816)

<div class="topic-metadata">

**Author:** [@jimc](https://discuss.elastic.co/u/jimc)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 9:59pm UTC](https://discuss.elastic.co/t/retrieving-custom-metadata-from-mapping-type-with-nest/145816 "2018-08-23T21:59:16Z")

</div>

Hello. I have an index for which I am storing custom metadata in the \_meta field. When I retrieve the metadata using NEST via the GetMapping\<T\> method, the returned dictionary has values that are represented as internal…

---

## [HELP! Fuzzyness of skirt-shirt](https://discuss.elastic.co/t/help-fuzzyness-of-skirt-shirt/143692)

<div class="topic-metadata">

**Author:** [@gelinger777](https://discuss.elastic.co/u/gelinger777)\
**Replies:** 1\
**Last updated:** [August 23, 2018, 9:23pm UTC](https://discuss.elastic.co/t/help-fuzzyness-of-skirt-shirt/143692 "2018-08-23T21:23:59Z")

</div>

We have a index of products . I have used a copy\_to function to copy brand, product\_title to full\_data . Search is done very simple 'query' =\> \[ 'match' =\> \[ …

---

## [Not able to sort keyvalue in \_source result](https://discuss.elastic.co/t/not-able-to-sort-keyvalue-in-source-result/143675)

<div class="topic-metadata">

**Author:** [@Dipen\_Patel](https://discuss.elastic.co/u/Dipen_Patel)\
**Replies:** 1\
**Last updated:** [August 23, 2018, 9:03pm UTC](https://discuss.elastic.co/t/not-able-to-sort-keyvalue-in-source-result/143675 "2018-08-23T21:03:07Z")

</div>

Hello, I have json file looks like below and i Imported in to elasticsearch via bulk api, { "index": { "\_id": 1 }} { "guid": "132789","age":"30","title":"helloif graphic design art san franciscofurthermore theyrediffe…

---

## [ElasticSearch 6.0 The insert into index blocks when querying](https://discuss.elastic.co/t/elasticsearch-6-0-the-insert-into-index-blocks-when-querying/145806)

<div class="topic-metadata">

**Author:** [@AltooFaltoo](https://discuss.elastic.co/u/AltooFaltoo)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 8:58pm UTC](https://discuss.elastic.co/t/elasticsearch-6-0-the-insert-into-index-blocks-when-querying/145806 "2018-08-23T20:58:07Z")

</div>

I am doing a POC on elastic search. I notice that when I issue a big aggregation query (or multiple small queries against the index). the latency on the logstash job which is doing inserts goes sky high. I am using sepa…

---

## [Help: Curator error and can't set path to config](https://discuss.elastic.co/t/help-curator-error-and-cant-set-path-to-config/145261)

<div class="topic-metadata">

**Author:** [@ELK\_believer](https://discuss.elastic.co/u/ELK_believer)\
**Replies:** 1\
**Last updated:** [August 23, 2018, 8:17pm UTC](https://discuss.elastic.co/t/help-curator-error-and-cant-set-path-to-config/145261 "2018-08-23T20:17:41Z")

</div>

Hello, I'm new to ELK running a the latest version and latest version of curator which I'm setting up for log retention. I have 1 Kibana box, 1 Logstash, 3 master nodes and 5 ES or data nodes. I have curator installed o…

---

## [Standard analyzer vs standard tokenizer](https://discuss.elastic.co/t/standard-analyzer-vs-standard-tokenizer/145798)

<div class="topic-metadata">

**Author:** [@workland](https://discuss.elastic.co/u/workland)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 8:10pm UTC](https://discuss.elastic.co/t/standard-analyzer-vs-standard-tokenizer/145798 "2018-08-23T20:10:12Z")

</div>

can you please explain the difference between analyzer vs tokenizer? What is the best way to use it? Where, when they are supposed to used? thanks in advance

---

## [How to import non-prettified JSON files?](https://discuss.elastic.co/t/how-to-import-non-prettified-json-files/145795)

<div class="topic-metadata">

**Author:** [@Jake\_Burns](https://discuss.elastic.co/u/Jake_Burns)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 7:44pm UTC](https://discuss.elastic.co/t/how-to-import-non-prettified-json-files/145795 "2018-08-23T19:44:51Z")

</div>

I'm trying to import a directory of .json files into elasticsearch. The files are not prettified and have no newline characters. They are valid JSON according to jsonlint but I cannot import them into elasticsearch. Her…

---

## [High CPU usage while bulk indexing](https://discuss.elastic.co/t/high-cpu-usage-while-bulk-indexing/135023)

<div class="topic-metadata">

**Author:** [@motherhubbard](https://discuss.elastic.co/u/motherhubbard)\
**Replies:** 12\
**Last updated:** [August 23, 2018, 7:27pm UTC](https://discuss.elastic.co/t/high-cpu-usage-while-bulk-indexing/135023 "2018-08-23T19:27:36Z")

</div>

We have a 9 box setup (details provided in the Environment section further down). We have a job that uses the bulk write interface to write 100 documents at a time to Elastic. Each document may be up to 1MB in size but …

---

## [How to export an index to a csv file in elastic serach.. apart from using logstash](https://discuss.elastic.co/t/how-to-export-an-index-to-a-csv-file-in-elastic-serach-apart-from-using-logstash/145788)

<div class="topic-metadata">

**Author:** [@marty11](https://discuss.elastic.co/u/marty11)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 7:17pm UTC](https://discuss.elastic.co/t/how-to-export-an-index-to-a-csv-file-in-elastic-serach-apart-from-using-logstash/145788 "2018-08-23T19:17:41Z")

</div>

Hi... I want to export elastic search index to a csv...can you guys please suggests options apart from using logstash... Is dataformat olugin a good option.. Any limitation of dataformat plugin..

---

## [High Availablity on Elastic Search](https://discuss.elastic.co/t/high-availablity-on-elastic-search/145199)

<div class="topic-metadata">

**Author:** [@amit.patra](https://discuss.elastic.co/u/amit.patra)\
**Replies:** 14\
**Last updated:** [August 23, 2018, 6:19pm UTC](https://discuss.elastic.co/t/high-availablity-on-elastic-search/145199 "2018-08-23T18:19:55Z")

</div>

Hi , I have installed and configured Elastic-search (Multi Node) Cluster on RHEL 6.9. Master : 192.168.2.79 Data-Node1 : 192.168.2.80 Data-Node2 : 192.168.2.81 How I make ES high available ?? Question 1 : If Data n…

---

## [Aggregation of more than 10000 records](https://discuss.elastic.co/t/aggregation-of-more-than-10000-records/145575)

<div class="topic-metadata">

**Author:** [@sanjeebkdeka](https://discuss.elastic.co/u/sanjeebkdeka)\
**Replies:** 4\
**Last updated:** [August 23, 2018, 3:58pm UTC](https://discuss.elastic.co/t/aggregation-of-more-than-10000-records/145575 "2018-08-23T15:58:18Z")

</div>

Hi, My requirement needs retrieval of at least 10000 matching distinct entries from Elasticsearch. Each distinct entry could in turn be referring to multiple records grouped by a particular field. Lets say, at an averag…

---

## [Queries don't work as expected](https://discuss.elastic.co/t/queries-dont-work-as-expected/145734)

<div class="topic-metadata">

**Author:** [@Ivan\_Culina](https://discuss.elastic.co/u/Ivan_Culina)\
**Replies:** 1\
**Last updated:** [August 23, 2018, 3:53pm UTC](https://discuss.elastic.co/t/queries-dont-work-as-expected/145734 "2018-08-23T15:53:48Z")

</div>

I have a field named requestUri on Elastic server. It has values like "/api/v1/log/rest", "/api/v1/log/notification" etc. A user of the app I am working on should be able to filter those values. First, I tried to propag…

---

## [Possible to restrict dynamic fields to dynamic\_template defined ones?](https://discuss.elastic.co/t/possible-to-restrict-dynamic-fields-to-dynamic-template-defined-ones/145736)

<div class="topic-metadata">

**Author:** [@dunaeth](https://discuss.elastic.co/u/dunaeth)\
**Replies:** 1\
**Last updated:** [August 23, 2018, 3:52pm UTC](https://discuss.elastic.co/t/possible-to-restrict-dynamic-fields-to-dynamic-template-defined-ones/145736 "2018-08-23T15:52:25Z")

</div>

Hi, is it possible to restrict dynamic fields mapping to those matching dynamic\_templates ?

---

## [Limitation on number of docs for the Index action of a Watch?](https://discuss.elastic.co/t/limitation-on-number-of-docs-for-the-index-action-of-a-watch/145699)

<div class="topic-metadata">

**Author:** [@hardbap](https://discuss.elastic.co/u/hardbap)\
**Replies:** 4\
**Last updated:** [August 23, 2018, 3:09pm UTC](https://discuss.elastic.co/t/limitation-on-number-of-docs-for-the-index-action-of-a-watch/145699 "2018-08-23T15:09:21Z")

</div>

I cannot find this documented anywhere but is there a limitation to the number of documents that the Index action will process? We experienced two spikes in messages yesterday (798 and 3392) and in each case the watch ac…

---

## [Aliasing and Routing Values not being respected by elastic](https://discuss.elastic.co/t/aliasing-and-routing-values-not-being-respected-by-elastic/145762)

<div class="topic-metadata">

**Author:** [@cpike](https://discuss.elastic.co/u/cpike)\
**Replies:** 4\
**Last updated:** [August 23, 2018, 3:09pm UTC](https://discuss.elastic.co/t/aliasing-and-routing-values-not-being-respected-by-elastic/145762 "2018-08-23T15:09:11Z")

</div>

I recently noticed an issue with my elastic cluster where it seems to ignore the routing values passed into the query and returns documents that belong to another alias. My index is split into many aliases per: https://…

---

## [Transform single hit into multiple documents with Index action](https://discuss.elastic.co/t/transform-single-hit-into-multiple-documents-with-index-action/145010)

<div class="topic-metadata">

**Author:** [@hardbap](https://discuss.elastic.co/u/hardbap)\
**Replies:** 7\
**Last updated:** [August 23, 2018, 3:03pm UTC](https://discuss.elastic.co/t/transform-single-hit-into-multiple-documents-with-index-action/145010 "2018-08-23T15:03:29Z")

</div>

I'd like to take the hits from the watch and insert each as a new document into a second index. But instead I'm getting a single document (with three timestamps). Reading the docs I know this is supported but I can't fi…

---

## [\[WARN \]\[o.e.m.j.JvmGcMonitorService\] \[gc\]\[212067\] overhead](https://discuss.elastic.co/t/warn-o-e-m-j-jvmgcmonitorservice-gc-212067-overhead/145765)

<div class="topic-metadata">

**Author:** [@iluvcode](https://discuss.elastic.co/u/iluvcode)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 2:57pm UTC](https://discuss.elastic.co/t/warn-o-e-m-j-jvmgcmonitorservice-gc-212067-overhead/145765 "2018-08-23T14:57:51Z")

</div>

Recently we rolled out new Search functionality to Production and from the same day we started seeing Elasticsearch 5.3.0 going down every other day. I allocated 30GB for JVM heap and we are running elasticsearch on Sol…

---

## [Not Able to search data from the ingested PDF](https://discuss.elastic.co/t/not-able-to-search-data-from-the-ingested-pdf/145723)

<div class="topic-metadata">

**Author:** [@manish\_kakoti](https://discuss.elastic.co/u/manish_kakoti)\
**Replies:** 3\
**Last updated:** [August 23, 2018, 2:02pm UTC](https://discuss.elastic.co/t/not-able-to-search-data-from-the-ingested-pdf/145723 "2018-08-23T14:02:48Z")

</div>

I am using nodejs client (elasticsearch.js) . I have ingested a PDF into elasticsearch using mapper attachment plugin. .The ingestion was successful. Whenever i am trying to search data from the document (already ingest…

---

## [Rollup API won't create when using 1M interval](https://discuss.elastic.co/t/rollup-api-wont-create-when-using-1m-interval/145744)

<div class="topic-metadata">

**Author:** [@Steven\_Liu](https://discuss.elastic.co/u/Steven_Liu)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 1:58pm UTC](https://discuss.elastic.co/t/rollup-api-wont-create-when-using-1m-interval/145744 "2018-08-23T13:58:00Z")

</div>

Hi, I am trying to create a Rollup index using below query. However, it kept returning errors. Any ideas?? { "index\_pattern": "test\_index", "rollup\_index": "test\_rollup\_index", "cron": "0 0/1 \* 1/1 \* ? \*", …

---

## [Is a query of the form /myindex/... certainly only operating on the index "myindex" if rest.action.multi.allow\_explicit\_index is set to false?](https://discuss.elastic.co/t/is-a-query-of-the-form-myindex-certainly-only-operating-on-the-index-myindex-if-rest-action-multi-allow-explicit-index-is-set-to-false/145742)

<div class="topic-metadata">

**Author:** [@Photon](https://discuss.elastic.co/u/Photon)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 1:51pm UTC](https://discuss.elastic.co/t/is-a-query-of-the-form-myindex-certainly-only-operating-on-the-index-myindex-if-rest-action-multi-allow-explicit-index-is-set-to-false/145742 "2018-08-23T13:51:44Z")

</div>

Hello, Community! I am new to Elasticsearch and after installing and playing around with it, I am now reading the API documentation. I came across the URL-based access control page and am now wondering: Is it certain t…

---

## [Restore-elastic-search-snapshot-from-2-3-0-to-5-6-0](https://discuss.elastic.co/t/restore-elastic-search-snapshot-from-2-3-0-to-5-6-0/145512)

<div class="topic-metadata">

**Author:** [@deepsing](https://discuss.elastic.co/u/deepsing)\
**Replies:** 13\
**Last updated:** [August 23, 2018, 1:20pm UTC](https://discuss.elastic.co/t/restore-elastic-search-snapshot-from-2-3-0-to-5-6-0/145512 "2018-08-23T13:20:06Z")

</div>

Trying to restore elastic search backup from 2.3.0 to 5.6.0 Following the below steps: update elasticsearch.yml file. Added path.repo: \["C:/backup\_elasticsearch\_2\_3\_0"\] Run below command for backup from the postm…

---

## [How to search a contraction word?](https://discuss.elastic.co/t/how-to-search-a-contraction-word/145731)

<div class="topic-metadata">

**Author:** [@Masoumeh\_Shavikloo](https://discuss.elastic.co/u/Masoumeh_Shavikloo)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 12:54pm UTC](https://discuss.elastic.co/t/how-to-search-a-contraction-word/145731 "2018-08-23T12:54:20Z")

</div>

I would like search text contains of words like I'm or you're and so on using Elasticsearch. It probably should be used synonym token filter. At index time I used below code: 'analyzer' =\> \[ 'default' =\> \[ 'type'…

---

## [High cpu on ES nodes](https://discuss.elastic.co/t/high-cpu-on-es-nodes/145726)

<div class="topic-metadata">

**Author:** [@naresh\_career399](https://discuss.elastic.co/u/naresh_career399)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 12:39pm UTC](https://discuss.elastic.co/t/high-cpu-on-es-nodes/145726 "2018-08-23T12:39:09Z")

</div>

Is high cpu problem in the ES nodes?

---

## [Error two nodes ES cluster](https://discuss.elastic.co/t/error-two-nodes-es-cluster/145703)

<div class="topic-metadata">

**Author:** [@Priyaranjan\_Mudliar](https://discuss.elastic.co/u/Priyaranjan_Mudliar)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 10:34am UTC](https://discuss.elastic.co/t/error-two-nodes-es-cluster/145703 "2018-08-23T10:34:32Z")

</div>

I am trying to create two node ES cluster but i am unable to connect my data node to the master node. I have set "node.master = true" and "node.data=false" in my master node config and vice versa in my data node config…

---

## [Elasticsearch 6.3.0 is not running](https://discuss.elastic.co/t/elasticsearch-6-3-0-is-not-running/145689)

<div class="topic-metadata">

**Author:** [@vivekranjan](https://discuss.elastic.co/u/vivekranjan)\
**Replies:** 5\
**Last updated:** [August 23, 2018, 12:07pm UTC](https://discuss.elastic.co/t/elasticsearch-6-3-0-is-not-running/145689 "2018-08-23T12:07:34Z")

</div>

When I am trying to run ES 6.3.0 on my system it is giving the following error. Kindly help with the same.

---

## [Geo distance sort point value](https://discuss.elastic.co/t/geo-distance-sort-point-value/145704)

<div class="topic-metadata">

**Author:** [@ytzlax](https://discuss.elastic.co/u/ytzlax)\
**Replies:** 2\
**Last updated:** [August 23, 2018, 11:48am UTC](https://discuss.elastic.co/t/geo-distance-sort-point-value/145704 "2018-08-23T11:48:14Z")

</div>

Hi, Why we need the point value, in the sort request? GET /\_search { "sort" : \[ { "\_geo\_distance" : { "pin.location" : \[-70, 40\], "order" : "asc", "unit" : "km" } } \], "query" : { "term" : { "user" : "kimch…

---

## [Custom fields appear on different index or globally?](https://discuss.elastic.co/t/custom-fields-appear-on-different-index-or-globally/145688)

<div class="topic-metadata">

**Author:** [@geokal](https://discuss.elastic.co/u/geokal)\
**Replies:** 2\
**Last updated:** [August 23, 2018, 11:05am UTC](https://discuss.elastic.co/t/custom-fields-appear-on-different-index-or-globally/145688 "2018-08-23T11:05:16Z")

</div>

Hi, I have 2 pipelines with logstash for parsing diffent csv and on elasticsearch after indexing, custom fields which are created in one pipeline appear on every index or globally on "discover" and probably messes up the…

---

## [How restore a snapshot taken from es version 6.X to elastic search 5.X?](https://discuss.elastic.co/t/how-restore-a-snapshot-taken-from-es-version-6-x-to-elastic-search-5-x/145673)

<div class="topic-metadata">

**Author:** [@Siddaram\_Jamagav](https://discuss.elastic.co/u/Siddaram_Jamagav)\
**Replies:** 2\
**Last updated:** [August 23, 2018, 9:38am UTC](https://discuss.elastic.co/t/how-restore-a-snapshot-taken-from-es-version-6-x-to-elastic-search-5-x/145673 "2018-08-23T09:38:48Z")

</div>

I have a taken snap shot of index from elastic search version 6.3.0 to aws s3. Is it possible to restore it to the elastic search version 5.5.2?

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

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