# Elasticsearch

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

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

**Page:** 1382

---

## [How many nodes elastic search creates on single machine by defaults](https://discuss.elastic.co/t/how-many-nodes-elastic-search-creates-on-single-machine-by-defaults/170176)

<div class="topic-metadata">

**Author:** [@sunil\_Bhoi](https://discuss.elastic.co/u/sunil_Bhoi)\
**Replies:** 3\
**Last updated:** [February 27, 2019, 2:03pm UTC](https://discuss.elastic.co/t/how-many-nodes-elastic-search-creates-on-single-machine-by-defaults/170176 "2019-02-27T14:03:50Z")

</div>

I have ELK setup. with elastic search version 2.3.x. ( kibana 4.4.2 and logstash=1:2.2.4-1). I wanted to know how many nodes by default it should create. I have noticed a weird situation. When I restarted elastic search…

---

## [Dense\_vector size](https://discuss.elastic.co/t/dense-vector-size/169975)

<div class="topic-metadata">

**Author:** [@nfavdb](https://discuss.elastic.co/u/nfavdb)\
**Replies:** 0\
**Last updated:** [February 26, 2019, 10:35am UTC](https://discuss.elastic.co/t/dense-vector-size/169975 "2019-02-26T10:35:38Z")

</div>

Hello, Is there a way for me to slightly increase the size of the dense\_vector datatype introduced in the Elasticsearch 7.0.0 beta? For my application I need to store vectors with 512 dimensions, but the documentation …

---

## [Unable to split Strings in Painless](https://discuss.elastic.co/t/unable-to-split-strings-in-painless/170164)

<div class="topic-metadata">

**Author:** [@Kaustubh\_Pardeshi](https://discuss.elastic.co/u/Kaustubh_Pardeshi)\
**Replies:** 3\
**Last updated:** [February 27, 2019, 1:10pm UTC](https://discuss.elastic.co/t/unable-to-split-strings-in-painless/170164 "2019-02-27T13:10:52Z")

</div>

Hi, I am having trouble splitting a string using painless to create a new field. I have a string like: doc\['path.keyword'\].value = 'N:/divtaxbacktest/Comp/divbacktest/SMEA.L.csv'; And I would like to extract SMEA.L, so…

---

## [Realtime data streaming from cassandra to elasticsearch](https://discuss.elastic.co/t/realtime-data-streaming-from-cassandra-to-elasticsearch/170141)

<div class="topic-metadata">

**Author:** [@yasin\_mohammed](https://discuss.elastic.co/u/yasin_mohammed)\
**Replies:** 5\
**Last updated:** [February 27, 2019, 12:45pm UTC](https://discuss.elastic.co/t/realtime-data-streaming-from-cassandra-to-elasticsearch/170141 "2019-02-27T12:45:24Z")

</div>

Hi... What are the alternatives to extract data from cassandra to elasticsearch. CQL has many limitations with queries so we are not able to do it. Also apart from logstash is there any other way.

---

## [FuzzyMinimumSimilarity for elasticsearch v2](https://discuss.elastic.co/t/fuzzyminimumsimilarity-for-elasticsearch-v2/169384)

<div class="topic-metadata">

**Author:** [@gonzi](https://discuss.elastic.co/u/gonzi)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 10:28am UTC](https://discuss.elastic.co/t/fuzzyminimumsimilarity-for-elasticsearch-v2/169384 "2019-02-21T10:28:49Z")

</div>

Hi im an upgrading to nest 2, but notice on breaking changes that FuzzyMinimumSimilarity and OnFieldsWithBoost are gone. How should i replace this code below to Nest v2? new SearchDescriptor\<T\>().Type(searchTypes).Query…

---

## [Multiplying scores in 7.0](https://discuss.elastic.co/t/multiplying-scores-in-7-0/170155)

<div class="topic-metadata">

**Author:** [@poppemp](https://discuss.elastic.co/u/poppemp)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 11:56am UTC](https://discuss.elastic.co/t/multiplying-scores-in-7-0/170155 "2019-02-27T11:56:20Z")

</div>

We are currently multiplying a set of normalized values during queries by using the fact that log(a\*b) = log(a) + log(b): { "field\_value\_factor": { "field": "keywords\_en.score", "factor": 1, "modifier": "l…

---

## [Using ES for bag of visual words image search II](https://discuss.elastic.co/t/using-es-for-bag-of-visual-words-image-search-ii/170142)

<div class="topic-metadata">

**Author:** [@IngoM](https://discuss.elastic.co/u/IngoM)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 10:38am UTC](https://discuss.elastic.co/t/using-es-for-bag-of-visual-words-image-search-ii/170142 "2019-02-27T10:38:47Z")

</div>

Hey, This is a follow-up question to the following discussion: Since the topic is roughly two years old, I wonder if there are any new resources or features solving this problem. As the previous author I'm planning on…

---

## [Elastic serch multiple filters for dynamically selecting filters](https://discuss.elastic.co/t/elastic-serch-multiple-filters-for-dynamically-selecting-filters/170121)

<div class="topic-metadata">

**Author:** [@Arvind\_Singh](https://discuss.elastic.co/u/Arvind_Singh)\
**Replies:** 3\
**Last updated:** [February 27, 2019, 9:48am UTC](https://discuss.elastic.co/t/elastic-serch-multiple-filters-for-dynamically-selecting-filters/170121 "2019-02-27T09:48:19Z")

</div>

Hi, I am working with elasticsearch application for one of my application. My application need is below- I have mulitple filters like location, type, qualification etc.. i have created query for this in which i am passi…

---

## [Get all docs with the occurrence of field values only once](https://discuss.elastic.co/t/get-all-docs-with-the-occurrence-of-field-values-only-once/166466)

<div class="topic-metadata">

**Author:** [@kaushik.vankayala](https://discuss.elastic.co/u/kaushik.vankayala)\
**Replies:** 2\
**Last updated:** [February 27, 2019, 9:19am UTC](https://discuss.elastic.co/t/get-all-docs-with-the-occurrence-of-field-values-only-once/166466 "2019-02-27T09:19:29Z")

</div>

Hi There, I have the documents in my index in the following format; { "\_index": "mt\_uat-app", "\_type": "doc", "\_source": { "Environment": "UAT", "loglevel": "INFO", "APITransactionId": "4d95e9b12cf048…

---

## [Not able to run elasticsearch.bat file](https://discuss.elastic.co/t/not-able-to-run-elasticsearch-bat-file/170045)

<div class="topic-metadata">

**Author:** [@MKU](https://discuss.elastic.co/u/MKU)\
**Replies:** 4\
**Last updated:** [February 27, 2019, 8:58am UTC](https://discuss.elastic.co/t/not-able-to-run-elasticsearch-bat-file/170045 "2019-02-27T08:58:42Z")

</div>

I am looking to run elasticsearch by running elasticsearch.bat file in bin folder but its throwing following error, Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and…

---

## [Deploy ES in kubernetes](https://discuss.elastic.co/t/deploy-es-in-kubernetes/170116)

<div class="topic-metadata">

**Author:** [@vuxuanlai](https://discuss.elastic.co/u/vuxuanlai)\
**Replies:** 1\
**Last updated:** [February 27, 2019, 7:15am UTC](https://discuss.elastic.co/t/deploy-es-in-kubernetes/170116 "2019-02-27T07:15:41Z")

</div>

As I know that the default heap size for ES is 1 Gi. I would like to run ES in Kubernetes with multiple containers. My server have configuration as below: RAM: 4Gb CPU: 2Core Disk: 8G So how can I configure for ES t…

---

## [Top hits vs Search query](https://discuss.elastic.co/t/top-hits-vs-search-query/170119)

<div class="topic-metadata">

**Author:** [@Lakshay\_Badak](https://discuss.elastic.co/u/Lakshay_Badak)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 7:17am UTC](https://discuss.elastic.co/t/top-hits-vs-search-query/170119 "2019-02-27T07:17:36Z")

</div>

Using one query of top hits aggregation and get documents in 4 buckets or getting results using 4 search queries which one is better?

---

## [Problem sorting result by distance on a geoshape](https://discuss.elastic.co/t/problem-sorting-result-by-distance-on-a-geoshape/170076)

<div class="topic-metadata">

**Author:** [@jnick1982](https://discuss.elastic.co/u/jnick1982)\
**Replies:** 1\
**Last updated:** [February 27, 2019, 6:47am UTC](https://discuss.elastic.co/t/problem-sorting-result-by-distance-on-a-geoshape/170076 "2019-02-27T06:47:07Z")

</div>

As documented : Sorting and Retrieving index Shapes Due to the complex input structure and index representation of shapes, it is not currently possible to sort shapes or retrieve their fields directly. The geo\_shape va…

---

## [Bug: Fuzziness AUTO: HighDistance and LowDistance not working](https://discuss.elastic.co/t/bug-fuzziness-auto-highdistance-and-lowdistance-not-working/170106)

<div class="topic-metadata">

**Author:** [@pokaleshrey](https://discuss.elastic.co/u/pokaleshrey)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 6:00am UTC](https://discuss.elastic.co/t/bug-fuzziness-auto-highdistance-and-lowdistance-not-working/170106 "2019-02-27T06:00:46Z")

</div>

Hi, When i create a match query with fuzziness = "AUTO:3,10", the query is formed is fuzziness=AUTO. 3 and 10 is missing from the query. QueryBuilders.matchQuery("MY\_FIELD\_NAME", fieldNameValue).fuzziness("AUTO:3,10")…

---

## [Prepend fields to files that are to be indexed](https://discuss.elastic.co/t/prepend-fields-to-files-that-are-to-be-indexed/170071)

<div class="topic-metadata">

**Author:** [@c95mbq](https://discuss.elastic.co/u/c95mbq)\
**Replies:** 1\
**Last updated:** [February 27, 2019, 2:26am UTC](https://discuss.elastic.co/t/prepend-fields-to-files-that-are-to-be-indexed/170071 "2019-02-27T02:26:10Z")

</div>

Hi, Apologies for what's more of a question around what's possible than any specific problem - I'm an absolute rookie but very much enjoying all the things ELK have to offer out of the box. Long story short, I recently…

---

## [Cluster taking a long time to open closed indices](https://discuss.elastic.co/t/cluster-taking-a-long-time-to-open-closed-indices/169692)

<div class="topic-metadata">

**Author:** [@bpiper](https://discuss.elastic.co/u/bpiper)\
**Replies:** 5\
**Last updated:** [February 27, 2019, 3:01am UTC](https://discuss.elastic.co/t/cluster-taking-a-long-time-to-open-closed-indices/169692 "2019-02-27T03:01:33Z")

</div>

I'm running a 3 x m5.xlarge cluster (all nodes data & master) at version 6.4.2 on EC2, with 9000 baseline IOPS GP2 storage and essentially default config (apart from obligatory discovery config for EC2). We have a lot o…

---

## [How to get only exact matches for GUID via Nest 6.5](https://discuss.elastic.co/t/how-to-get-only-exact-matches-for-guid-via-nest-6-5/169946)

<div class="topic-metadata">

**Author:** [@ArtVandelay101](https://discuss.elastic.co/u/ArtVandelay101)\
**Replies:** 2\
**Last updated:** [February 27, 2019, 2:00am UTC](https://discuss.elastic.co/t/how-to-get-only-exact-matches-for-guid-via-nest-6-5/169946 "2019-02-27T02:00:19Z")

</div>

Hello, I have following index, in which I labeled the 'Id' as 'Keyword': \[ElasticsearchType(IdProperty = nameof(Id))\] public class MyIndexModel { \[Keyword\] public Guid Id { get; set; } \[Text\] public st…

---

## [Setting up User Authentication](https://discuss.elastic.co/t/setting-up-user-authentication/169902)

<div class="topic-metadata">

**Author:** [@manoj\_faria](https://discuss.elastic.co/u/manoj_faria)\
**Replies:** 5\
**Last updated:** [February 27, 2019, 1:56am UTC](https://discuss.elastic.co/t/setting-up-user-authentication/169902 "2019-02-27T01:56:17Z")

</div>

Hi - I am setting up user authentication on a docker based cluster (single node elasticsearch and a single kibana container at the moment)....per the documentation listed here: https://www.elastic.co/guide/en/x-pack/cu…

---

## [Help with sub field mappings in index template](https://discuss.elastic.co/t/help-with-sub-field-mappings-in-index-template/170081)

<div class="topic-metadata">

**Author:** [@theflakes](https://discuss.elastic.co/u/theflakes)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 12:19am UTC](https://discuss.elastic.co/t/help-with-sub-field-mappings-in-index-template/170081 "2019-02-27T00:19:42Z")

</div>

Say I have the following section in a json Doc I want to index. "top\_level\_field": { "field1": true, "field2": "blah blah", "field3": 123, "second\_level": { "sub\_field1": "fizz buzz", "sub\_field2": 1.343453…

---

## [ELK stack is not stable on Azure](https://discuss.elastic.co/t/elk-stack-is-not-stable-on-azure/169617)

<div class="topic-metadata">

**Author:** [@Ronak\_Patel1](https://discuss.elastic.co/u/Ronak_Patel1)\
**Replies:** 5\
**Last updated:** [February 26, 2019, 11:02pm UTC](https://discuss.elastic.co/t/elk-stack-is-not-stable-on-azure/169617 "2019-02-26T23:02:06Z")

</div>

I am running ELK stack on Azure using official template. Intermittently, getting this error in kibana: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"} Also, elastic ser…

---

## [Elastic cloud basic setup: Could not open job because no ML nodes with sufficient capacity were found](https://discuss.elastic.co/t/elastic-cloud-basic-setup-could-not-open-job-because-no-ml-nodes-with-sufficient-capacity-were-found/169866)

<div class="topic-metadata">

**Author:** [@dao](https://discuss.elastic.co/u/dao)\
**Replies:** 1\
**Last updated:** [February 26, 2019, 10:22pm UTC](https://discuss.elastic.co/t/elastic-cloud-basic-setup-could-not-open-job-because-no-ml-nodes-with-sufficient-capacity-were-found/169866 "2019-02-26T22:22:40Z")

</div>

Hello, I am running on a elastic cloud cluster, with 1Gb for the ML node (default) I have 1 job running OK, and when I try to run a second one, I got the following. How can I know the capacity of the ML node? when I a…

---

## [Reduce unneeded drives in cluster array?](https://discuss.elastic.co/t/reduce-unneeded-drives-in-cluster-array/169922)

<div class="topic-metadata">

**Author:** [@jthoni](https://discuss.elastic.co/u/jthoni)\
**Replies:** 4\
**Last updated:** [February 26, 2019, 7:40pm UTC](https://discuss.elastic.co/t/reduce-unneeded-drives-in-cluster-array/169922 "2019-02-26T19:40:11Z")

</div>

When we spun up our newest search cluster we way over provisioned (in Azure VMs) disk capacity. Each node is hosting about ~78 GB of data but has 15 x 1 TB drives (for about 0.38% disk utilization). The drives are Azur…

---

## [Restoring machine learning config from a snapshot](https://discuss.elastic.co/t/restoring-machine-learning-config-from-a-snapshot/169847)

<div class="topic-metadata">

**Author:** [@dao](https://discuss.elastic.co/u/dao)\
**Replies:** 5\
**Last updated:** [February 26, 2019, 6:56pm UTC](https://discuss.elastic.co/t/restoring-machine-learning-config-from-a-snapshot/169847 "2019-02-26T18:56:00Z")

</div>

I am migrating my on-premise ELK stack to elastic cloud as per this article I use the snapshot method and I did restored all the .ml\* indices Unfortunately, I cannot retreive my ML job configurations. According to the d…

---

## [Bad Link Discovered in DOC](https://discuss.elastic.co/t/bad-link-discovered-in-doc/170053)

<div class="topic-metadata">

**Author:** [@bigdamhero](https://discuss.elastic.co/u/bigdamhero)\
**Replies:** 2\
**Last updated:** [February 26, 2019, 6:55pm UTC](https://discuss.elastic.co/t/bad-link-discovered-in-doc/170053 "2019-02-26T18:55:51Z")

</div>

I found a bad link, I am unsure where this should be reported. Thanks for any super helpful badge award, :slight\_smile: Page: https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-javado…

---

## [Curator - details](https://discuss.elastic.co/t/curator-details/170054)

<div class="topic-metadata">

**Author:** [@aniaks](https://discuss.elastic.co/u/aniaks)\
**Replies:** 1\
**Last updated:** [February 26, 2019, 6:47pm UTC](https://discuss.elastic.co/t/curator-details/170054 "2019-02-26T18:47:37Z")

</div>

With curator - need pointers to create index template, add analyzer, normalizer while creating the template.

---

## [Aggregation in Elasticsearch](https://discuss.elastic.co/t/aggregation-in-elasticsearch/170048)

<div class="topic-metadata">

**Author:** [@sulankit](https://discuss.elastic.co/u/sulankit)\
**Replies:** 0\
**Last updated:** [February 26, 2019, 4:50pm UTC](https://discuss.elastic.co/t/aggregation-in-elasticsearch/170048 "2019-02-26T16:50:42Z")

</div>

I am working on Elasticsearch Aggregation and have a question regarding how to do pipeline sort of aggregation. I have three high-level fields in my ES document: documentId, list1, list2 Example: This is the couple of…

---

## [Is it possible to do a BucketSort of an aggregation based on score rather than on document count?](https://discuss.elastic.co/t/is-it-possible-to-do-a-bucketsort-of-an-aggregation-based-on-score-rather-than-on-document-count/170024)

<div class="topic-metadata">

**Author:** [@ArtVandelay101](https://discuss.elastic.co/u/ArtVandelay101)\
**Replies:** 1\
**Last updated:** [February 26, 2019, 4:32pm UTC](https://discuss.elastic.co/t/is-it-possible-to-do-a-bucketsort-of-an-aggregation-based-on-score-rather-than-on-document-count/170024 "2019-02-26T16:32:20Z")

</div>

Hello, is it possible to do a BucketSort of an aggregation based on score rather than on document count (using Flunet interface of Nest 6.5)? E.g., like in following query where I want to get all directors that are spe…

---

## [503 Timeout exception error accessing Elasticsearch](https://discuss.elastic.co/t/503-timeout-exception-error-accessing-elasticsearch/169987)

<div class="topic-metadata">

**Author:** [@Patrick\_Onokwai](https://discuss.elastic.co/u/Patrick_Onokwai)\
**Replies:** 1\
**Last updated:** [February 26, 2019, 3:49pm UTC](https://discuss.elastic.co/t/503-timeout-exception-error-accessing-elasticsearch/169987 "2019-02-26T15:49:36Z")

</div>

Kibana shows error below when I try access it. Suspecting that the app may be out of memory, I have tried using postman to send a "Delete" request but now get a "503 - Service Unavailable" exception with message: "pro…

---

## [Elasticsearch | 3 master/data nodes vs 1 master and 2 data nodes](https://discuss.elastic.co/t/elasticsearch-3-master-data-nodes-vs-1-master-and-2-data-nodes/169768)

<div class="topic-metadata">

**Author:** [@Nikesh](https://discuss.elastic.co/u/Nikesh)\
**Replies:** 14\
**Last updated:** [February 26, 2019, 3:44pm UTC](https://discuss.elastic.co/t/elasticsearch-3-master-data-nodes-vs-1-master-and-2-data-nodes/169768 "2019-02-26T15:44:23Z")

</div>

Hi, I was wondering what would be the advantages and disadvantages of using a single cluster with 3 data/master nodes and one dedicated master and two data nodes? Will there be any effect on Cluster performance, stabil…

---

## [Search on geoshape : indexedShapeType is required if indexedShapeId is specified](https://discuss.elastic.co/t/search-on-geoshape-indexedshapetype-is-required-if-indexedshapeid-is-specified/170022)

<div class="topic-metadata">

**Author:** [@jnick1982](https://discuss.elastic.co/u/jnick1982)\
**Replies:** 1\
**Last updated:** [February 26, 2019, 3:42pm UTC](https://discuss.elastic.co/t/search-on-geoshape-indexedshapetype-is-required-if-indexedshapeid-is-specified/170022 "2019-02-26T15:42:38Z")

</div>

Based on the documentation mapping types are to be depecrated in APIs in Elasticsearch 7.0.0 and completely removed in 8.0.0. We are keeping our ES really up to date as such we are on 6.6 right now. Since types are to …

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

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