# Elasticsearch

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

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

**Page:** 1978

---

## [License Issue - Put Request returns null\_pointer\_exception](https://discuss.elastic.co/t/license-issue-put-request-returns-null-pointer-exception/96776)

<div class="topic-metadata">

**Author:** [@slarsendisney](https://discuss.elastic.co/u/slarsendisney)\
**Replies:** 6\
**Last updated:** [August 17, 2017, 10:14am UTC](https://discuss.elastic.co/t/license-issue-put-request-returns-null-pointer-exception/96776 "2017-08-17T10:14:47Z")

</div>

Whenever I try and place my License JSON I receive the following error: { "error": { "root\_cause": \[ { "type": "null\_pointer\_exception", "reason": null } \], "type": "null\_pointer\_exception", "reason": null }, …

---

## [Highlight only search letters in wildcard search](https://discuss.elastic.co/t/highlight-only-search-letters-in-wildcard-search/97353)

<div class="topic-metadata">

**Author:** [@Narmatha](https://discuss.elastic.co/u/Narmatha)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 9:22am UTC](https://discuss.elastic.co/t/highlight-only-search-letters-in-wildcard-search/97353 "2017-08-17T09:22:35Z")

</div>

How to highlight only the search term alone in wildcard search. Ex: text : \*us\* . Response : Focus, uses, plus. Highlight only us in the above response. Is this possible in elasticsearch 2.4 ?

---

## [Forming a generic sentences from significant terms](https://discuss.elastic.co/t/forming-a-generic-sentences-from-significant-terms/97342)

<div class="topic-metadata">

**Author:** [@Asura](https://discuss.elastic.co/u/Asura)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 8:33am UTC](https://discuss.elastic.co/t/forming-a-generic-sentences-from-significant-terms/97342 "2017-08-17T08:33:21Z")

</div>

Hello, I am using ElasticSearch 2.1.1.I am curious to find out if there is a way to form generic sentences from the user text. For example,suppose there are two sentences “My system isn’t able to host elasticsearch” an…

---

## [Elasticsearch-can't start service (error status=64 /n/a)](https://discuss.elastic.co/t/elasticsearch-cant-start-service-error-status-64-n-a/97362)

<div class="topic-metadata">

**Author:** [@shaycohen1197](https://discuss.elastic.co/u/shaycohen1197)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 8:20am UTC](https://discuss.elastic.co/t/elasticsearch-cant-start-service-error-status-64-n-a/97362 "2017-08-17T08:20:36Z")

</div>

Hi, I install Elasticsearch+kibana when I log into the website of kibana I sow this message unable to connect to Elasticsearch at http://localhost:9200. I wonted to sow the status of Elasticsearch and her is the mess…

---

## [Upgrading from ES 1.x to 2.x](https://discuss.elastic.co/t/upgrading-from-es-1-x-to-2-x/97147)

<div class="topic-metadata">

**Author:** [@wvitte](https://discuss.elastic.co/u/wvitte)\
**Replies:** 3\
**Last updated:** [August 17, 2017, 7:07am UTC](https://discuss.elastic.co/t/upgrading-from-es-1-x-to-2-x/97147 "2017-08-17T07:07:33Z")

</div>

I am trying to upgrade from 1.x to 2.x and found out a plugin “Elasticsearch Migration Plugin v1.19” and wanted to use it. I did not find much information about installing this plugin (i do not see the plugin utility on …

---

## [X-pack exception | failed to load plugin](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104)

<div class="topic-metadata">

**Author:** [@groot](https://discuss.elastic.co/u/groot)\
**Replies:** 5\
**Last updated:** [August 17, 2017, 7:06am UTC](https://discuss.elastic.co/t/x-pack-exception-failed-to-load-plugin/97104 "2017-08-17T07:06:22Z")

</div>

Hi , I have installed a new elasticsearch from scratch and configured and running . after the configuration I have installed the x-pack when it finished I’ve tried to run it but I got this exception : \[2017-08-15T16:1…

---

## [Sending files through index?](https://discuss.elastic.co/t/sending-files-through-index/97336)

<div class="topic-metadata">

**Author:** [@DharaniKumar](https://discuss.elastic.co/u/DharaniKumar)\
**Replies:** 3\
**Last updated:** [August 17, 2017, 6:39am UTC](https://discuss.elastic.co/t/sending-files-through-index/97336 "2017-08-17T06:39:42Z")

</div>

Hi, Is there anyother way to send log files or other files to elasticsearch without using filebeat?

---

## [The so called learning search algorithm](https://discuss.elastic.co/t/the-so-called-learning-search-algorithm/97329)

<div class="topic-metadata">

**Author:** [@tamirdoron](https://discuss.elastic.co/u/tamirdoron)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 6:16am UTC](https://discuss.elastic.co/t/the-so-called-learning-search-algorithm/97329 "2017-08-17T06:16:02Z")

</div>

Hi there, I represent a trade company which has a product catalog of around 150,000 products. I’m a big fan of elastic search but the marketing people are fans of SLI Systems. The SLI Systems people have this promise of…

---

## [How to add queries into percolator using elasticsearch-php](https://discuss.elastic.co/t/how-to-add-queries-into-percolator-using-elasticsearch-php/95881)

<div class="topic-metadata">

**Author:** [@Amit\_Shah](https://discuss.elastic.co/u/Amit_Shah)\
**Replies:** 2\
**Last updated:** [August 17, 2017, 5:50am UTC](https://discuss.elastic.co/t/how-to-add-queries-into-percolator-using-elasticsearch-php/95881 "2017-08-17T05:50:29Z")

</div>

I am new to using elasticsearch-php. I was looking to work with percolator. I was able to map through - it was straight forward. But now i was stuck when was looking to find a way to add queries in percolator. I failed…

---

## [Highlight\_query: nested query with wildcard search](https://discuss.elastic.co/t/highlight-query-nested-query-with-wildcard-search/96610)

<div class="topic-metadata">

**Author:** [@Alexander\_Ott](https://discuss.elastic.co/u/Alexander_Ott)\
**Replies:** 2\
**Last updated:** [August 17, 2017, 5:48am UTC](https://discuss.elastic.co/t/highlight-query-nested-query-with-wildcard-search/96610 "2017-08-17T05:48:33Z")

</div>

Hello, for our highlighting currently we have a field “snippet” which contains all contenttext of all nested documents under du.content.content4b.contenttext We want to remove the snippet field and use a nested query …

---

## [Upsert from Spark - 504 after 1.5 hours](https://discuss.elastic.co/t/upsert-from-spark-504-after-1-5-hours/97171)

<div class="topic-metadata">

**Author:** [@dragick](https://discuss.elastic.co/u/dragick)\
**Replies:** 2\
**Last updated:** [August 17, 2017, 2:10am UTC](https://discuss.elastic.co/t/upsert-from-spark-504-after-1-5-hours/97171 "2017-08-17T02:10:14Z")

</div>

e have an index of 250M documents and are trying to update 55M of them from Spark to ElasticSearch. The initial write of 250M on it’s own runs without issue. Unfortunately the 55M updates are getting a few timeouts afte…

---

## [Reindex to remote server](https://discuss.elastic.co/t/reindex-to-remote-server/97243)

<div class="topic-metadata">

**Author:** [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Replies:** 6\
**Last updated:** [August 17, 2017, 1:54am UTC](https://discuss.elastic.co/t/reindex-to-remote-server/97243 "2017-08-17T01:54:04Z")

</div>

Is there any chance to reindex to remote server? The destination will be the remote. supposedly like this… POST 192.168.200.250:9200/\_reindex { "source": { "index": "es\_xfer", "query": { …

---

## [Matching integers in an array](https://discuss.elastic.co/t/matching-integers-in-an-array/96534)

<div class="topic-metadata">

**Author:** [@umairmarif](https://discuss.elastic.co/u/umairmarif)\
**Replies:** 4\
**Last updated:** [August 16, 2017, 7:18pm UTC](https://discuss.elastic.co/t/matching-integers-in-an-array/96534 "2017-08-16T19:18:25Z")

</div>

My project is mainly focused on comparing the results of past queries with the current query. Each query returns a list (array) of IDs (alphanumeric values). The number of IDs depends upon the type of the query. Since t…

---

## [Authorizing users from third party application in Elasticsearch via custom realm](https://discuss.elastic.co/t/authorizing-users-from-third-party-application-in-elasticsearch-via-custom-realm/97229)

<div class="topic-metadata">

**Author:** [@sumit\_monga](https://discuss.elastic.co/u/sumit_monga)\
**Replies:** 1\
**Last updated:** [August 16, 2017, 6:57pm UTC](https://discuss.elastic.co/t/authorizing-users-from-third-party-application-in-elasticsearch-via-custom-realm/97229 "2017-08-16T18:57:22Z")

</div>

I have a usecase where we are using spring-security-oauth as the authentication and authorization mechanism. This same application need to be used for same authentication and authorization in Elasticsearch. To achieve th…

---

## [Index Replication worth it on Virtual machines?](https://discuss.elastic.co/t/index-replication-worth-it-on-virtual-machines/97306)

<div class="topic-metadata">

**Author:** [@kevinp](https://discuss.elastic.co/u/kevinp)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 6:30pm UTC](https://discuss.elastic.co/t/index-replication-worth-it-on-virtual-machines/97306 "2017-08-16T18:30:48Z")

</div>

Hello, I’m trying to determine if index replication is worth it when running ELk stack with Elasticserch 10 node cluster on Virtual machines. Virtual machines are protected by VMware HA and Data is protected by the Sto…

---

## [How to see all queries](https://discuss.elastic.co/t/how-to-see-all-queries/97300)

<div class="topic-metadata">

**Author:** [@Fellipe\_Henrique](https://discuss.elastic.co/u/Fellipe_Henrique)\
**Replies:** 1\
**Last updated:** [August 16, 2017, 6:07pm UTC](https://discuss.elastic.co/t/how-to-see-all-queries/97300 "2017-08-16T18:07:12Z")

</div>

What’s the simplest way to see all queries on my ES, for debug purpose . Regards

---

## [Transform to human readable values](https://discuss.elastic.co/t/transform-to-human-readable-values/97289)

<div class="topic-metadata">

**Author:** [@devans](https://discuss.elastic.co/u/devans)\
**Replies:** 2\
**Last updated:** [August 16, 2017, 3:49pm UTC](https://discuss.elastic.co/t/transform-to-human-readable-values/97289 "2017-08-16T15:49:41Z")

</div>

Is there a way in a transform to convert bytes to human readable format? I know I can do a painless script to perform math on a byte value, but can I format to show MB or GB depending on size of the value?

---

## [Prefix query with analyzer](https://discuss.elastic.co/t/prefix-query-with-analyzer/96852)

<div class="topic-metadata">

**Author:** [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Replies:** 3\
**Last updated:** [August 16, 2017, 2:36pm UTC](https://discuss.elastic.co/t/prefix-query-with-analyzer/96852 "2017-08-16T14:36:37Z")

</div>

I want to do a prefix term query against an analyzed field, and use a search analyzer (to lowercase/asciifolding). Here some docs: “Pétanque” “concours de pétanque” Query “petan” should give me only “Pétanque”. Any …

---

## [IllegalArgumentException: None of the ciphers are supported by this JVM](https://discuss.elastic.co/t/illegalargumentexception-none-of-the-ciphers-are-supported-by-this-jvm/97267)

<div class="topic-metadata">

**Author:** [@anastass](https://discuss.elastic.co/u/anastass)\
**Replies:** 2\
**Last updated:** [August 16, 2017, 1:59pm UTC](https://discuss.elastic.co/t/illegalargumentexception-none-of-the-ciphers-are-supported-by-this-jvm/97267 "2017-08-16T13:59:36Z")

</div>

Dear Elastic Team, I have installed X-Pack 5.5.1 on SUSE Linux Enterprise Server 12 SP2 using the following commands: cd /tmp/elastic-depot wget https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.5.1.zip /u…

---

## [Creation of SSL Certs Assistance](https://discuss.elastic.co/t/creation-of-ssl-certs-assistance/96565)

<div class="topic-metadata">

**Author:** [@sancroth](https://discuss.elastic.co/u/sancroth)\
**Replies:** 4\
**Last updated:** [August 16, 2017, 1:58pm UTC](https://discuss.elastic.co/t/creation-of-ssl-certs-assistance/96565 "2017-08-16T13:58:45Z")

</div>

We have created a test setup to use elastic in production next month. Our current setup related to Elastic is a single node with 16gigs. Personally i do not have knowledge of creating certs etc so if i say something wr…

---

## [Get the exact match value](https://discuss.elastic.co/t/get-the-exact-match-value/97238)

<div class="topic-metadata">

**Author:** [@Jyoti\_Shukla](https://discuss.elastic.co/u/Jyoti_Shukla)\
**Replies:** 5\
**Last updated:** [August 16, 2017, 1:43pm UTC](https://discuss.elastic.co/t/get-the-exact-match-value/97238 "2017-08-16T13:43:36Z")

</div>

Hi,I wanted to know how to get the exact matched documents as I am getting approximate value matching ,like I have written query: { “query”: { “nested”: { “path”: “Trips”, “query”: { “bool”: { “must”: \[ { “term”…

---

## [Restore with new mappings?](https://discuss.elastic.co/t/restore-with-new-mappings/97107)

<div class="topic-metadata">

**Author:** [@JeremyinNC](https://discuss.elastic.co/u/JeremyinNC)\
**Replies:** 2\
**Last updated:** [August 16, 2017, 1:24pm UTC](https://discuss.elastic.co/t/restore-with-new-mappings/97107 "2017-08-16T13:24:09Z")

</div>

I have a cluster with ~2 TB of data with a lot of very small documents. I need to migrate from 1.x to 2.x. The problem I am having is that when I do the restore from snapshot it uses the original mappings for the data i…

---

## [Bool query x Script filter](https://discuss.elastic.co/t/bool-query-x-script-filter/97198)

<div class="topic-metadata">

**Author:** [@Paulo\_Silva](https://discuss.elastic.co/u/Paulo_Silva)\
**Replies:** 1\
**Last updated:** [August 16, 2017, 1:19pm UTC](https://discuss.elastic.co/t/bool-query-x-script-filter/97198 "2017-08-16T13:19:20Z")

</div>

Hi all, I’ve come across with this situation here in my project. By running the following query: GET /unittesttg1\_tg1\_fq1/\_search { "size": 0, "aggs": { "groupby": { "date\_histogram": { "field": "…

---

## [ES query to find out the docs belonging to same document](https://discuss.elastic.co/t/es-query-to-find-out-the-docs-belonging-to-same-document/97263)

<div class="topic-metadata">

**Author:** [@Jyoti\_Shukla](https://discuss.elastic.co/u/Jyoti_Shukla)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 1:12pm UTC](https://discuss.elastic.co/t/es-query-to-find-out-the-docs-belonging-to-same-document/97263 "2017-08-16T13:12:59Z")

</div>

Hi, It would be helpful for me if any one responds to may question atleast. Here’s is the layman language for that-Select two geocodes such that geocodes belong to the same TripID and GroupID… here is the structure of…

---

## [Using more like this query with documents containing nested objects](https://discuss.elastic.co/t/using-more-like-this-query-with-documents-containing-nested-objects/97259)

<div class="topic-metadata">

**Author:** [@saravanan\_n](https://discuss.elastic.co/u/saravanan_n)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 1:06pm UTC](https://discuss.elastic.co/t/using-more-like-this-query-with-documents-containing-nested-objects/97259 "2017-08-16T13:06:27Z")

</div>

We have two types A and B. In type A there are some nested properties, which has some text similar to the text in documents of type B. When we do the following query, the returned results are empty, even though there ar…

---

## [Unexpected token \['groovy'\] was expecting one of \[{\<EOF\>, ';'}\]](https://discuss.elastic.co/t/unexpected-token-groovy-was-expecting-one-of-eof/97256)

<div class="topic-metadata">

**Author:** [@JAYALAKSHMI](https://discuss.elastic.co/u/JAYALAKSHMI)\
**Replies:** 1\
**Last updated:** [August 16, 2017, 1:02pm UTC](https://discuss.elastic.co/t/unexpected-token-groovy-was-expecting-one-of-eof/97256 "2017-08-16T13:02:36Z")

</div>

We were using the below groovy script in 1.7.3 and now we are upgrading to 5.5.0 and the below groovy script is throwing “unexpected token \[‘groovy’\] was expecting one of \[{, ‘;’}\].” message. Can you please help us in re…

---

## [Hit result change using same query?](https://discuss.elastic.co/t/hit-result-change-using-same-query/96597)

<div class="topic-metadata">

**Author:** [@lufeng1102](https://discuss.elastic.co/u/lufeng1102)\
**Replies:** 2\
**Last updated:** [August 16, 2017, 12:54pm UTC](https://discuss.elastic.co/t/hit-result-change-using-same-query/96597 "2017-08-16T12:54:37Z")

</div>

Hi I meet an issue that get different results when query the indexing using same query sentence. The query sentence like this ES and Kibana version is 5.4.1 and the index schema like this part the first query re…

---

## [Is there any limit on no. of indexes? or any performance issues doing it?](https://discuss.elastic.co/t/is-there-any-limit-on-no-of-indexes-or-any-performance-issues-doing-it/96300)

<div class="topic-metadata">

**Author:** [@HDB](https://discuss.elastic.co/u/HDB)\
**Replies:** 5\
**Last updated:** [August 16, 2017, 12:37pm UTC](https://discuss.elastic.co/t/is-there-any-limit-on-no-of-indexes-or-any-performance-issues-doing-it/96300 "2017-08-16T12:37:23Z")

</div>

Hi Team, I am planning to move my application on ElasticSearch where I will be creating multiple indexes and indexes might also contain N no. of documents with different size. Is there any issues in creating large no. …

---

## [Types design question (parent child, effciency)](https://discuss.elastic.co/t/types-design-question-parent-child-effciency/97254)

<div class="topic-metadata">

**Author:** [@aholbreich](https://discuss.elastic.co/u/aholbreich)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 12:31pm UTC](https://discuss.elastic.co/t/types-design-question-parent-child-effciency/97254 "2017-08-16T12:31:24Z")

</div>

Hi people, i need to design index of elements that has kind of parent child structure… Here an example { “name”: “bla”, “id”: “11234”, “subelements\_count”: “3”, “subelement”: \[ {“id”: “221”, “name”: “Sub1”, “resu…

---

## [Unable to Change/update field value](https://discuss.elastic.co/t/unable-to-change-update-field-value/97237)

<div class="topic-metadata">

**Author:** [@manya12](https://discuss.elastic.co/u/manya12)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 10:51am UTC](https://discuss.elastic.co/t/unable-to-change-update-field-value/97237 "2017-08-16T10:51:19Z")

</div>

Hi Team, I want to update my field value i.e. content of my field message. Value of my field “message” is - {“l”:3000,“m”:"{“message”:{“data”:\[{“id”:“9N-CANADA”,“startingPrice”:{“amount”:5658,“currencyCode”:“USD”,“taxA…

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

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