# Elasticsearch

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

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

**Page:** 1963

---

## [Elasticsearch 5.3.3 throwing error on Centos while starting](https://discuss.elastic.co/t/elasticsearch-5-3-3-throwing-error-on-centos-while-starting/98979)

<div class="topic-metadata">

**Author:** [@patil-akshay](https://discuss.elastic.co/u/patil-akshay)\
**Replies:** 1\
**Last updated:** [September 1, 2017, 1:36am UTC](https://discuss.elastic.co/t/elasticsearch-5-3-3-throwing-error-on-centos-while-starting/98979 "2017-09-01T01:36:48Z")

</div>

I have two different elasticsearch running in same server one with port no=9200 when I am starting second with port number=9220 its throwing “Failed to find a usable hardware address from the network interfaces” this err…

---

## [Replacement for obsolete libraries when writing plugins?](https://discuss.elastic.co/t/replacement-for-obsolete-libraries-when-writing-plugins/99069)

<div class="topic-metadata">

**Author:** [@chaoism](https://discuss.elastic.co/u/chaoism)\
**Replies:** 0\
**Last updated:** [September 1, 2017, 12:08am UTC](https://discuss.elastic.co/t/replacement-for-obsolete-libraries-when-writing-plugins/99069 "2017-09-01T00:08:51Z")

</div>

I have an existing plugin for a custom analyzer, but it is built for ES 1.x Some of the libraries it imports are obsolete. I’m wondering if there are replacements for these libraies So far, I need to replace: org.ela…

---

## [Kubernetes for a production workload](https://discuss.elastic.co/t/kubernetes-for-a-production-workload/98753)

<div class="topic-metadata">

**Author:** [@Tiago\_Soares](https://discuss.elastic.co/u/Tiago_Soares)\
**Replies:** 3\
**Last updated:** [August 31, 2017, 11:28pm UTC](https://discuss.elastic.co/t/kubernetes-for-a-production-workload/98753 "2017-08-31T23:28:32Z")

</div>

Hey guys! We have a guideline, advice to use Elasticsearch on kubernetes for a production workload? Or isn’t recommended at all? Thank you!

---

## [Sending log payload to ES](https://discuss.elastic.co/t/sending-log-payload-to-es/98912)

<div class="topic-metadata">

**Author:** [@Souciance\_Eqdam\_Rash](https://discuss.elastic.co/u/Souciance_Eqdam_Rash)\
**Replies:** 3\
**Last updated:** [August 31, 2017, 11:19pm UTC](https://discuss.elastic.co/t/sending-log-payload-to-es/98912 "2017-08-31T23:19:47Z")

</div>

Hello, We have an application that generates logs which contain data payload. The data payload itself can be json, xml, some random CSV or any other format. Is it possible to send the logs with the included payload to …

---

## [Index size questions](https://discuss.elastic.co/t/index-size-questions/99045)

<div class="topic-metadata">

**Author:** [@hburnswell](https://discuss.elastic.co/u/hburnswell)\
**Replies:** 2\
**Last updated:** [August 31, 2017, 9:38pm UTC](https://discuss.elastic.co/t/index-size-questions/99045 "2017-08-31T21:38:35Z")

</div>

All, I am getting up to speed with the ELK stack in general and am curious about what I should expect for index sizing. I have a 3 node ES cluster and plan to use: 3 shards and 2 replicas for each index. My first test…

---

## [Nested mappings and searches - does the nesting have to be in one document](https://discuss.elastic.co/t/nested-mappings-and-searches-does-the-nesting-have-to-be-in-one-document/99055)

<div class="topic-metadata">

**Author:** [@cord\_thomas](https://discuss.elastic.co/u/cord_thomas)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 8:46pm UTC](https://discuss.elastic.co/t/nested-mappings-and-searches-does-the-nesting-have-to-be-in-one-document/99055 "2017-08-31T20:46:13Z")

</div>

I come from an RDBMS background; please forgive. I have the following two data structures, pubs and authors: pubs: { "\_id": "WP138", "title": "Practical Insights for School Leaders", ... "authors": \["/…

---

## [Fscrawler](https://discuss.elastic.co/t/fscrawler/99011)

<div class="topic-metadata">

**Author:** [@sureshboiina](https://discuss.elastic.co/u/sureshboiina)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 7:05pm UTC](https://discuss.elastic.co/t/fscrawler/99011 "2017-08-31T19:05:39Z")

</div>

HI Actually i want to index the pdf files for that i am using fscrawler in elasticsearch 5.2 but getting an error my \_setting.json file is { “name” : “job\_name”, “fs” : { “url” : “d:/pdf/”, “update\_rate” : “15m”, …

---

## [Painless scripting JSON functions](https://discuss.elastic.co/t/painless-scripting-json-functions/98511)

<div class="topic-metadata">

**Author:** [@HDB](https://discuss.elastic.co/u/HDB)\
**Replies:** 5\
**Last updated:** [August 31, 2017, 6:49pm UTC](https://discuss.elastic.co/t/painless-scripting-json-functions/98511 "2017-08-31T18:49:53Z")

</div>

In Painless scripting how can I do JSON.parse and JSON.stringify? I have kept JSON data in the single string field, but now I want to delete some of the fields. So I will be needing JSON functions.

---

## [When do we need to close and open the index in Elastic search](https://discuss.elastic.co/t/when-do-we-need-to-close-and-open-the-index-in-elastic-search/98898)

<div class="topic-metadata">

**Author:** [@Ramchandram](https://discuss.elastic.co/u/Ramchandram)\
**Replies:** 3\
**Last updated:** [August 31, 2017, 5:31pm UTC](https://discuss.elastic.co/t/when-do-we-need-to-close-and-open-the-index-in-elastic-search/98898 "2017-08-31T17:31:00Z")

</div>

Hi guys, I have applied analyzer to the index. After that do we need to close and open the index in Elastic search to see the old documents.

---

## [Elasticsearch for Apache Hadoop 6.0.0-beta2 released](https://discuss.elastic.co/t/elasticsearch-for-apache-hadoop-6-0-0-beta2-released/99028)

<div class="topic-metadata">

**Author:** [@james.baiera](https://discuss.elastic.co/u/james.baiera)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 4:25pm UTC](https://discuss.elastic.co/t/elasticsearch-for-apache-hadoop-6-0-0-beta2-released/99028 "2017-08-31T16:25:23Z")

</div>

ES-Hadoop 6.0.0-beta2 has been released. Please note this is a beta release. You can read more about these releases in this blog post.

---

## [Change analyzer of specific property](https://discuss.elastic.co/t/change-analyzer-of-specific-property/99012)

<div class="topic-metadata">

**Author:** [@adinu](https://discuss.elastic.co/u/adinu)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 2:48pm UTC](https://discuss.elastic.co/t/change-analyzer-of-specific-property/99012 "2017-08-31T14:48:25Z")

</div>

HI guys, I am new to elasticSearch and i am trying to do something. after i insert data and index it, can i somehow change the analyzer of specific property? for example this is the response of: GET company-node/\_map…

---

## [Regexp not matching special chars](https://discuss.elastic.co/t/regexp-not-matching-special-chars/98187)

<div class="topic-metadata">

**Author:** [@dbrezoev](https://discuss.elastic.co/u/dbrezoev)\
**Replies:** 3\
**Last updated:** [August 31, 2017, 2:40pm UTC](https://discuss.elastic.co/t/regexp-not-matching-special-chars/98187 "2017-08-31T14:40:23Z")

</div>

First, I am new to Elasticsearch. I am trying to use regex search feature. It is working ok, except for the special chars. Ok I already have read on several places “If you are using the default analyzer, that’s expected…

---

## [Scan and Scroll in Elastic Search 2.4](https://discuss.elastic.co/t/scan-and-scroll-in-elastic-search-2-4/99017)

<div class="topic-metadata">

**Author:** [@sss](https://discuss.elastic.co/u/sss)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 2:28pm UTC](https://discuss.elastic.co/t/scan-and-scroll-in-elastic-search-2-4/99017 "2017-08-31T14:28:10Z")

</div>

We are using Elastic Search 2.4. we use the java client to invoke scan and scroll api to scan through large num of docs…However, i dont see a performance boost as much as it is expected of scan and scroll api…I just wa…

---

## [MapperParsingException Error](https://discuss.elastic.co/t/mapperparsingexception-error/99014)

<div class="topic-metadata">

**Author:** [@vishnudivakar31](https://discuss.elastic.co/u/vishnudivakar31)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 1:45pm UTC](https://discuss.elastic.co/t/mapperparsingexception-error/99014 "2017-08-31T13:45:13Z")

</div>

I used POSTMAN to put mapping for index and i worked fine. Same mapping I used in Java API and is throwing MapperParsingException Error. Below is the code I am trying. try{ CreateIndexResponse request=esClient.admin(…

---

## [Cluster taking lot of time while Indexing and Updation](https://discuss.elastic.co/t/cluster-taking-lot-of-time-while-indexing-and-updation/98989)

<div class="topic-metadata">

**Author:** [@bharatbhushan](https://discuss.elastic.co/u/bharatbhushan)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 11:29am UTC](https://discuss.elastic.co/t/cluster-taking-lot-of-time-while-indexing-and-updation/98989 "2017-08-31T11:29:28Z")

</div>

Hi All, When i tried to indexing document or update document into ES, It takes lot of time. But search performance is good. Its takes around 30 seconds to put/update document. I am using only bulk update and bulk ind…

---

## [Template issue](https://discuss.elastic.co/t/template-issue/98992)

<div class="topic-metadata">

**Author:** [@tgdesrochers](https://discuss.elastic.co/u/tgdesrochers)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 11:36am UTC](https://discuss.elastic.co/t/template-issue/98992 "2017-08-31T11:36:58Z")

</div>

I am having some issues with my elastic template. When I added the IP fields I receive errors. If I remove them it works fine. Can someone shed light on what I am doing wrong. I took the default template for logstash…

---

## [How to setup multi cluster elasticsearch?](https://discuss.elastic.co/t/how-to-setup-multi-cluster-elasticsearch/98926)

<div class="topic-metadata">

**Author:** [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Replies:** 6\
**Last updated:** [August 31, 2017, 10:19am UTC](https://discuss.elastic.co/t/how-to-setup-multi-cluster-elasticsearch/98926 "2017-08-31T10:19:21Z")

</div>

Is there a guide or tutorial for this? And what is the difference of having a multi-cluster vs multi-nodes? TIA :smiley:

---

## [Highlight in template query elastic](https://discuss.elastic.co/t/highlight-in-template-query-elastic/98982)

<div class="topic-metadata">

**Author:** [@Narmatha](https://discuss.elastic.co/u/Narmatha)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 9:59am UTC](https://discuss.elastic.co/t/highlight-in-template-query-elastic/98982 "2017-08-31T09:59:22Z")

</div>

In the below query i am trying to use the highlight option in the template query but its not working ? PUT /\_search/template/my\_template { “template”: { “bool”: { “should”: \[{ “wildcard”: { “articleText.textConten…

---

## [Replicate Data](https://discuss.elastic.co/t/replicate-data/98849)

<div class="topic-metadata">

**Author:** [@Ayman\_ANIKAD](https://discuss.elastic.co/u/Ayman_ANIKAD)\
**Replies:** 5\
**Last updated:** [August 31, 2017, 9:42am UTC](https://discuss.elastic.co/t/replicate-data/98849 "2017-08-31T09:42:59Z")

</div>

Hello , A folder (index) have been deleted from a node : /data3/data/es/esdartyprd/nodes/0/indices/enc\_idx/2/index ) I can see that data are missed for primary shard in this node (node1) =\> for this index , here what …

---

## [Elasticsearch returns wrong result on Date range](https://discuss.elastic.co/t/elasticsearch-returns-wrong-result-on-date-range/98977)

<div class="topic-metadata">

**Author:** [@Saurab\_Dahal](https://discuss.elastic.co/u/Saurab_Dahal)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 9:29am UTC](https://discuss.elastic.co/t/elasticsearch-returns-wrong-result-on-date-range/98977 "2017-08-31T09:29:50Z")

</div>

My purpose is to get all result between \`bill\_date \>= 2017-07-30 and bill\_date \<= 2017-08-30". But it gives me weired result. My query is simple { "size": 0, "query": { "bool": { "must": \[ { …

---

## [Failure while trying to create a snapshot](https://discuss.elastic.co/t/failure-while-trying-to-create-a-snapshot/98829)

<div class="topic-metadata">

**Author:** [@Kennethtruyers](https://discuss.elastic.co/u/Kennethtruyers)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 8:33am UTC](https://discuss.elastic.co/t/failure-while-trying-to-create-a-snapshot/98829 "2017-08-31T08:33:03Z")

</div>

Whenever I try to create a snapshot of a certain set of indices, I get the error ElasticsearchParseException\[missing or invalid written\_by \[null\]\] I’m trying to create a snapshot using the Azure plugin. On some index-se…

---

## [CPU for one of the nodes is high frequently](https://discuss.elastic.co/t/cpu-for-one-of-the-nodes-is-high-frequently/98931)

<div class="topic-metadata">

**Author:** [@Mahesh\_Sharma](https://discuss.elastic.co/u/Mahesh_Sharma)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 8:25am UTC](https://discuss.elastic.co/t/cpu-for-one-of-the-nodes-is-high-frequently/98931 "2017-08-31T08:25:01Z")

</div>

Hey, I have an elastic cluster running with 8 data nodes 2 client nodes and 3 master nodes. I frequently observe that CPU of one of the nodes(slightly random though) increases above 70% and keeps it to that level unles…

---

## [Attibute mapping not working with 2 POCO classes es 5.5](https://discuss.elastic.co/t/attibute-mapping-not-working-with-2-poco-classes-es-5-5/98961)

<div class="topic-metadata">

**Author:** [@Ravi\_Randev\_Singh](https://discuss.elastic.co/u/Ravi_Randev_Singh)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 8:01am UTC](https://discuss.elastic.co/t/attibute-mapping-not-working-with-2-poco-classes-es-5-5/98961 "2017-08-31T08:01:42Z")

</div>

Hi Everyone, I have a case where index has 2 type and i am using nest to create index with the help of attribute mapping. The attribute mapping works fine when i used it with 1 poco class as soon as i add another poco …

---

## [Data showing wrong when searched](https://discuss.elastic.co/t/data-showing-wrong-when-searched/98934)

<div class="topic-metadata">

**Author:** [@vaibhav2903](https://discuss.elastic.co/u/vaibhav2903)\
**Replies:** 8\
**Last updated:** [August 31, 2017, 7:43am UTC](https://discuss.elastic.co/t/data-showing-wrong-when-searched/98934 "2017-08-31T07:43:38Z")

</div>

Hi! i have a dataset of more than 10 lac rows. I have integrated elasticsearch with Mysql using logstash. When i type the following URL to fetch in postman, http://localhost:9200/persondetails/Document/\_search?q=\* i g…

---

## [In the process of query using date sorting, why so time-consuming?](https://discuss.elastic.co/t/in-the-process-of-query-using-date-sorting-why-so-time-consuming/98951)

<div class="topic-metadata">

**Author:** [@qin](https://discuss.elastic.co/u/qin)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 7:09am UTC](https://discuss.elastic.co/t/in-the-process-of-query-using-date-sorting-why-so-time-consuming/98951 "2017-08-31T07:09:38Z")

</div>

elasticsearch version: 5.0 Use date sort: GET /logstash-spider-user-\*/525983/\_search { "from":0, "size":10, "query": { "bool": { "must": \[ { "match": { "level": "INFO" …

---

## [java.lang.ClassNotFoundException: org.elasticsearch.node.NodeValidationException from \[Module "deployment.\*\*\*" from Service Module Loader\]](https://discuss.elastic.co/t/java-lang-classnotfoundexception-org-elasticsearch-node-nodevalidationexception-from-module-deployment-from-service-module-loader/98950)

<div class="topic-metadata">

**Author:** [@KK\_bh](https://discuss.elastic.co/u/KK_bh)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 7:01am UTC](https://discuss.elastic.co/t/java-lang-classnotfoundexception-org-elasticsearch-node-nodevalidationexception-from-module-deployment-from-service-module-loader/98950 "2017-08-31T07:01:52Z")

</div>

We are upgrading to ES 5.1.1. While deploying the application I see below error - stratas | 06:48:48,180 ERROR \[org.jboss.msc.service.fail\] (MSC service thread 1-3) MSC000001: Failed to start service…

---

## [ES Search query results returns nothing with a search criteria value as 'AN'](https://discuss.elastic.co/t/es-search-query-results-returns-nothing-with-a-search-criteria-value-as-an/97934)

<div class="topic-metadata">

**Author:** [@drkkumar](https://discuss.elastic.co/u/drkkumar)\
**Replies:** 3\
**Last updated:** [August 31, 2017, 6:42am UTC](https://discuss.elastic.co/t/es-search-query-results-returns-nothing-with-a-search-criteria-value-as-an/97934 "2017-08-31T06:42:51Z")

</div>

Hi, I tried to retrieve data which has ‘AN’ value. The query returns an empty results even though the document is available in ES. If I give any other value other than ‘AN’ then the query returns results as expected. I…

---

## [IllegalArgumentException\[no account found for name: \[null\]\]](https://discuss.elastic.co/t/illegalargumentexception-no-account-found-for-name-null/98659)

<div class="topic-metadata">

**Author:** [@gautamv](https://discuss.elastic.co/u/gautamv)\
**Replies:** 7\
**Last updated:** [August 31, 2017, 6:25am UTC](https://discuss.elastic.co/t/illegalargumentexception-no-account-found-for-name-null/98659 "2017-08-31T06:25:11Z")

</div>

Hi, I configured watcher to get alerts for a particular error message. Here is my watcher code: { "trigger": { "schedule": { "interval": "1m" } }, "input": { "search": { "request": { …

---

## [Document size and compression algorithm for document](https://discuss.elastic.co/t/document-size-and-compression-algorithm-for-document/98925)

<div class="topic-metadata">

**Author:** [@Cong\_Wang](https://discuss.elastic.co/u/Cong_Wang)\
**Replies:** 5\
**Last updated:** [August 31, 2017, 5:56am UTC](https://discuss.elastic.co/t/document-size-and-compression-algorithm-for-document/98925 "2017-08-31T05:56:07Z")

</div>

Hello, I would like to find out the estimate size of each document in my index. I use “GET /\_nodes/stats” to list the “merges” section which has the following 2 numbers I am interested in. “total\_docs”: 3277526192, “t…

---

## [ElasticSearch Search functionality with filesystem cache](https://discuss.elastic.co/t/elasticsearch-search-functionality-with-filesystem-cache/96775)

<div class="topic-metadata">

**Author:** [@san88922](https://discuss.elastic.co/u/san88922)\
**Replies:** 2\
**Last updated:** [August 31, 2017, 5:38am UTC](https://discuss.elastic.co/t/elasticsearch-search-functionality-with-filesystem-cache/96775 "2017-08-31T05:38:03Z")

</div>

Hi Everyone, I am curious about the search capability of ES, suppose i am indexing bulk data and according to documentation data will be flushed for every 5 minutes(translog\_Flush\_config), and file system cache and tran…

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

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