# Elasticsearch

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

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

**Page:** 1896

---

## [Csv parse taking too long using python API](https://discuss.elastic.co/t/csv-parse-taking-too-long-using-python-api/106907)

<div class="topic-metadata">

**Author:** [@henriqueluz](https://discuss.elastic.co/u/henriqueluz)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 5:19pm UTC](https://discuss.elastic.co/t/csv-parse-taking-too-long-using-python-api/106907 "2017-11-08T17:19:22Z")

</div>

Hello! That's my first post here in elastic discussion area, sorry if any mistake were made. I'm kinda new using ELK Stack, I'm trying to parse a .CSV file to ElasticSearch using the Python API. The thing is, it's takin…

---

## [Cluster name not specified in java client and it is failing to communicate with cluster, no node available exceptio](https://discuss.elastic.co/t/cluster-name-not-specified-in-java-client-and-it-is-failing-to-communicate-with-cluster-no-node-available-exceptio/106868)

<div class="topic-metadata">

**Author:** [@basanagouda](https://discuss.elastic.co/u/basanagouda)\
**Replies:** 9\
**Last updated:** [November 8, 2017, 4:58pm UTC](https://discuss.elastic.co/t/cluster-name-not-specified-in-java-client-and-it-is-failing-to-communicate-with-cluster-no-node-available-exceptio/106868 "2017-11-08T16:58:58Z")

</div>

Hi, I am not setting any cluster name in elasticsearch java client. it use to work with ES1.x. In 5.x yml file i am specifying path.data=/../data/{clustername} \[path.data: /home/vagrant/elasticsearch-5.5.1/data/qa-elas…

---

## [Decay and exact match\_phrase](https://discuss.elastic.co/t/decay-and-exact-match-phrase/106717)

<div class="topic-metadata">

**Author:** [@MarkTierney](https://discuss.elastic.co/u/MarkTierney)\
**Replies:** 3\
**Last updated:** [November 8, 2017, 4:35pm UTC](https://discuss.elastic.co/t/decay-and-exact-match-phrase/106717 "2017-11-08T16:35:46Z")

</div>

Hi Folks, I have a query that uses a linear decay that operates on year. It applies the decay for each year from the origin, 2017 plus and offset of 4. For older documents decay is probably whittling the score down near…

---

## [Red status elastic](https://discuss.elastic.co/t/red-status-elastic/106687)

<div class="topic-metadata">

**Author:** [@elk2](https://discuss.elastic.co/u/elk2)\
**Replies:** 9\
**Last updated:** [November 8, 2017, 4:27pm UTC](https://discuss.elastic.co/t/red-status-elastic/106687 "2017-11-08T16:27:10Z")

</div>

From 1 week I have a problem with elasticsearch. Cluster status is red and I don't know how to return to green state curl -XGET 'localhost:9200/\_cluster/health?pretty' "cluster\_name" : "clusterelastic, "status" : "red…

---

## [Tuning the ES performance](https://discuss.elastic.co/t/tuning-the-es-performance/105832)

<div class="topic-metadata">

**Author:** [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Replies:** 35\
**Last updated:** [November 8, 2017, 4:16pm UTC](https://discuss.elastic.co/t/tuning-the-es-performance/105832 "2017-11-08T16:16:07Z")

</div>

I am using ES to ingest flow data from other application, but I found that the speed isn't high enough, so sometimes it would drop flow. How can I change the setting of ES performance ? I have seen the elasticsearch.y…

---

## [Getting documents having minimum value for a given field](https://discuss.elastic.co/t/getting-documents-having-minimum-value-for-a-given-field/106808)

<div class="topic-metadata">

**Author:** [@jaisharma](https://discuss.elastic.co/u/jaisharma)\
**Replies:** 2\
**Last updated:** [November 8, 2017, 4:01pm UTC](https://discuss.elastic.co/t/getting-documents-having-minimum-value-for-a-given-field/106808 "2017-11-08T16:01:14Z")

</div>

My document structure is as below: {'\_id': 1, '\_type': '2017-01-01',...} --- (1) {'\_id': 1, '\_type': '2017-01-02',...} --- (2) {'\_id': 2, '\_type': '2017-01-01',...} --- (3) {'\_id': 2, '\_type': '2017-01-02',...} ---…

---

## [Granting SecurityPermissions to extension](https://discuss.elastic.co/t/granting-securitypermissions-to-extension/104914)

<div class="topic-metadata">

**Author:** [@menostos](https://discuss.elastic.co/u/menostos)\
**Replies:** 2\
**Last updated:** [November 8, 2017, 3:42pm UTC](https://discuss.elastic.co/t/granting-securitypermissions-to-extension/104914 "2017-11-08T15:42:06Z")

</div>

Hi I try to develop an x-pack extension which, as it seems, requires SecurityPermission to insertProvider.BC. So i put this in my x-pack-extension-security.policy: grant { permission java.security.SecurityPermission…

---

## [Unable to increase size of cluster 8a81b6](https://discuss.elastic.co/t/unable-to-increase-size-of-cluster-8a81b6/106895)

<div class="topic-metadata">

**Author:** [@scott.saniuk](https://discuss.elastic.co/u/scott.saniuk)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 3:29pm UTC](https://discuss.elastic.co/t/unable-to-increase-size-of-cluster-8a81b6/106895 "2017-11-08T15:29:33Z")

</div>

Cluster 8a81b6 is hitting memory pressure, I am trying to increase the cluster size but it will not take the new size of 2GB memory. There is no error message, the progress bar moves over to the right but does not apply. …

---

## [Return parents document with or without children JOIN](https://discuss.elastic.co/t/return-parents-document-with-or-without-children-join/106888)

<div class="topic-metadata">

**Author:** [@margonar](https://discuss.elastic.co/u/margonar)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 3:09pm UTC](https://discuss.elastic.co/t/return-parents-document-with-or-without-children-join/106888 "2017-11-08T15:09:28Z")

</div>

Hi, i have a problem that is similar to Return parents with or without children and Is it possible to return parent document with optional child? (but were closed without a solution) I have an index with a doc type wit…

---

## [Automatically removing index](https://discuss.elastic.co/t/automatically-removing-index/106866)

<div class="topic-metadata">

**Author:** [@gavenkoa](https://discuss.elastic.co/u/gavenkoa)\
**Replies:** 2\
**Last updated:** [November 8, 2017, 3:06pm UTC](https://discuss.elastic.co/t/automatically-removing-index/106866 "2017-11-08T15:06:46Z")

</div>

Docs says you need to remove unused (yeah, old) indexes: https://www.elastic.co/guide/en/elasticsearch/guide/current/retiring-data.html There is https://www.elastic.co/guide/en/elasticsearch/client/curator/current/insta…

---

## [Unique token filter with string array](https://discuss.elastic.co/t/unique-token-filter-with-string-array/106887)

<div class="topic-metadata">

**Author:** [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 3:00pm UTC](https://discuss.elastic.co/t/unique-token-filter-with-string-array/106887 "2017-11-08T15:00:19Z")

</div>

I am curious to know why "unique" / "shingle" token filter do not work if the field is an array of string? { "text" : \["git", "git-merge", "git checkout"\], "filter" : \["unique"\], "tokenizer" : "standard" } Show dupl…

---

## [Cluster Name in Java Client ends up in No Node Available Exception](https://discuss.elastic.co/t/cluster-name-in-java-client-ends-up-in-no-node-available-exception/106871)

<div class="topic-metadata">

**Author:** [@mahesh.maney](https://discuss.elastic.co/u/mahesh.maney)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 2:49pm UTC](https://discuss.elastic.co/t/cluster-name-in-java-client-ends-up-in-no-node-available-exception/106871 "2017-11-08T14:49:41Z")

</div>

We have a java client(1.3) that talks to elasticsearch(1.3) in our application. try { ((TransportClient) this.client).addTransportAddress( new InetSocketTransportAddress(InetAddress.getByName("local"), 9300)); } cat…

---

## [Using normalizer for sorting](https://discuss.elastic.co/t/using-normalizer-for-sorting/106704)

<div class="topic-metadata">

**Author:** [@ArturKLB](https://discuss.elastic.co/u/ArturKLB)\
**Replies:** 4\
**Last updated:** [November 8, 2017, 2:16pm UTC](https://discuss.elastic.co/t/using-normalizer-for-sorting/106704 "2017-11-08T14:16:20Z")

</div>

Hi. I used custom normalizer with some char\_filter and lowercase filter. And when I perfom search with sorting I see that it is actually works! But I don't see any changes in terms via \_termvectors query by my normalized…

---

## [URL - fuzzy error](https://discuss.elastic.co/t/url-fuzzy-error/106873)

<div class="topic-metadata">

**Author:** [@Danilo\_Li](https://discuss.elastic.co/u/Danilo_Li)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 1:38pm UTC](https://discuss.elastic.co/t/url-fuzzy-error/106873 "2017-11-08T13:38:04Z")

</div>

Hi, I used the Kibana to get my results using fuzzy with success: \[sucess\] I tried to get the results in my browser, but a error is happened. What is wrong: URL: http://localhost:9200/pontos/rio/\_search?q={"query":{"…

---

## [Indexing in Elasticsearch stops after particular number](https://discuss.elastic.co/t/indexing-in-elasticsearch-stops-after-particular-number/106059)

<div class="topic-metadata">

**Author:** [@malhotras](https://discuss.elastic.co/u/malhotras)\
**Replies:** 10\
**Last updated:** [November 8, 2017, 1:29pm UTC](https://discuss.elastic.co/t/indexing-in-elasticsearch-stops-after-particular-number/106059 "2017-11-08T13:29:12Z")

</div>

I am trying to index SQL data from the database using logstash. I am able to index the data properly. But, after certain number of documents (6191) , Elasticsearch does not have any documets indexed. Logstash keeps on r…

---

## [Create html links for searches in kibana](https://discuss.elastic.co/t/create-html-links-for-searches-in-kibana/106857)

<div class="topic-metadata">

**Author:** [@raja\_gopal](https://discuss.elastic.co/u/raja_gopal)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 11:46am UTC](https://discuss.elastic.co/t/create-html-links-for-searches-in-kibana/106857 "2017-11-08T11:46:31Z")

</div>

Is there any way where i can give input for a field in one of the index, a html link. This link will be the link to the search in kibana. ?

---

## [ES 5.4 parsing exception](https://discuss.elastic.co/t/es-5-4-parsing-exception/106716)

<div class="topic-metadata">

**Author:** [@Misha\_Pobereshy](https://discuss.elastic.co/u/Misha_Pobereshy)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 11:29am UTC](https://discuss.elastic.co/t/es-5-4-parsing-exception/106716 "2017-11-08T11:29:43Z")

</div>

Hi everyone . It would be helpful if someone can help me with this "index": "default", "type": "user", "from": 0, "size": 10, "body": { "sort": \[ { "lastPost.created": { "order": "desc" } }, { "firstName": "…

---

## [How fetch unlimited data from elasticsearch](https://discuss.elastic.co/t/how-fetch-unlimited-data-from-elasticsearch/106854)

<div class="topic-metadata">

**Author:** [@ajit](https://discuss.elastic.co/u/ajit)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 11:23am UTC](https://discuss.elastic.co/t/how-fetch-unlimited-data-from-elasticsearch/106854 "2017-11-08T11:23:14Z")

</div>

By default I am getting only 10 records from elasticsearch. I want to remove default value 10 and make it unlimited fetch. Please provide suggestion.

---

## [Separation of read and write indices](https://discuss.elastic.co/t/separation-of-read-and-write-indices/106806)

<div class="topic-metadata">

**Author:** [@junkainiu](https://discuss.elastic.co/u/junkainiu)\
**Replies:** 11\
**Last updated:** [November 8, 2017, 11:06am UTC](https://discuss.elastic.co/t/separation-of-read-and-write-indices/106806 "2017-11-08T11:06:57Z")

</div>

Hi All, We are using elasticsearch 5.3.0 with a big machine(128RAM, 40cores) and index about 500GB documents every day. We are thinking about improving the search and index performance by separation of read and write in…

---

## [Testing rest clients in Java](https://discuss.elastic.co/t/testing-rest-clients-in-java/106836)

<div class="topic-metadata">

**Author:** [@gringogordo](https://discuss.elastic.co/u/gringogordo)\
**Replies:** 3\
**Last updated:** [November 8, 2017, 10:55am UTC](https://discuss.elastic.co/t/testing-rest-clients-in-java/106836 "2017-11-08T10:55:28Z")

</div>

I would like to add some basic tests into my Java app. I'm using es 5.6 with low & high level rest client. Essentially, at this early stage I would just like to create an index, add some documents & validate them. Hav…

---

## [Cascalog Hadoop version support](https://discuss.elastic.co/t/cascalog-hadoop-version-support/106850)

<div class="topic-metadata">

**Author:** [@kosmik5](https://discuss.elastic.co/u/kosmik5)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 10:41am UTC](https://discuss.elastic.co/t/cascalog-hadoop-version-support/106850 "2017-11-08T10:41:14Z")

</div>

Hi, I notice that the Cascalog getting started guide specifies a version of Hadoop :profiles { :dev {:dependencies \[\[org.apache.hadoop/hadoop-core "1.0.3"\]\]}} If my group uses a different version of Hadoop then am I o…

---

## [Any support for updateDocValues?](https://discuss.elastic.co/t/any-support-for-updatedocvalues/106752)

<div class="topic-metadata">

**Author:** [@danielcoconnor](https://discuss.elastic.co/u/danielcoconnor)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 10:30am UTC](https://discuss.elastic.co/t/any-support-for-updatedocvalues/106752 "2017-11-08T10:30:36Z")

</div>

I've been hunting through the latest documentation and I cannot find any reference to the use of: updateDocValues() -- https://lucene.apache.org/core/6\_0\_1/core/org/apache/lucene/index/IndexWriter.html#updateDocValues-o…

---

## [NEST API Setting default similarity to "classic" not BM25 programatically . how?](https://discuss.elastic.co/t/nest-api-setting-default-similarity-to-classic-not-bm25-programatically-how/106522)

<div class="topic-metadata">

**Author:** [@kenneth\_Canet](https://discuss.elastic.co/u/kenneth_Canet)\
**Replies:** 3\
**Last updated:** [November 8, 2017, 10:21am UTC](https://discuss.elastic.co/t/nest-api-setting-default-similarity-to-classic-not-bm25-programatically-how/106522 "2017-11-08T10:21:55Z")

</div>

Hello, I was able to do this using query dsl. post my\_index/\_close put my\_index/\_settings { "settings": { "index": { "similarity": { "default": { "type": "classic" } } …

---

## [Calculating what's needed for LSOF?](https://discuss.elastic.co/t/calculating-whats-needed-for-lsof/106780)

<div class="topic-metadata">

**Author:** [@Aldo\_Sarmiento1](https://discuss.elastic.co/u/Aldo_Sarmiento1)\
**Replies:** 2\
**Last updated:** [November 8, 2017, 10:20am UTC](https://discuss.elastic.co/t/calculating-whats-needed-for-lsof/106780 "2017-11-08T10:20:55Z")

</div>

I'm reading the documentation about elasticsearch setup and it says that the recommended file descriptors count should be 64k, but it doesn't say a lot about how this number is chosen. Is it based on total index size, do…

---

## [Max length for \_id type](https://discuss.elastic.co/t/max-length-for-id-type/106825)

<div class="topic-metadata">

**Author:** [@abkrim](https://discuss.elastic.co/u/abkrim)\
**Replies:** 2\
**Last updated:** [November 8, 2017, 9:51am UTC](https://discuss.elastic.co/t/max-length-for-id-type/106825 "2017-11-08T09:51:11Z")

</div>

There're a limit for \_id type? I think that in the past I read some limitation for \_id and I put a limit for my docs with 20 digits, but I like use usually format for UUID in my ORM

---

## [REST API questions](https://discuss.elastic.co/t/rest-api-questions/106826)

<div class="topic-metadata">

**Author:** [@marcinn](https://discuss.elastic.co/u/marcinn)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 9:19am UTC](https://discuss.elastic.co/t/rest-api-questions/106826 "2017-11-08T09:19:30Z")

</div>

Hi. I'm really confused with ES "REST" API. It does not look like a REST API because of lack of HATEOAS. Moreover, every client has implemented hard contract with server (per ES version). JSON messages have no semantics…

---

## [Painless script fields: How to get date.start date.end for a http\_status=!200](https://discuss.elastic.co/t/painless-script-fields-how-to-get-date-start-date-end-for-a-http-status-200/106664)

<div class="topic-metadata">

**Author:** [@OucemaBellagha](https://discuss.elastic.co/u/OucemaBellagha)\
**Replies:** 9\
**Last updated:** [November 8, 2017, 8:47am UTC](https://discuss.elastic.co/t/painless-script-fields-how-to-get-date-start-date-end-for-a-http-status-200/106664 "2017-11-08T08:47:03Z")

</div>

I want to create a new field that counts the downtime of my website, so if http\_status is different then 200; I need a total variable containing the difference between \[@timestamp\]date.start and \[@timestamp\]date.end. S…

---

## [What's mean of order in terms of ES tempalte?](https://discuss.elastic.co/t/whats-mean-of-order-in-terms-of-es-tempalte/106791)

<div class="topic-metadata">

**Author:** [@493607120](https://discuss.elastic.co/u/493607120)\
**Replies:** 2\
**Last updated:** [November 8, 2017, 7:24am UTC](https://discuss.elastic.co/t/whats-mean-of-order-in-terms-of-es-tempalte/106791 "2017-11-08T07:24:15Z")

</div>

Hi , I want to know what's the difference in terms of order:0 or order:x(x could be 1,2,3,4) in ES template. Thanks

---

## [Not able to create the TransportClient of the PreBuiltXPackTransportClient](https://discuss.elastic.co/t/not-able-to-create-the-transportclient-of-the-prebuiltxpacktransportclient/106643)

<div class="topic-metadata">

**Author:** [@Mukesh\_Soni](https://discuss.elastic.co/u/Mukesh_Soni)\
**Replies:** 7\
**Last updated:** [November 7, 2017, 4:19pm UTC](https://discuss.elastic.co/t/not-able-to-create-the-transportclient-of-the-prebuiltxpacktransportclient/106643 "2017-11-07T16:19:14Z")

</div>

I am trying to create the Transport client of the PreBuiltXPackTransportClient but getting the below exception: \[err\] NoNodeAvailableException\[None of the configured nodes are available: \[{#transport#-1}{C5U0OGnqQ0uL4m-…

---

## [Heap size increase | Faraday timeout error](https://discuss.elastic.co/t/heap-size-increase-faraday-timeout-error/106790)

<div class="topic-metadata">

**Author:** [@apakshabhat](https://discuss.elastic.co/u/apakshabhat)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 6:15am UTC](https://discuss.elastic.co/t/heap-size-increase-faraday-timeout-error/106790 "2017-11-08T06:15:48Z")

</div>

hello All We are doing data duplication on large volume and am transferring data from mongo to elastic with some unique parameters and using counter to mange the entries.For Every attempt when I reach 10k-12k record tr…

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

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