# Elasticsearch

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

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

**Page:** 1734

---

## [Not analyzed number field](https://discuss.elastic.co/t/not-analyzed-number-field/126413)

<div class="topic-metadata">

**Author:** [@die\_seltsame](https://discuss.elastic.co/u/die_seltsame)\
**Replies:** 0\
**Last updated:** [April 2, 2018, 10:04am UTC](https://discuss.elastic.co/t/not-analyzed-number-field/126413 "2018-04-02T10:04:19Z")

</div>

How to specify index option with attribute mapping for fields type Number? For example, I have this attribute for field by using elastic 1.7: \[ElasticProperty(Name = "totalPaymentAmount", Type = FieldType.Double, Inde…

---

## [How to execute multiple search query in node.js using elastic search and promises?](https://discuss.elastic.co/t/how-to-execute-multiple-search-query-in-node-js-using-elastic-search-and-promises/126411)

<div class="topic-metadata">

**Author:** [@Jasso](https://discuss.elastic.co/u/Jasso)\
**Replies:** 0\
**Last updated:** [April 2, 2018, 9:53am UTC](https://discuss.elastic.co/t/how-to-execute-multiple-search-query-in-node-js-using-elastic-search-and-promises/126411 "2018-04-02T09:53:30Z")

</div>

Working Query: POST /\_msearch { "index": "INDEX\_NAME\_1", "type": "callStart" } { "query": { "match\_all": {}}} { "index": "INDEX\_NAME\_2", "type": "callEnd" } { "query": { "match\_all": {}}} If I run the a…

---

## [Ordering the result of aggregation](https://discuss.elastic.co/t/ordering-the-result-of-aggregation/126351)

<div class="topic-metadata">

**Author:** [@devil\_srj7](https://discuss.elastic.co/u/devil_srj7)\
**Replies:** 1\
**Last updated:** [April 2, 2018, 9:50am UTC](https://discuss.elastic.co/t/ordering-the-result-of-aggregation/126351 "2018-04-02T09:50:03Z")

</div>

GET testusage/\_search?size=0 { "query": { "bool": { "filter": {"range": { "str\_login\_time": { "gte": "2017-03-16", "lte": "2018-03-17" } }} …

---

## [Elastic search PHP: wait for bulk indexation to finish](https://discuss.elastic.co/t/elastic-search-php-wait-for-bulk-indexation-to-finish/126394)

<div class="topic-metadata">

**Author:** [@mike.active](https://discuss.elastic.co/u/mike.active)\
**Replies:** 4\
**Last updated:** [April 2, 2018, 9:49am UTC](https://discuss.elastic.co/t/elastic-search-php-wait-for-bulk-indexation-to-finish/126394 "2018-04-02T09:49:08Z")

</div>

Hello! My question is very simple yet I can't find an answer for it: Situation: I am creating search feature for a small online store that uses elastic search PHP library. I am using client-\>bulk() operation to index…

---

## [Elasticsearch 5.6 and IPtables](https://discuss.elastic.co/t/elasticsearch-5-6-and-iptables/126405)

<div class="topic-metadata">

**Author:** [@Javier\_Parrondo](https://discuss.elastic.co/u/Javier_Parrondo)\
**Replies:** 0\
**Last updated:** [April 2, 2018, 9:28am UTC](https://discuss.elastic.co/t/elasticsearch-5-6-and-iptables/126405 "2018-04-02T09:28:02Z")

</div>

Hello! I would like to know if IPtables is supported by Elasticsearch and if someone know any issue or problem with Elasticsearch and IPtables enabled. At the case Iptables is supported, i suppose the rules to configur…

---

## [Facet\`s feature with NEST and aggregation api](https://discuss.elastic.co/t/facet-s-feature-with-nest-and-aggregation-api/126228)

<div class="topic-metadata">

**Author:** [@rdcm](https://discuss.elastic.co/u/rdcm)\
**Replies:** 2\
**Last updated:** [April 2, 2018, 9:05am UTC](https://discuss.elastic.co/t/facet-s-feature-with-nest-and-aggregation-api/126228 "2018-04-02T09:05:37Z")

</div>

At this moment my UI has 4 groups with searching checkboxes: 1) text input (full text search and exact matches) 2) grades (list of checkboxes) 3) subjects (list of checkboxes) 4) types (list of checkboxes) Between grou…

---

## [How can i aggregate data by an field?](https://discuss.elastic.co/t/how-can-i-aggregate-data-by-an-field/126216)

<div class="topic-metadata">

**Author:** [@chenzilong444](https://discuss.elastic.co/u/chenzilong444)\
**Replies:** 2\
**Last updated:** [April 2, 2018, 8:00am UTC](https://discuss.elastic.co/t/how-can-i-aggregate-data-by-an-field/126216 "2018-04-02T08:00:42Z")

</div>

Time MSG PayID PayResult March 28th 2018, 23:35:47.295 PayResult 24C49884-6DF5-4216-90DD-FD3E7D594C94 Le…

---

## [Exception in thread "main" java.net.ConnectException: Connection timed out: connect](https://discuss.elastic.co/t/exception-in-thread-main-java-net-connectexception-connection-timed-out-connect/124558)

<div class="topic-metadata">

**Author:** [@vaishali1](https://discuss.elastic.co/u/vaishali1)\
**Replies:** 6\
**Last updated:** [April 2, 2018, 7:23am UTC](https://discuss.elastic.co/t/exception-in-thread-main-java-net-connectexception-connection-timed-out-connect/124558 "2018-04-02T07:23:27Z")

</div>

When i try to install X-Pack in elasticsearch \[image\]

---

## [Reporting feature for read-only users](https://discuss.elastic.co/t/reporting-feature-for-read-only-users/126374)

<div class="topic-metadata">

**Author:** [@Nikhil\_Utane](https://discuss.elastic.co/u/Nikhil_Utane)\
**Replies:** 0\
**Last updated:** [April 2, 2018, 5:38am UTC](https://discuss.elastic.co/t/reporting-feature-for-read-only-users/126374 "2018-04-02T05:38:16Z")

</div>

Hi, With reference to my question on github here. I want users who have read-only access to Kibana be able to export the Discover results to CSV. Currently it mandates the user to save the query, which a read-only acc…

---

## [Upload the WordNet database to ElasticCloud](https://discuss.elastic.co/t/upload-the-wordnet-database-to-elasticcloud/126378)

<div class="topic-metadata">

**Author:** [@prakashraman](https://discuss.elastic.co/u/prakashraman)\
**Replies:** 1\
**Last updated:** [April 2, 2018, 7:18am UTC](https://discuss.elastic.co/t/upload-the-wordnet-database-to-elasticcloud/126378 "2018-04-02T07:18:21Z")

</div>

Hi, I would like to upload my WordNet (Synonyms) list to my cluster. Can you let me know how this can be done? Thanks Prakash Raman

---

## [Elasitcsearch-spark field name](https://discuss.elastic.co/t/elasitcsearch-spark-field-name/126373)

<div class="topic-metadata">

**Author:** [@kdh6429](https://discuss.elastic.co/u/kdh6429)\
**Replies:** 0\
**Last updated:** [April 2, 2018, 5:28am UTC](https://discuss.elastic.co/t/elasitcsearch-spark-field-name/126373 "2018-04-02T05:28:40Z")

</div>

I'm generating es data with spark like below code myParentRdd.saveToEs( Map( "es.mapping.id" -\> "oid", "es.mapping.join" -\> "pd\_join")) myChildRdd.saveToEs( Map( "es.mapping.join" -\> "pd\_join")) This code works well …

---

## [The ipv6 question](https://discuss.elastic.co/t/the-ipv6-question/126366)

<div class="topic-metadata">

**Author:** [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Replies:** 2\
**Last updated:** [April 2, 2018, 3:37am UTC](https://discuss.elastic.co/t/the-ipv6-question/126366 "2018-04-02T03:37:53Z")

</div>

if the data source ip is ipv6 how setting mapping in the es 5.6.8 mapping ? like this or not? "ip": { "type": "keyword" },

---

## [How to read indices with \> 10k records?](https://discuss.elastic.co/t/how-to-read-indices-with-10k-records/126363)

<div class="topic-metadata">

**Author:** [@BoffinPanda](https://discuss.elastic.co/u/BoffinPanda)\
**Replies:** 2\
**Last updated:** [April 2, 2018, 3:29am UTC](https://discuss.elastic.co/t/how-to-read-indices-with-10k-records/126363 "2018-04-02T03:29:25Z")

</div>

I have a large data gathering system which gives me records of size bigger than 10k. Now, ES allows me to read the last 10k records only. How do I tackle this problem? Do I split indices to accommodate 10 k records or …

---

## [Issue about automatically created index](https://discuss.elastic.co/t/issue-about-automatically-created-index/126059)

<div class="topic-metadata">

**Author:** [@dyl](https://discuss.elastic.co/u/dyl)\
**Replies:** 11\
**Last updated:** [April 1, 2018, 9:40pm UTC](https://discuss.elastic.co/t/issue-about-automatically-created-index/126059 "2018-04-01T21:40:20Z")

</div>

Hello ELK community ! I'll explain you a big problem, look at this : I empty the cache : curl -XDELETE 'http://localhost:9200/\_all' Answer : {"acknowledged":true} I display my indexes: curl -XGET 'localhost:9…

---

## [Basic elasticsearch cluster on Azure](https://discuss.elastic.co/t/basic-elasticsearch-cluster-on-azure/126361)

<div class="topic-metadata">

**Author:** [@kamakay](https://discuss.elastic.co/u/kamakay)\
**Replies:** 0\
**Last updated:** [April 1, 2018, 8:06pm UTC](https://discuss.elastic.co/t/basic-elasticsearch-cluster-on-azure/126361 "2018-04-01T20:06:37Z")

</div>

Dear ELK user, I would like to create an elasticsearch cluster on MS Azure; I have found the main template in the azure Marketplace but it contains a lot of infrastructure. My current requirements are related to a simp…

---

## [Save space avoid indexing fields](https://discuss.elastic.co/t/save-space-avoid-indexing-fields/125452)

<div class="topic-metadata">

**Author:** [@kamakay](https://discuss.elastic.co/u/kamakay)\
**Replies:** 2\
**Last updated:** [April 1, 2018, 8:00pm UTC](https://discuss.elastic.co/t/save-space-avoid-indexing-fields/125452 "2018-04-01T20:00:34Z")

</div>

Dear all, I am an ELK newbie and I am just wondering if i can save space on my index if I don't create any full text capability on my string field. How can I accomplish this task? Thanks Rob

---

## [Collaborative Filtering](https://discuss.elastic.co/t/collaborative-filtering/126143)

<div class="topic-metadata">

**Author:** [@jonas-schulze](https://discuss.elastic.co/u/jonas-schulze)\
**Replies:** 0\
**Last updated:** [March 29, 2018, 6:27pm UTC](https://discuss.elastic.co/t/collaborative-filtering/126143 "2018-03-29T18:27:24Z")

</div>

Hi everybody, disclaimer: I am not experienced at all with Elasticsearch. I'd like to implement some collaborative filtering following a short example from Trey Grainger, slides 28ff, where he wants to recommend books …

---

## [An existing connection had to be closed by the remote host](https://discuss.elastic.co/t/an-existing-connection-had-to-be-closed-by-the-remote-host/126347)

<div class="topic-metadata">

**Author:** [@Ibti\_Ssem](https://discuss.elastic.co/u/Ibti_Ssem)\
**Replies:** 1\
**Last updated:** [April 1, 2018, 11:14am UTC](https://discuss.elastic.co/t/an-existing-connection-had-to-be-closed-by-the-remote-host/126347 "2018-04-01T11:14:00Z")

</div>

We have this exception in the logs but no impact for the moment at the level of the indexes and results, I would like to know if it is normal? otherwise what can we do to avoid it! We use elasticsearch 6 Java 8 java.i…

---

## [How to change GC from CMS to G1?](https://discuss.elastic.co/t/how-to-change-gc-from-cms-to-g1/126340)

<div class="topic-metadata">

**Author:** [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Replies:** 2\
**Last updated:** [April 1, 2018, 10:08am UTC](https://discuss.elastic.co/t/how-to-change-gc-from-cms-to-g1/126340 "2018-04-01T10:08:39Z")

</div>

Which directives need to be changed... I just found this page in the official guide: https://www.elastic.co/guide/en/elasticsearch/reference/current/\_g1gc\_check.html

---

## [Find documents where field "transaction" is the same as in the document where another fields equals something](https://discuss.elastic.co/t/find-documents-where-field-transaction-is-the-same-as-in-the-document-where-another-fields-equals-something/126337)

<div class="topic-metadata">

**Author:** [@vb4t](https://discuss.elastic.co/u/vb4t)\
**Replies:** 1\
**Last updated:** [March 31, 2018, 9:30pm UTC](https://discuss.elastic.co/t/find-documents-where-field-transaction-is-the-same-as-in-the-document-where-another-fields-equals-something/126337 "2018-03-31T21:30:11Z")

</div>

Hello. I have following documents: doc1\> transaction:1, initiator:john, info:somedata doc2\> transaction:1, info: anotherdata doc3\> transaction:1, info: anotherdata I need to return all documents where transaction id …

---

## [NEST API - Document Suggester Document Id](https://discuss.elastic.co/t/nest-api-document-suggester-document-id/126278)

<div class="topic-metadata">

**Author:** [@han1](https://discuss.elastic.co/u/han1)\
**Replies:** 2\
**Last updated:** [March 31, 2018, 6:01pm UTC](https://discuss.elastic.co/t/nest-api-document-suggester-document-id/126278 "2018-03-31T18:01:05Z")

</div>

I know that if you have a field called Id, then Elasticsearch will use that field as the Id of the document. However, we want Elasticsearch to create the Ids for us. We are using the Suggester and we need to access the…

---

## [Elasticsearch 6.2.3 docker container in Kubernetes problem](https://discuss.elastic.co/t/elasticsearch-6-2-3-docker-container-in-kubernetes-problem/126329)

<div class="topic-metadata">

**Author:** [@BezVeze](https://discuss.elastic.co/u/BezVeze)\
**Replies:** 0\
**Last updated:** [March 31, 2018, 4:36pm UTC](https://discuss.elastic.co/t/elasticsearch-6-2-3-docker-container-in-kubernetes-problem/126329 "2018-03-31T16:36:34Z")

</div>

Hi can anyone help me with this problem, i have new k8s cluster with 3 nodes 1.9.4 version and when i try to create a pod with the selected yaml file apiVersion: v1 kind: Pod metadata: name: elasticsearch labels: …

---

## [Datatable from two different documents but one common field](https://discuss.elastic.co/t/datatable-from-two-different-documents-but-one-common-field/125628)

<div class="topic-metadata">

**Author:** [@naveen\_kumar\_Reddy](https://discuss.elastic.co/u/naveen_kumar_Reddy)\
**Replies:** 2\
**Last updated:** [March 31, 2018, 2:08pm UTC](https://discuss.elastic.co/t/datatable-from-two-different-documents-but-one-common-field/125628 "2018-03-31T14:08:55Z")

</div>

Hi, I have two documents as shown below in same index/module but different fileset Document 1: Col1 Col2 Col3 a1 b1 c1 a2 b2 c2 Document 2: T1 T2 T3 123 456 c1 111 222 c2 Now, I need to have…

---

## [For autocompletion feature What is recommended type of the field? keyword or text](https://discuss.elastic.co/t/for-autocompletion-feature-what-is-recommended-type-of-the-field-keyword-or-text/126004)

<div class="topic-metadata">

**Author:** [@Tarun\_Jangra](https://discuss.elastic.co/u/Tarun_Jangra)\
**Replies:** 3\
**Last updated:** [March 31, 2018, 12:17pm UTC](https://discuss.elastic.co/t/for-autocompletion-feature-what-is-recommended-type-of-the-field-keyword-or-text/126004 "2018-03-31T12:17:30Z")

</div>

String type has been removed and index time search as you type example is using "string" type. I did that by replacing it with text but i'm not getting expected results yet. May be i should use "keyword" type. Any recom…

---

## [Upgrade from 5.5 to 5.6](https://discuss.elastic.co/t/upgrade-from-5-5-to-5-6/125962)

<div class="topic-metadata">

**Author:** [@Retenodus](https://discuss.elastic.co/u/Retenodus)\
**Replies:** 2\
**Last updated:** [March 31, 2018, 11:05am UTC](https://discuss.elastic.co/t/upgrade-from-5-5-to-5-6/125962 "2018-03-31T11:05:43Z")

</div>

Hello, I recently upgraded my cluster from 5.5 to 5.6 (I have same issues on a 6.1 cluster too). Soon, I got two issues: DateHistogramAggregation queries took a long time (related to https://github.com/elastic/elastic…

---

## [413- Request too large exception](https://discuss.elastic.co/t/413-request-too-large-exception/101562)

<div class="topic-metadata">

**Author:** [@dimalini](https://discuss.elastic.co/u/dimalini)\
**Replies:** 8\
**Last updated:** [March 31, 2018, 9:25am UTC](https://discuss.elastic.co/t/413-request-too-large-exception/101562 "2018-03-31T09:25:18Z")

</div>

Hi, In our regular indexing scenario when using Bulk index API we are constantly hitting into "HTTP Status Code - 413, Exception - System.Net.WebException: The remote server returned an error: (413) Request Entity Too L…

---

## [Use special (null?) value for missing field](https://discuss.elastic.co/t/use-special-null-value-for-missing-field/125952)

<div class="topic-metadata">

**Author:** [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Replies:** 2\
**Last updated:** [March 31, 2018, 7:14am UTC](https://discuss.elastic.co/t/use-special-null-value-for-missing-field/125952 "2018-03-31T07:14:45Z")

</div>

I want to import some data into ES. There is an integer field in my template and I want to use strict mapping. However, there might be the case that in some documents, the specific filed is missing. What I want to ach…

---

## [Elasticsearch new client builder was created but not working on search, index and all other queries](https://discuss.elastic.co/t/elasticsearch-new-client-builder-was-created-but-not-working-on-search-index-and-all-other-queries/126301)

<div class="topic-metadata">

**Author:** [@divya757](https://discuss.elastic.co/u/divya757)\
**Replies:** 0\
**Last updated:** [March 31, 2018, 5:05am UTC](https://discuss.elastic.co/t/elasticsearch-new-client-builder-was-created-but-not-working-on-search-index-and-all-other-queries/126301 "2018-03-31T05:05:24Z")

</div>

i am working on aws elasticsearch 6.2 and laravel framework my code $hosts=\[ 'host' =\> 'localhost(here i am using aws end point)' // Only host is required \]; $client = ClientBuilder::create() // Instanti…

---

## [File system becomes read only and all shards fail](https://discuss.elastic.co/t/file-system-becomes-read-only-and-all-shards-fail/123470)

<div class="topic-metadata">

**Author:** [@es\_experiments](https://discuss.elastic.co/u/es_experiments)\
**Replies:** 3\
**Last updated:** [March 31, 2018, 2:27am UTC](https://discuss.elastic.co/t/file-system-becomes-read-only-and-all-shards-fail/123470 "2018-03-31T02:27:34Z")

</div>

Hi, I am using elastic search to index ~5000 documents every 30 seconds. After ~18 hours the file systems becomes read-only and later all shards for that cluster fail. I get 503 response o trying to access index. and if…

---

## [Using script query for custom logic](https://discuss.elastic.co/t/using-script-query-for-custom-logic/126172)

<div class="topic-metadata">

**Author:** [@Vijay\_arora1](https://discuss.elastic.co/u/Vijay_arora1)\
**Replies:** 2\
**Last updated:** [March 31, 2018, 1:32am UTC](https://discuss.elastic.co/t/using-script-query-for-custom-logic/126172 "2018-03-31T01:32:49Z")

</div>

I am using the current version of Elastic Search (6.2) and trying to see how i can use query script for a custom logic. This is how the index data looks like: indent preformatted text by 4 spaces ID :…

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

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