# Elasticsearch

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

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

**Page:** 1852

---

## [ElasticSearch Restore "Unknown parameter type"](https://discuss.elastic.co/t/elasticsearch-restore-unknown-parameter-type/112125)

<div class="topic-metadata">

**Author:** [@0NE](https://discuss.elastic.co/u/0NE)\
**Replies:** 3\
**Last updated:** [December 17, 2017, 9:06pm UTC](https://discuss.elastic.co/t/elasticsearch-restore-unknown-parameter-type/112125 "2017-12-17T21:06:23Z")

</div>

I am trying to restore my elasticsearch on a new machine. I copied the backup across, set up a new repo with the same name (called myrep). I have check if this works by doing: \> \`GET http://127.0.0.1:9200/\_snapshot\` w…

---

## [Guice @Inject problems when upgrading plugin to 6.1.0](https://discuss.elastic.co/t/guice-inject-problems-when-upgrading-plugin-to-6-1-0/112124)

<div class="topic-metadata">

**Author:** [@jettro](https://discuss.elastic.co/u/jettro)\
**Replies:** 3\
**Last updated:** [December 17, 2017, 8:32pm UTC](https://discuss.elastic.co/t/guice-inject-problems-when-upgrading-plugin-to-6-1-0/112124 "2017-12-17T20:32:35Z")

</div>

Hi, I am working on upgrading the learning to rank plugin from 5.6.x to 6.1.0. I was able to get the code compiling again, running the unit tests works as well. Next step is booting elasticsearch, installing the plugin …

---

## [Circuit breaker Open for http\_request](https://discuss.elastic.co/t/circuit-breaker-open-for-http-request/112093)

<div class="topic-metadata">

**Author:** [@stephanustedy](https://discuss.elastic.co/u/stephanustedy)\
**Replies:** 1\
**Last updated:** [December 17, 2017, 6:10pm UTC](https://discuss.elastic.co/t/circuit-breaker-open-for-http-request/112093 "2017-12-17T18:10:47Z")

</div>

Cluster setup : 10 nodes , with roles: 7 dedicated data only node (8 core, 16gb memory) 1 data and master (8 core, 16gb memory) 2 master, ingest and coordinator only node (4 core, 8gb memory) Elasticsearch version 5.…

---

## [Windows Node Joining Linux Master](https://discuss.elastic.co/t/windows-node-joining-linux-master/112050)

<div class="topic-metadata">

**Author:** [@bitva77](https://discuss.elastic.co/u/bitva77)\
**Replies:** 2\
**Last updated:** [December 17, 2017, 3:12pm UTC](https://discuss.elastic.co/t/windows-node-joining-linux-master/112050 "2017-12-17T15:12:44Z")

</div>

Hi! I've been working on migrating an ES cluster from Windows to Linux. It went pretty smooth but have run into an issue with a ES on Windows joining the cluster. Here's what I see in the logs: \[2017-12-15T13:27:48,9…

---

## [Bengali\_normalization not found](https://discuss.elastic.co/t/bengali-normalization-not-found/112113)

<div class="topic-metadata">

**Author:** [@amersabagzad](https://discuss.elastic.co/u/amersabagzad)\
**Replies:** 4\
**Last updated:** [December 17, 2017, 2:15pm UTC](https://discuss.elastic.co/t/bengali-normalization-not-found/112113 "2017-12-17T14:15:48Z")

</div>

PUT doc\_bn { "settings": { "number\_of\_shards": 1, "number\_of\_replicas": 0, "refresh\_interval": "10s", "analysis": { "filter": { "my\_stop": { "type": "stop", "stopwords"…

---

## [GraphQL integration](https://discuss.elastic.co/t/graphql-integration/112102)

<div class="topic-metadata">

**Author:** [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Replies:** 4\
**Last updated:** [December 17, 2017, 12:54pm UTC](https://discuss.elastic.co/t/graphql-integration/112102 "2017-12-17T12:54:32Z")

</div>

Now that Facebook has alleviated licensing issues with GraphQL, has there been any talk of integrating the GraphQL protocol as a way to query Elasticsearch? Do you think this might be something a plugin would be able to …

---

## [How to query documents "grouped documents"](https://discuss.elastic.co/t/how-to-query-documents-grouped-documents/112107)

<div class="topic-metadata">

**Author:** [@vb4t](https://discuss.elastic.co/u/vb4t)\
**Replies:** 0\
**Last updated:** [December 17, 2017, 1:19am UTC](https://discuss.elastic.co/t/how-to-query-documents-grouped-documents/112107 "2017-12-17T01:19:32Z")

</div>

Hello. I have following documents: group:groupid1 status:passed message:somemessage group:groupid1 message:somemessage2 group:groupid2 message:somemessage group:groupid1 message:somemessage3 I would like to get all do…

---

## [Filebeat-\* in Filebeat, Kibana](https://discuss.elastic.co/t/filebeat-in-filebeat-kibana/112104)

<div class="topic-metadata">

**Author:** [@80c1141eb6d0c564dd90](https://discuss.elastic.co/u/80c1141eb6d0c564dd90)\
**Replies:** 0\
**Last updated:** [December 16, 2017, 8:44pm UTC](https://discuss.elastic.co/t/filebeat-in-filebeat-kibana/112104 "2017-12-16T20:44:48Z")

</div>

I'm new to ELK and going through ELK documentation and setup i got confused: what is the difference between "template": "filebeat-\* " in /etc/filebeat/filebeat.template.json, "index =\> \["filebeat-%{+YYYY.MM.dd}"\]" in /…

---

## [Index auto-closing at night?](https://discuss.elastic.co/t/index-auto-closing-at-night/111929)

<div class="topic-metadata">

**Author:** [@ZaneCEO](https://discuss.elastic.co/u/ZaneCEO)\
**Replies:** 2\
**Last updated:** [December 16, 2017, 6:11pm UTC](https://discuss.elastic.co/t/index-auto-closing-at-night/111929 "2017-12-16T18:11:08Z")

</div>

Hi guys, I've a nasty problem where ES 1.7.3 index gets closed at night. I'm trying to understand why and what, but my limited experience with ES is slowing me down. I've a single server shared by the web stack (Nginx+…

---

## [Mapping not working as expected](https://discuss.elastic.co/t/mapping-not-working-as-expected/112040)

<div class="topic-metadata">

**Author:** [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Replies:** 2\
**Last updated:** [December 16, 2017, 2:29pm UTC](https://discuss.elastic.co/t/mapping-not-working-as-expected/112040 "2017-12-16T14:29:27Z")

</div>

I am relatively new to Elasticsearch so I could be just misunderstanding the concept of mapping, but when I check the mapping of an index I've created, I see that the type is correctly set to "integer", but when I use Lo…

---

## [Analyzer defined in index settings doesn't apply to fields](https://discuss.elastic.co/t/analyzer-defined-in-index-settings-doesnt-apply-to-fields/112087)

<div class="topic-metadata">

**Author:** [@navid.f10](https://discuss.elastic.co/u/navid.f10)\
**Replies:** 0\
**Last updated:** [December 16, 2017, 1:46pm UTC](https://discuss.elastic.co/t/analyzer-defined-in-index-settings-doesnt-apply-to-fields/112087 "2017-12-16T13:46:45Z")

</div>

Hi, I created a new index with the following settings: { "settings": { "analysis": { "filter": { "persian\_stop": { "type": "stop", "stopwords": "\_persian\_" } …

---

## [Filter on in elasticsearch-1.2.1 trigger the error below. How can i resolve this? i am new to elasticsearch](https://discuss.elastic.co/t/filter-on-in-elasticsearch-1-2-1-trigger-the-error-below-how-can-i-resolve-this-i-am-new-to-elasticsearch/111944)

<div class="topic-metadata">

**Author:** [@Hein\_Htet](https://discuss.elastic.co/u/Hein_Htet)\
**Replies:** 7\
**Last updated:** [December 16, 2017, 8:06am UTC](https://discuss.elastic.co/t/filter-on-in-elasticsearch-1-2-1-trigger-the-error-below-how-can-i-resolve-this-i-am-new-to-elasticsearch/111944 "2017-12-16T08:06:41Z")

</div>

\[DEBUG\]\[action.search.type \] \[Hobgoblin II\] \[product\_catalogue\]\[4\], node\[DKcHeBciTEmIBk6UsZuSTQ\], \[P\], s\[STARTED\]: Failed to execute \[org.elasticsearch.action.search.SearchRequest@79f7411\] org.elasticsearch.search.Search…

---

## [The aggregation of elasticsearch is so strickly?](https://discuss.elastic.co/t/the-aggregation-of-elasticsearch-is-so-strickly/111946)

<div class="topic-metadata">

**Author:** [@antony.y](https://discuss.elastic.co/u/antony.y)\
**Replies:** 3\
**Last updated:** [December 16, 2017, 5:44am UTC](https://discuss.elastic.co/t/the-aggregation-of-elasticsearch-is-so-strickly/111946 "2017-12-16T05:44:37Z")

</div>

\[image\] is there anyone who can recognize any different between these two queries ? When i copy these two sentences , there are some differences The left is the correct one, but when i copy the right sentence , it do…

---

## [Streaming data from ES to hadoop](https://discuss.elastic.co/t/streaming-data-from-es-to-hadoop/112066)

<div class="topic-metadata">

**Author:** [@prakash\_a](https://discuss.elastic.co/u/prakash_a)\
**Replies:** 0\
**Last updated:** [December 16, 2017, 3:59am UTC](https://discuss.elastic.co/t/streaming-data-from-es-to-hadoop/112066 "2017-12-16T03:59:40Z")

</div>

We are looking to stream data from ES to hadoop real time. Pls suggest some ways to achieve this.

---

## [Invalid index name](https://discuss.elastic.co/t/invalid-index-name/111131)

<div class="topic-metadata">

**Author:** [@Alex\_Davidovich](https://discuss.elastic.co/u/Alex_Davidovich)\
**Replies:** 12\
**Last updated:** [December 16, 2017, 3:55am UTC](https://discuss.elastic.co/t/invalid-index-name/111131 "2017-12-16T03:55:52Z")

</div>

I have a 3 nodes cluster with 1 primary shards on 1 node and 1 replica on each other node. My index has a name and an alias "current". I am bulk inserting into the master only via the alias name "current". That's work…

---

## [MongoDB & ES integration](https://discuss.elastic.co/t/mongodb-es-integration/112056)

<div class="topic-metadata">

**Author:** [@VidyaKumar](https://discuss.elastic.co/u/VidyaKumar)\
**Replies:** 0\
**Last updated:** [December 16, 2017, 12:13am UTC](https://discuss.elastic.co/t/mongodb-es-integration/112056 "2017-12-16T00:13:09Z")

</div>

I see a few methods to integrate mongodb with ES. Not sure which one to use for the latest versions. Kindly suggest which would be the most suitable method and also provide links to the documentation. Any help much appre…

---

## [Painless scripting - how to compare two different fields present in two different documents of an index](https://discuss.elastic.co/t/painless-scripting-how-to-compare-two-different-fields-present-in-two-different-documents-of-an-index/112026)

<div class="topic-metadata">

**Author:** [@saikrishnagaddipati](https://discuss.elastic.co/u/saikrishnagaddipati)\
**Replies:** 2\
**Last updated:** [December 15, 2017, 11:01pm UTC](https://discuss.elastic.co/t/painless-scripting-how-to-compare-two-different-fields-present-in-two-different-documents-of-an-index/112026 "2017-12-15T23:01:13Z")

</div>

Hi , I want to compare field 'start\_time' present in document 'A' and field 'end\_time' present document 'B' and get the result as new field in the document using painless scripting. I am using scripted fields in kibana …

---

## [Search module for native PHP](https://discuss.elastic.co/t/search-module-for-native-php/110804)

<div class="topic-metadata">

**Author:** [@Lado\_Kandelaki](https://discuss.elastic.co/u/Lado_Kandelaki)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 9:19pm UTC](https://discuss.elastic.co/t/search-module-for-native-php/110804 "2017-12-15T21:19:34Z")

</div>

Hello, Please let me know if I can use elasticsearch for the native PHP or is it only for Frameworks? Also, does it support the Georgian language? Thanks,

---

## [Error running rally on existing cluster](https://discuss.elastic.co/t/error-running-rally-on-existing-cluster/111379)

<div class="topic-metadata">

**Author:** [@Alp1](https://discuss.elastic.co/u/Alp1)\
**Replies:** 9\
**Last updated:** [December 15, 2017, 9:08pm UTC](https://discuss.elastic.co/t/error-running-rally-on-existing-cluster/111379 "2017-12-15T21:08:06Z")

</div>

Hi , I am following http://esrally.readthedocs.io/en/stable/recipes.html#benchmarking-an-existing-cluster docs and trying to run rally on existing elastic search and getting below error esrally --track=pmc --target-hos…

---

## [Score discrepancies under DFS](https://discuss.elastic.co/t/score-discrepancies-under-dfs/111845)

<div class="topic-metadata">

**Author:** [@fnareva](https://discuss.elastic.co/u/fnareva)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 7:48pm UTC](https://discuss.elastic.co/t/score-discrepancies-under-dfs/111845 "2017-12-15T19:48:08Z")

</div>

The issue we're having is that the same query returns different scoring results, even under the DFS search. Is that to be expected even in this case? A bit more background. The search itself is a bit broad at the momen…

---

## [Resolving Transitive dependency for branch 6.X](https://discuss.elastic.co/t/resolving-transitive-dependency-for-branch-6-x/112034)

<div class="topic-metadata">

**Author:** [@dineyw23](https://discuss.elastic.co/u/dineyw23)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 6:54pm UTC](https://discuss.elastic.co/t/resolving-transitive-dependency-for-branch-6-x/112034 "2017-12-15T18:54:08Z")

</div>

Hi, I'm trying to use elastic-search 6.X branch for my one of my play project which uses sbt. I did the following, I'm not sure how would these dependencies would be resolved? In the rest-high-level-client and core dir…

---

## [Sum of distinct values in field](https://discuss.elastic.co/t/sum-of-distinct-values-in-field/112028)

<div class="topic-metadata">

**Author:** [@scch](https://discuss.elastic.co/u/scch)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 5:43pm UTC](https://discuss.elastic.co/t/sum-of-distinct-values-in-field/112028 "2017-12-15T17:43:14Z")

</div>

Hi.. I am trying to sum values of 'Field 2' as per unique value stored in another 'Field 1' index \_color Field 1-------------------Field 2 Red-------------------------------2 Orange-------------------------5 Red---…

---

## [Problem indexing parent+child in 6.0.1](https://discuss.elastic.co/t/problem-indexing-parent-child-in-6-0-1/112027)

<div class="topic-metadata">

**Author:** [@scherbone](https://discuss.elastic.co/u/scherbone)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 5:39pm UTC](https://discuss.elastic.co/t/problem-indexing-parent-child-in-6-0-1/112027 "2017-12-15T17:39:44Z")

</div>

In Elasticsearch (ES) 5.6.4, I was able to index a new parent document along with multiple child documents within a bulk (new children related to new parent). I can no longer do this in 6.0.1. I get the error: can't sp…

---

## [Update dynamic document field from params in Painless](https://discuss.elastic.co/t/update-dynamic-document-field-from-params-in-painless/110753)

<div class="topic-metadata">

**Author:** [@jeremylyman](https://discuss.elastic.co/u/jeremylyman)\
**Replies:** 2\
**Last updated:** [December 15, 2017, 5:39pm UTC](https://discuss.elastic.co/t/update-dynamic-document-field-from-params-in-painless/110753 "2017-12-15T17:39:37Z")

</div>

I am trying to write a stored script that will iterate through the params and update the ctx.\_source fields from those parameters. I can't seem to figure out the correct way to do this without hardcoding the field names …

---

## ["Took" Field value in the Search Response](https://discuss.elastic.co/t/took-field-value-in-the-search-response/110722)

<div class="topic-metadata">

**Author:** [@Zhengcong\_Yin](https://discuss.elastic.co/u/Zhengcong_Yin)\
**Replies:** 2\
**Last updated:** [December 15, 2017, 4:43pm UTC](https://discuss.elastic.co/t/took-field-value-in-the-search-response/110722 "2017-12-15T16:43:49Z")

</div>

I read previous posts regarding what does "took" measure. Does it including the time to distribute the query and merger the result? I run some geo-point search benchmarks for a cluster(3master, 4 data nodes, 1 client, 4…

---

## [Index not found in ES](https://discuss.elastic.co/t/index-not-found-in-es/112005)

<div class="topic-metadata">

**Author:** [@bittujindani](https://discuss.elastic.co/u/bittujindani)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 3:45pm UTC](https://discuss.elastic.co/t/index-not-found-in-es/112005 "2017-12-15T15:45:53Z")

</div>

I have configured the ES,LS and Kibana for my redshift database. I could see that LS started and working fine but dont see index in the ES. What could be reason here ? index details : root@ip-10-0-1-113:~# curl 'localh…

---

## [Ansible-elasticsearch - ES 6 compatible?](https://discuss.elastic.co/t/ansible-elasticsearch-es-6-compatible/110540)

<div class="topic-metadata">

**Author:** [@KurtB](https://discuss.elastic.co/u/KurtB)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 3:37pm UTC](https://discuss.elastic.co/t/ansible-elasticsearch-es-6-compatible/110540 "2017-12-15T15:37:50Z")

</div>

Hi, I've been using the https://github.com/elastic/ansible-elasticsearch playbook to do deploys and it has been working well for ES-5x. Does anyone know if that project is going to support Elasticsearch 6.x ? I'd be d …

---

## [Streaming a large file](https://discuss.elastic.co/t/streaming-a-large-file/111957)

<div class="topic-metadata">

**Author:** [@ESCoder](https://discuss.elastic.co/u/ESCoder)\
**Replies:** 2\
**Last updated:** [December 15, 2017, 2:53pm UTC](https://discuss.elastic.co/t/streaming-a-large-file/111957 "2017-12-15T14:53:44Z")

</div>

hi, we are using ElasticSearch 5.6 and NEST, we are also using the ingest attachment plugin to do full-text content search of various documents like pdf, word etc. For large files, potentially above 100 MB in size, how …

---

## [Java client for ElasticSearch](https://discuss.elastic.co/t/java-client-for-elasticsearch/111994)

<div class="topic-metadata">

**Author:** [@addy](https://discuss.elastic.co/u/addy)\
**Replies:** 1\
**Last updated:** [December 15, 2017, 2:12pm UTC](https://discuss.elastic.co/t/java-client-for-elasticsearch/111994 "2017-12-15T14:12:35Z")

</div>

We are querying elasticsearch from our Java application thru Transport client. Recently we had to upgrade transport client from ver. 5.4.1 to ver. 6.0.0 since we updated ES on our nodes and had to make quite a few chang…

---

## [Need to support Serviceability for 200 million products](https://discuss.elastic.co/t/need-to-support-serviceability-for-200-million-products/111998)

<div class="topic-metadata">

**Author:** [@Prateek\_Rastogi](https://discuss.elastic.co/u/Prateek_Rastogi)\
**Replies:** 0\
**Last updated:** [December 15, 2017, 2:05pm UTC](https://discuss.elastic.co/t/need-to-support-serviceability-for-200-million-products/111998 "2017-12-15T14:05:00Z")

</div>

Problem Statement : I have around 200 million product belonging to different Category and Approx 50k pincodes . Now Every product can be serviceable in every pincode . How do I map this in ES Document Structure ?

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

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