# Elasticsearch

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

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

**Page:** 1078

---

## [Does having multiple shards of an index on a single node provide any benefits?](https://discuss.elastic.co/t/does-having-multiple-shards-of-an-index-on-a-single-node-provide-any-benefits/210237)

<div class="topic-metadata">

**Author:** [@iandanforth](https://discuss.elastic.co/u/iandanforth)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 4:55pm UTC](https://discuss.elastic.co/t/does-having-multiple-shards-of-an-index-on-a-single-node-provide-any-benefits/210237 "2019-12-03T16:55:07Z")

</div>

I'm fairly new to ES so this may be a simple question. If I have a "cluster" of one node that has two indices on the node, is there any benefit to having number\_of\_shards greater than one? As I understand it this will s…

---

## [\_nodes/hot\_threads api is not responding](https://discuss.elastic.co/t/nodes-hot-threads-api-is-not-responding/210402)

<div class="topic-metadata">

**Author:** [@nk1506](https://discuss.elastic.co/u/nk1506)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 4:46pm UTC](https://discuss.elastic.co/t/nodes-hot-threads-api-is-not-responding/210402 "2019-12-03T16:46:58Z")

</div>

I ran curl -X GET "http://127.0.0.1:9200/\_nodes/hot\_threads?interval=1d". it didnt return any response. after then hot\_thread api is not returning any response even without any query params. ES version - 5.6

---

## [Local shard failed deduplicate to send shard action](https://discuss.elastic.co/t/local-shard-failed-deduplicate-to-send-shard-action/210295)

<div class="topic-metadata">

**Author:** [@hackerwin7](https://discuss.elastic.co/u/hackerwin7)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 4:34pm UTC](https://discuss.elastic.co/t/local-shard-failed-deduplicate-to-send-shard-action/210295 "2019-12-03T16:34:49Z")

</div>

Hi, According to this, local shard failed deduplicate is not implemented. Put the unimplemented PR assign to me?

---

## [Wildcard search with dash](https://discuss.elastic.co/t/wildcard-search-with-dash/210364)

<div class="topic-metadata">

**Author:** [@111220](https://discuss.elastic.co/u/111220)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 3:48pm UTC](https://discuss.elastic.co/t/wildcard-search-with-dash/210364 "2019-12-03T15:48:53Z")

</div>

I'm trying to write a query to find all data that contains a specific string with dash, for example: "abcd-ehd". however, using wildcard abcd-ehd doesnt work because the dash is not translated. if the data for example…

---

## [I have facing issue in elastic search cosinesimilarity module. I have made my mappings correct which was suggested by most people, but still facing the issue](https://discuss.elastic.co/t/i-have-facing-issue-in-elastic-search-cosinesimilarity-module-i-have-made-my-mappings-correct-which-was-suggested-by-most-people-but-still-facing-the-issue/210155)

<div class="topic-metadata">

**Author:** [@Divyanshu\_Pandey](https://discuss.elastic.co/u/Divyanshu_Pandey)\
**Replies:** 3\
**Last updated:** [December 3, 2019, 3:17pm UTC](https://discuss.elastic.co/t/i-have-facing-issue-in-elastic-search-cosinesimilarity-module-i-have-made-my-mappings-correct-which-was-suggested-by-most-people-but-still-facing-the-issue/210155 "2019-12-03T15:17:19Z")

</div>

MAPPINGs--\> { "settings" : { "posts" : { "number\_of\_shards" : 1, "number\_of\_replicas" : 1 }, "mappings": { "properties": { "title\_vector": { "type": "dense\_vector", "dims": 3 }, "…

---

## [Creating a new docker elasticsearch node along with a vm node/cluster](https://discuss.elastic.co/t/creating-a-new-docker-elasticsearch-node-along-with-a-vm-node-cluster/210381)

<div class="topic-metadata">

**Author:** [@Incauto](https://discuss.elastic.co/u/Incauto)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 3:09pm UTC](https://discuss.elastic.co/t/creating-a-new-docker-elasticsearch-node-along-with-a-vm-node-cluster/210381 "2019-12-03T15:09:42Z")

</div>

Hi, I currently have a elasticsearch cluster, in a virtual machine, with a single node, and I want to add another node but this time use docker to create this new node. Is there compatibility issues? elasticsearch in …

---

## [Upgrade 6.8.4 -\> 7.4.2: forgot to reindex](https://discuss.elastic.co/t/upgrade-6-8-4-7-4-2-forgot-to-reindex/209874)

<div class="topic-metadata">

**Author:** [@discostur](https://discuss.elastic.co/u/discostur)\
**Replies:** 6\
**Last updated:** [December 3, 2019, 2:14pm UTC](https://discuss.elastic.co/t/upgrade-6-8-4-7-4-2-forgot-to-reindex/209874 "2019-12-03T14:14:55Z")

</div>

Hi, i just did a upgrade of my elasticsearch 6.8.4 installation (only one node!). I cant start elasticsearch now because i have old indices which i did not reindex before: The index \[\[index\_xyz\]\] was created with v…

---

## [Production Infrastructure Guidelines - Elastic search](https://discuss.elastic.co/t/production-infrastructure-guidelines-elastic-search/210360)

<div class="topic-metadata">

**Author:** [@nages](https://discuss.elastic.co/u/nages)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 1:45pm UTC](https://discuss.elastic.co/t/production-infrastructure-guidelines-elastic-search/210360 "2019-12-03T13:45:57Z")

</div>

I am going through the following documentation https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html What are the best practises for production infracture in terms of making it exposed for s…

---

## [Plugin build error for es version 5.6, can't find license and notice file](https://discuss.elastic.co/t/plugin-build-error-for-es-version-5-6-cant-find-license-and-notice-file/210355)

<div class="topic-metadata">

**Author:** [@Ethan-Zhang](https://discuss.elastic.co/u/Ethan-Zhang)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 1:33pm UTC](https://discuss.elastic.co/t/plugin-build-error-for-es-version-5-6-cant-find-license-and-notice-file/210355 "2019-12-03T13:33:10Z")

</div>

Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence. org.gradle.api.GradleException: Must specify license and notice file for project :plugin at sun.reflect.Nat…

---

## [Strange output number from elasticsearch with scaled\_float datatype](https://discuss.elastic.co/t/strange-output-number-from-elasticsearch-with-scaled-float-datatype/207953)

<div class="topic-metadata">

**Author:** [@allanforms](https://discuss.elastic.co/u/allanforms)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 1:25pm UTC](https://discuss.elastic.co/t/strange-output-number-from-elasticsearch-with-scaled-float-datatype/207953 "2019-12-03T13:25:53Z")

</div>

Hi there. A friend is having trouble to output the result of a sum aggregation properly. We tried to format the field in Kibana so the output in the visualization would shown formatted, but it still kept returning oddl…

---

## [Current token (VALUE\_NUMBER\_INT) not of boolean type](https://discuss.elastic.co/t/current-token-value-number-int-not-of-boolean-type/210342)

<div class="topic-metadata">

**Author:** [@gyana\_nayak](https://discuss.elastic.co/u/gyana_nayak)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 1:04pm UTC](https://discuss.elastic.co/t/current-token-value-number-int-not-of-boolean-type/210342 "2019-12-03T13:04:10Z")

</div>

Hi All, I have written a sample java client which will connect to a remote Ip and collect the data from ElasticSearch but keep on getting below exception .But below code working as expected with localhost. Could someone…

---

## [Get unique counts with per minute bucket in elasticsearch](https://discuss.elastic.co/t/get-unique-counts-with-per-minute-bucket-in-elasticsearch/210340)

<div class="topic-metadata">

**Author:** [@nitish1402](https://discuss.elastic.co/u/nitish1402)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 12:54pm UTC](https://discuss.elastic.co/t/get-unique-counts-with-per-minute-bucket-in-elasticsearch/210340 "2019-12-03T12:54:24Z")

</div>

Hi Team , I have the following scenario , where i am receiving logs from at max 50k users in every 30 seconds for 60 mins. I am using elasticsearch to store the data in following format. \[ { "viewlogId": "9abb5a…

---

## [What exactly is a shard?](https://discuss.elastic.co/t/what-exactly-is-a-shard/210334)

<div class="topic-metadata">

**Author:** [@nages](https://discuss.elastic.co/u/nages)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 12:40pm UTC](https://discuss.elastic.co/t/what-exactly-is-a-shard/210334 "2019-12-03T12:40:28Z")

</div>

I am going through the documentation, An index can potentially store a large amount of data that can exceed the hardware limits of a single node. For example, a single index of a billion documents taking up 1TB of disk …

---

## [How to setup a basic authentication for Elasticsearch?](https://discuss.elastic.co/t/how-to-setup-a-basic-authentication-for-elasticsearch/210286)

<div class="topic-metadata">

**Author:** [@amandamlmia14](https://discuss.elastic.co/u/amandamlmia14)\
**Replies:** 4\
**Last updated:** [December 3, 2019, 12:19pm UTC](https://discuss.elastic.co/t/how-to-setup-a-basic-authentication-for-elasticsearch/210286 "2019-12-03T12:19:06Z")

</div>

I have a docker image of elasticsearch, version=7.0.1, I used the command to run the image docker run -d -p 9200:9200 -p 9301:9301 --name elastic\_search -e "discovery.type=single-node" -e "xpack.security.enabled=true" -…

---

## [Elasticsearch Index Latency Rate - API](https://discuss.elastic.co/t/elasticsearch-index-latency-rate-api/209531)

<div class="topic-metadata">

**Author:** [@stevesimpson](https://discuss.elastic.co/u/stevesimpson)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 12:04pm UTC](https://discuss.elastic.co/t/elasticsearch-index-latency-rate-api/209531 "2019-12-03T12:04:31Z")

</div>

Hi, I asked a very similar question yesterday in regard to exposing Elasticsearch Indexing Rate via the API. Thanks to @danielmitterdorfer this was achieved easily. I'm now trying to get other monitoring metrics via the…

---

## [Elasticsearch.yml with Ansible Galaxy](https://discuss.elastic.co/t/elasticsearch-yml-with-ansible-galaxy/210325)

<div class="topic-metadata">

**Author:** [@spike83](https://discuss.elastic.co/u/spike83)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 11:32am UTC](https://discuss.elastic.co/t/elasticsearch-yml-with-ansible-galaxy/210325 "2019-12-03T11:32:39Z")

</div>

Hi, I have built an elasticsearch server using Ansible Galaxy scripts provided by Elastic. I'm finding that once it's running the elasticsearch.yml is in a very basic format and any manual changes cause the elasticsearc…

---

## [ElasticStack (Elasticsearch, kibana, Logstash) Update Versions](https://discuss.elastic.co/t/elasticstack-elasticsearch-kibana-logstash-update-versions/210330)

<div class="topic-metadata">

**Author:** [@mohit0210](https://discuss.elastic.co/u/mohit0210)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 11:04am UTC](https://discuss.elastic.co/t/elasticstack-elasticsearch-kibana-logstash-update-versions/210330 "2019-12-03T11:04:02Z")

</div>

Hello Team, Currently I am working on ELK 5.6.15 and need some clarification regarding Update and Upgrade. Whether minor versions of Elastic Stack 5.6.17 and later will be release in future or not? Is direct upgra…

---

## [TransportClient in 7.4.2](https://discuss.elastic.co/t/transportclient-in-7-4-2/209976)

<div class="topic-metadata">

**Author:** [@rajesh\_elasticsearch](https://discuss.elastic.co/u/rajesh_elasticsearch)\
**Replies:** 3\
**Last updated:** [December 3, 2019, 10:19am UTC](https://discuss.elastic.co/t/transportclient-in-7-4-2/209976 "2019-12-03T10:19:35Z")

</div>

Hi, I am using elasitcsearch 7.4.2 with openjdk 11. I can't change all the api to REST, I will do little by little. All CURD I have change to REST (working good) but only for search I want to use TransportClient. The be…

---

## [Elasticsearch updateByQuery with wait\_for\_completion](https://discuss.elastic.co/t/elasticsearch-updatebyquery-with-wait-for-completion/210323)

<div class="topic-metadata">

**Author:** [@surajdalvi](https://discuss.elastic.co/u/surajdalvi)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 10:12am UTC](https://discuss.elastic.co/t/elasticsearch-updatebyquery-with-wait-for-completion/210323 "2019-12-03T10:12:16Z")

</div>

I am using updateByQuery to update documents but I am getting version conflicts error . How I can handle this error.Can I use wait\_for\_completion option in elastic search to avoid version conflicts error? is any other s…

---

## [Elastalert https post](https://discuss.elastic.co/t/elastalert-https-post/210242)

<div class="topic-metadata">

**Author:** [@JennS](https://discuss.elastic.co/u/JennS)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 10:12am UTC](https://discuss.elastic.co/t/elastalert-https-post/210242 "2019-12-03T10:12:01Z")

</div>

I have data going into Elastalert and I am getting email alerts. I am also trying to post to an https page and I keep getting this error ERROR:root:Error while running alert http\_post: Error posting HTTP Post alert: HTT…

---

## [Replacing data from one node to another](https://discuss.elastic.co/t/replacing-data-from-one-node-to-another/210206)

<div class="topic-metadata">

**Author:** [@Aditya\_Kar](https://discuss.elastic.co/u/Aditya_Kar)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 10:09am UTC](https://discuss.elastic.co/t/replacing-data-from-one-node-to-another/210206 "2019-12-03T10:09:51Z")

</div>

Hi all. is it possible to replace a data node from one server to another if the configuration and versions are the same? or I have to reindex all the data in my node. please suggest me. Thank you.

---

## [How to know current rollover settings](https://discuss.elastic.co/t/how-to-know-current-rollover-settings/210238)

<div class="topic-metadata">

**Author:** [@ted.fed](https://discuss.elastic.co/u/ted.fed)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 10:05am UTC](https://discuss.elastic.co/t/how-to-know-current-rollover-settings/210238 "2019-12-03T10:05:52Z")

</div>

How can I know my current rollover settings? Is there an API to help me know the same? I have been through https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html but did not find an…

---

## [How to query the elastic search using node js client](https://discuss.elastic.co/t/how-to-query-the-elastic-search-using-node-js-client/210221)

<div class="topic-metadata">

**Author:** [@sagar\_patil](https://discuss.elastic.co/u/sagar_patil)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 8:23am UTC](https://discuss.elastic.co/t/how-to-query-the-elastic-search-using-node-js-client/210221 "2019-12-03T08:23:27Z")

</div>

I am new to elastic search I tried some queries,can please any one help me to get the unique users for that Audi and bmw keyword. "query": { "bool": { "must": \[ { "term": { "keyword": "Audi" …

---

## [Strange search result nGram + Highlight](https://discuss.elastic.co/t/strange-search-result-ngram-highlight/210301)

<div class="topic-metadata">

**Author:** [@DesireeNordlund](https://discuss.elastic.co/u/DesireeNordlund)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 7:09am UTC](https://discuss.elastic.co/t/strange-search-result-ngram-highlight/210301 "2019-12-03T07:09:27Z")

</div>

Since I added nGram to my index I have gained very strange search result. As far as I can see the index is correct, so I think it is my query that is wrong. When I remove the Highlight part of the query I get what I bel…

---

## [Shards throughput for a big index?](https://discuss.elastic.co/t/shards-throughput-for-a-big-index/210134)

<div class="topic-metadata">

**Author:** [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 7:15am UTC](https://discuss.elastic.co/t/shards-throughput-for-a-big-index/210134 "2019-12-03T07:15:15Z")

</div>

Hi elastic family, Before I ask, let me elaborate my scenario. I centralize the logs to elasticsearch using logstash. And I use monthly indices format. Well it's been working properly. As far as I know, limit of a s…

---

## [Inverted Index Creation](https://discuss.elastic.co/t/inverted-index-creation/210194)

<div class="topic-metadata">

**Author:** [@Harinath](https://discuss.elastic.co/u/Harinath)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 4:34am UTC](https://discuss.elastic.co/t/inverted-index-creation/210194 "2019-12-03T04:34:45Z")

</div>

It might be a dumb question. Please excuse me. I understand from the documentation that for every document created in elasticsearch (ES), ES creates an index using TF-IDF or BM25 algorithm. Will inverted index will be…

---

## [Text similarity search with vector fields](https://discuss.elastic.co/t/text-similarity-search-with-vector-fields/208970)

<div class="topic-metadata">

**Author:** [@Leonardo\_Seccia](https://discuss.elastic.co/u/Leonardo_Seccia)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 3:43am UTC](https://discuss.elastic.co/t/text-similarity-search-with-vector-fields/208970 "2019-12-03T03:43:28Z")

</div>

@Julie\_Tibshirani post on Text similarity search with vector fields and the accompanying repo has been really helpful in jump-start a QnA project I am working on. Thank you! I have now migrated it to TensorFlow v2 and …

---

## [Could i assign field properties when index?](https://discuss.elastic.co/t/could-i-assign-field-properties-when-index/210159)

<div class="topic-metadata">

**Author:** [@hubo3085632](https://discuss.elastic.co/u/hubo3085632)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 2:56am UTC](https://discuss.elastic.co/t/could-i-assign-field-properties-when-index/210159 "2019-12-03T02:56:53Z")

</div>

I have some special field such as geo\_point , could i assign field properties when index, i do not want to create mapping before index

---

## [Out of memory in Elasticsearch](https://discuss.elastic.co/t/out-of-memory-in-elasticsearch/209588)

<div class="topic-metadata">

**Author:** [@kgpersonal](https://discuss.elastic.co/u/kgpersonal)\
**Replies:** 3\
**Last updated:** [December 3, 2019, 2:41am UTC](https://discuss.elastic.co/t/out-of-memory-in-elasticsearch/209588 "2019-12-03T02:41:56Z")

</div>

Hi Team, We have seen out of memory messages in one of our cluster logs with "java.lang.OutOfMemoryError: Java heap space" I am trying to understand on What are the different kinds of OutOfMemory messages occur in th…

---

## [Composite search question and error (need help please)](https://discuss.elastic.co/t/composite-search-question-and-error-need-help-please/210078)

<div class="topic-metadata">

**Author:** [@iukea](https://discuss.elastic.co/u/iukea)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 12:06am UTC](https://discuss.elastic.co/t/composite-search-question-and-error-need-help-please/210078 "2019-12-03T00:06:23Z")

</div>

Hello Elastic bros I am seeking some wisdom on setting up a composite search. I am trying to filter out "OS\_Threat.IO\_Threats" Below is my search quarry GET logstash-\*/\_search { "query": { "bool": { "must…

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

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