# Elasticsearch

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

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

**Page:** 1909

---

## [Python for Custom Ranking Plugin](https://discuss.elastic.co/t/python-for-custom-ranking-plugin/105343)

<div class="topic-metadata">

**Author:** [@Saiteja\_Veera](https://discuss.elastic.co/u/Saiteja_Veera)\
**Replies:** 0\
**Last updated:** [October 26, 2017, 5:53am UTC](https://discuss.elastic.co/t/python-for-custom-ranking-plugin/105343 "2017-10-26T05:53:49Z")

</div>

We have implemented our custom ranking plugin in Java extending AbstractSearchScript. But our primary technology stack is Python and I'm evaluating if there is a way to build a custom ranking plugin in Python. Is this p…

---

## [Danish special chars (Æ, Ø, Å) are seen as æ==a/ae, ø == o, å == a](https://discuss.elastic.co/t/danish-special-chars-ae-o-a-are-seen-as-ae-a-ae-o-o-a-a/105219)

<div class="topic-metadata">

**Author:** [@smhoeks](https://discuss.elastic.co/u/smhoeks)\
**Replies:** 5\
**Last updated:** [October 27, 2017, 11:47am UTC](https://discuss.elastic.co/t/danish-special-chars-ae-o-a-are-seen-as-ae-a-ae-o-o-a-a/105219 "2017-10-27T11:47:15Z")

</div>

Hi All :slight\_smile: I'm facing a problem with my elastic search for Magento 2 (Wyomind) In general, it seems the danish special characters Æ, Ø and Å are translated to: Æ: A /Ae Ø: O Å: A This causes the search n…

---

## [Pointing FSCrawler to a separate server for documents](https://discuss.elastic.co/t/pointing-fscrawler-to-a-separate-server-for-documents/105411)

<div class="topic-metadata">

**Author:** [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Replies:** 10\
**Last updated:** [October 27, 2017, 11:10am UTC](https://discuss.elastic.co/t/pointing-fscrawler-to-a-separate-server-for-documents/105411 "2017-10-27T11:10:40Z")

</div>

HI All, I have FSCrawler working on a DEV box where the documents are located on the same server as FSCrawler and ElasticSearch. in the \_settings.json file I just set the url to be my document location in the form "D:\\M…

---

## [Fscrawler keeps defaulting to my user directory](https://discuss.elastic.co/t/fscrawler-keeps-defaulting-to-my-user-directory/105535)

<div class="topic-metadata">

**Author:** [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Replies:** 2\
**Last updated:** [October 27, 2017, 10:12am UTC](https://discuss.elastic.co/t/fscrawler-keeps-defaulting-to-my-user-directory/105535 "2017-10-27T10:12:18Z")

</div>

I have installed FSCrawler in a subfolder within Program FIles. When I run .\\fscrawler using powershell for the first tme it created my jobs folder within Users\\myuser\\.fscrawler directory. I moved the jobs folder back w…

---

## [ES v. 5.6.3 in AWS ECS - not enough master nodes discovered during pinging](https://discuss.elastic.co/t/es-v-5-6-3-in-aws-ecs-not-enough-master-nodes-discovered-during-pinging/105490)

<div class="topic-metadata">

**Author:** [@oleg1](https://discuss.elastic.co/u/oleg1)\
**Replies:** 1\
**Last updated:** [October 27, 2017, 9:07am UTC](https://discuss.elastic.co/t/es-v-5-6-3-in-aws-ecs-not-enough-master-nodes-discovered-during-pinging/105490 "2017-10-27T09:07:34Z")

</div>

Hi, I'm trying to setup a ES v5.6.3 cluster in AWS ECS, and having an issue w/ EC2 discovery. 4 nodes in total, us-east-1 region, 2 in us-east-1a & 2 in us-east-1b Here is my config: cluster: name: ${CLUSTER\_NAME}…

---

## [Is there a best way to provide the document source in the High Level Rest Client?](https://discuss.elastic.co/t/is-there-a-best-way-to-provide-the-document-source-in-the-high-level-rest-client/104529)

<div class="topic-metadata">

**Author:** [@gringogordo](https://discuss.elastic.co/u/gringogordo)\
**Replies:** 1\
**Last updated:** [October 27, 2017, 8:00am UTC](https://discuss.elastic.co/t/is-there-a-best-way-to-provide-the-document-source-in-the-high-level-rest-client/104529 "2017-10-27T08:00:00Z")

</div>

Just looking at the documentation for the High level Rest Client. Probably a trivial question (as I assume all 3 methods are doing largely the same thing), but the document offers 3 different ways to build documents to …

---

## [Why isn't my ELASTIC\_PASSWORD environment variable in docker-compose.yml setting?](https://discuss.elastic.co/t/why-isnt-my-elastic-password-environment-variable-in-docker-compose-yml-setting/105299)

<div class="topic-metadata">

**Author:** [@Jack\_Murphy](https://discuss.elastic.co/u/Jack_Murphy)\
**Replies:** 1\
**Last updated:** [October 27, 2017, 7:05am UTC](https://discuss.elastic.co/t/why-isnt-my-elastic-password-environment-variable-in-docker-compose-yml-setting/105299 "2017-10-27T07:05:04Z")

</div>

Hello, I'm currently testing out elastic-search on docker. I'm trying to change the default password for the elastic user. I have the following entry in my docker-compose file: po-esearch: container\_name: "po-es…

---

## [Does Term suggester not work as expected if the min\_word\_length is 1?](https://discuss.elastic.co/t/does-term-suggester-not-work-as-expected-if-the-min-word-length-is-1/105511)

<div class="topic-metadata">

**Author:** [@vamsyr](https://discuss.elastic.co/u/vamsyr)\
**Replies:** 0\
**Last updated:** [October 27, 2017, 5:29am UTC](https://discuss.elastic.co/t/does-term-suggester-not-work-as-expected-if-the-min-word-length-is-1/105511 "2017-10-27T05:29:25Z")

</div>

I am using Elasticsearch 5.5.2. I have the below mapping and the documents Mapping -- PUT /testindex/ { "mappings": { "testtype": { "properties": { "city": { "type": "text" } } } } } Documents -- First one…

---

## [How about elasticsearch as a pure database for an app in educational domain with many many and huge articles?](https://discuss.elastic.co/t/how-about-elasticsearch-as-a-pure-database-for-an-app-in-educational-domain-with-many-many-and-huge-articles/103542)

<div class="topic-metadata">

**Author:** [@vamsyr](https://discuss.elastic.co/u/vamsyr)\
**Replies:** 3\
**Last updated:** [October 27, 2017, 5:16am UTC](https://discuss.elastic.co/t/how-about-elasticsearch-as-a-pure-database-for-an-app-in-educational-domain-with-many-many-and-huge-articles/103542 "2017-10-27T05:16:16Z")

</div>

Hi, I am still a beginner in elasticsearch. Currently, I am developing an app in the educational domain. The app is going to have hundreds of articles and each article can be up to 1 MB of textual data. I am planning…

---

## [Update elastic to 5.6.3 can't start](https://discuss.elastic.co/t/update-elastic-to-5-6-3-cant-start/104641)

<div class="topic-metadata">

**Author:** [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Replies:** 2\
**Last updated:** [October 27, 2017, 1:09am UTC](https://discuss.elastic.co/t/update-elastic-to-5-6-3-cant-start/104641 "2017-10-27T01:09:12Z")

</div>

Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 \[2017-10-20T11:40:56,033\]\[WARN \]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[node-1\] uncaught exception in thread \[main\] org.elastics…

---

## [Making a simple query](https://discuss.elastic.co/t/making-a-simple-query/105471)

<div class="topic-metadata">

**Author:** [@jakobdo](https://discuss.elastic.co/u/jakobdo)\
**Replies:** 1\
**Last updated:** [October 26, 2017, 8:55pm UTC](https://discuss.elastic.co/t/making-a-simple-query/105471 "2017-10-26T20:55:42Z")

</div>

Hello, i am new into this Elasticsearch, but i try to learn how to extract data from the danish virk.dk. They have this mapping: http://distribution.virk.dk/cvr-permanent/\_mapping I have a login, which works just fine…

---

## [NoClassDefFound Upgrading Jest & Elastic](https://discuss.elastic.co/t/noclassdeffound-upgrading-jest-elastic/104107)

<div class="topic-metadata">

**Author:** [@bjd14](https://discuss.elastic.co/u/bjd14)\
**Replies:** 3\
**Last updated:** [October 24, 2017, 2:04pm UTC](https://discuss.elastic.co/t/noclassdeffound-upgrading-jest-elastic/104107 "2017-10-24T14:04:44Z")

</div>

As the title says I am upgrading Jest and Elasticsearch. Jest from 2.4.0 to 5.3.2 and Elasticsearch from 2.3.3 to 5.4.2. When I build my specific jar file from Gradle then try to do some testing, it is throwing the NoCla…

---

## [Installing xpack = yellow cluster health](https://discuss.elastic.co/t/installing-xpack-yellow-cluster-health/104629)

<div class="topic-metadata">

**Author:** [@shines2](https://discuss.elastic.co/u/shines2)\
**Replies:** 13\
**Last updated:** [October 26, 2017, 8:18pm UTC](https://discuss.elastic.co/t/installing-xpack-yellow-cluster-health/104629 "2017-10-26T20:18:21Z")

</div>

After installing xpack and changing the default passwords of the three default users, my cluster now shows as yellow when I query it's health: { "cluster\_name" : "graylog", "status" : "yellow", "timed\_out" : false…

---

## [NEST suddenly starting to create incorrect requests](https://discuss.elastic.co/t/nest-suddenly-starting-to-create-incorrect-requests/105272)

<div class="topic-metadata">

**Author:** [@hmanner](https://discuss.elastic.co/u/hmanner)\
**Replies:** 3\
**Last updated:** [October 26, 2017, 8:16pm UTC](https://discuss.elastic.co/t/nest-suddenly-starting-to-create-incorrect-requests/105272 "2017-10-26T20:16:15Z")

</div>

We have a .NET application using NEST version 2.3.1 against Elasticsearch 2.2.0. The application is a backend server application running on multiple hosts under IIS, all performing the same queries against an Elasticsear…

---

## [Problems with the tutorial](https://discuss.elastic.co/t/problems-with-the-tutorial/105455)

<div class="topic-metadata">

**Author:** [@sqoai](https://discuss.elastic.co/u/sqoai)\
**Replies:** 1\
**Last updated:** [October 26, 2017, 7:35pm UTC](https://discuss.elastic.co/t/problems-with-the-tutorial/105455 "2017-10-26T19:35:39Z")

</div>

Hi, I was recommend to use Elastik as a search engine but after i run the installer for java and the installer for Elastik i couldn't get any further. I follow strickly the documentation and got stuck will trying to ac…

---

## [Specify i.e shard\_count, clients etc outside track.json](https://discuss.elastic.co/t/specify-i-e-shard-count-clients-etc-outside-track-json/105396)

<div class="topic-metadata">

**Author:** [@JohanRask](https://discuss.elastic.co/u/JohanRask)\
**Replies:** 2\
**Last updated:** [October 26, 2017, 6:10pm UTC](https://discuss.elastic.co/t/specify-i-e-shard-count-clients-etc-outside-track-json/105396 "2017-10-26T18:10:06Z")

</div>

Hi, First, thanks for an awesome product, it is really helping us alot!! I am using the rally-eventdata-track repository and I can see that there are a lot of things specified in track.json that I would like to specify…

---

## [NoSQL Injection via the Java Client](https://discuss.elastic.co/t/nosql-injection-via-the-java-client/105463)

<div class="topic-metadata">

**Author:** [@Greg\_Cox](https://discuss.elastic.co/u/Greg_Cox)\
**Replies:** 0\
**Last updated:** [October 26, 2017, 5:58pm UTC](https://discuss.elastic.co/t/nosql-injection-via-the-java-client/105463 "2017-10-26T17:58:18Z")

</div>

Hi there, I've implemented a basic search backed by an ES cluster. In a code review, my colleague asked if there was the possibility of a NoSQL injection attack. I assume that the QueryBuilder protected against inject…

---

## [Aggregation count problem](https://discuss.elastic.co/t/aggregation-count-problem/104976)

<div class="topic-metadata">

**Author:** [@mohammed\_cherif](https://discuss.elastic.co/u/mohammed_cherif)\
**Replies:** 4\
**Last updated:** [October 26, 2017, 5:56pm UTC](https://discuss.elastic.co/t/aggregation-count-problem/104976 "2017-10-26T17:56:32Z")

</div>

Hello, I want to display an indicator on kibana, but I can not do it. I explain the situation. I want to display "the total number of products whose thresholds exceeded the maximum of consumers' cuttof". we have a pro…

---

## [Convert Elasticsearch Query to .net NEST](https://discuss.elastic.co/t/convert-elasticsearch-query-to-net-nest/105450)

<div class="topic-metadata">

**Author:** [@timragon](https://discuss.elastic.co/u/timragon)\
**Replies:** 1\
**Last updated:** [October 26, 2017, 5:56pm UTC](https://discuss.elastic.co/t/convert-elasticsearch-query-to-net-nest/105450 "2017-10-26T17:56:19Z")

</div>

How do I write this elasticsearch match query to C# .net NEST. GET /disney2/character/\_search { "query": { "match": { "name.phonetic": { "query": "Jahnnie Smeeth", "operator": "and" } } } }

---

## [User not found in cache for realm](https://discuss.elastic.co/t/user-not-found-in-cache-for-realm/105428)

<div class="topic-metadata">

**Author:** [@Speedman](https://discuss.elastic.co/u/Speedman)\
**Replies:** 2\
**Last updated:** [October 26, 2017, 4:56pm UTC](https://discuss.elastic.co/t/user-not-found-in-cache-for-realm/105428 "2017-10-26T16:56:15Z")

</div>

I am trying to figure out why a native user is getting a 401 from a remote server. I have configured Filebeat to authenticate via native (the only realm I have set up), and I've created the user with a custom role (as sh…

---

## [Rest API (Authenticate, Change Password)](https://discuss.elastic.co/t/rest-api-authenticate-change-password/105424)

<div class="topic-metadata">

**Author:** [@thecitizen](https://discuss.elastic.co/u/thecitizen)\
**Replies:** 1\
**Last updated:** [October 26, 2017, 4:14pm UTC](https://discuss.elastic.co/t/rest-api-authenticate-change-password/105424 "2017-10-26T16:14:26Z")

</div>

Hi, I have created new user in Kibana (superuser) and I would like to test from remote machine authentication and change password using Rest API client (Postman , Rest API via Chrome). I am trying to understand: If …

---

## [X-pack not working on new ELK stack](https://discuss.elastic.co/t/x-pack-not-working-on-new-elk-stack/105093)

<div class="topic-metadata">

**Author:** [@carlfriedrichgauss](https://discuss.elastic.co/u/carlfriedrichgauss)\
**Replies:** 12\
**Last updated:** [October 26, 2017, 4:06pm UTC](https://discuss.elastic.co/t/x-pack-not-working-on-new-elk-stack/105093 "2017-10-26T16:06:49Z")

</div>

ES and Kibana on 5.6.3 ... Everything in the cluster seems to be working fine, except in the browser I get the error: Login is currently disabled because the license could not be determined. Please check that Elasticsea…

---

## [Updating nested documents en masse](https://discuss.elastic.co/t/updating-nested-documents-en-masse/105382)

<div class="topic-metadata">

**Author:** [@i-like-robots](https://discuss.elastic.co/u/i-like-robots)\
**Replies:** 0\
**Last updated:** [October 26, 2017, 9:23am UTC](https://discuss.elastic.co/t/updating-nested-documents-en-masse/105382 "2017-10-26T09:23:38Z")

</div>

Hello! We've been using Elasticsearch to deliver the 700,000 or so pieces of content to the readers of our site for a couple of years but some circumstances have changed and we need to work out whether or not the servic…

---

## [Buckler plugin for elastic search 2.3.5](https://discuss.elastic.co/t/buckler-plugin-for-elastic-search-2-3-5/105262)

<div class="topic-metadata">

**Author:** [@chrisg](https://discuss.elastic.co/u/chrisg)\
**Replies:** 2\
**Last updated:** [October 26, 2017, 3:00pm UTC](https://discuss.elastic.co/t/buckler-plugin-for-elastic-search-2-3-5/105262 "2017-10-26T15:00:03Z")

</div>

Hello - I'm am trying to install the buckler plugin into elasticsearch 2.3.5 (have to use this version of ES due to Bitbucket requirement) The instructions from Atlassian don't seem to work. $ ./plugin install -b https…

---

## [Bulk documents into Elasticsearch with pyspark](https://discuss.elastic.co/t/bulk-documents-into-elasticsearch-with-pyspark/105443)

<div class="topic-metadata">

**Author:** [@xavi23](https://discuss.elastic.co/u/xavi23)\
**Replies:** 0\
**Last updated:** [October 26, 2017, 2:56pm UTC](https://discuss.elastic.co/t/bulk-documents-into-elasticsearch-with-pyspark/105443 "2017-10-26T14:56:10Z")

</div>

Hello, I want to load a big document that contain many jsons into an existing index in elasticsearch with pyspark. I have a dataframe and I try to load many jsons with this command: dataframe.write.format("org.elastic…

---

## [Managing IDs in the new join field in place of Parent-Child](https://discuss.elastic.co/t/managing-ids-in-the-new-join-field-in-place-of-parent-child/104230)

<div class="topic-metadata">

**Author:** [@varunnatraaj](https://discuss.elastic.co/u/varunnatraaj)\
**Replies:** 0\
**Last updated:** [October 17, 2017, 10:54am UTC](https://discuss.elastic.co/t/managing-ids-in-the-new-join-field-in-place-of-parent-child/104230 "2017-10-17T10:54:15Z")

</div>

Hello, With ES 5.6 and ES 6.x, the \_parent mapping feature and \_type have been deprecated and soon to be removed. Earlier, we could write parent documents separately, and child documents separately and not have conflict…

---

## [Specific Alarm Values : bulding an array of JSON elements in the condition scripts](https://discuss.elastic.co/t/specific-alarm-values-bulding-an-array-of-json-elements-in-the-condition-scripts/105395)

<div class="topic-metadata">

**Author:** [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)\
**Replies:** 7\
**Last updated:** [October 26, 2017, 1:38pm UTC](https://discuss.elastic.co/t/specific-alarm-values-bulding-an-array-of-json-elements-in-the-condition-scripts/105395 "2017-10-26T13:38:40Z")

</div>

Hi all, I have a watch with a script condition that loops over the results and if exists one value greater than my threshold the condition return value is set to true. So far, so good. But...because in my action I want…

---

## [ES as a simple keyword search engine](https://discuss.elastic.co/t/es-as-a-simple-keyword-search-engine/103919)

<div class="topic-metadata">

**Author:** [@shin1](https://discuss.elastic.co/u/shin1)\
**Replies:** 5\
**Last updated:** [October 26, 2017, 1:05pm UTC](https://discuss.elastic.co/t/es-as-a-simple-keyword-search-engine/103919 "2017-10-26T13:05:06Z")

</div>

Hi All, A quick question. Can I just query keywords (eg. "AI" "Intelligence") and get result list? It looks like ES kindly returns results based on matching score by default. I want to use ES just as keywords search …

---

## [Elastic storage path](https://discuss.elastic.co/t/elastic-storage-path/105412)

<div class="topic-metadata">

**Author:** [@Shekhar\_Pandey](https://discuss.elastic.co/u/Shekhar_Pandey)\
**Replies:** 3\
**Last updated:** [October 26, 2017, 12:21pm UTC](https://discuss.elastic.co/t/elastic-storage-path/105412 "2017-10-26T12:21:14Z")

</div>

Hi..I want to change elastic default index documents data to another drive....can u suggest me exact path

---

## [400 failed to parse \[pattern\]](https://discuss.elastic.co/t/400-failed-to-parse-pattern/105373)

<div class="topic-metadata">

**Author:** [@madonzy](https://discuss.elastic.co/u/madonzy)\
**Replies:** 1\
**Last updated:** [October 26, 2017, 11:35am UTC](https://discuss.elastic.co/t/400-failed-to-parse-pattern/105373 "2017-10-26T11:35:49Z")

</div>

When I'm trying to migrate by npm data, I'm getting this debug info and error on the end: Elasticsearch INFO: 2017-10-26T08:23:21Z Adding connection to http://localhost:9200/ up : 1507147503759-change-size-color.js…

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

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