# Elasticsearch

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

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

**Page:** 1233

---

## [Can we run a search query on a particular shard of the index?](https://discuss.elastic.co/t/can-we-run-a-search-query-on-a-particular-shard-of-the-index/189831)

<div class="topic-metadata">

**Author:** [@praveengadugin1](https://discuss.elastic.co/u/praveengadugin1)\
**Replies:** 2\
**Last updated:** [July 10, 2019, 5:08pm UTC](https://discuss.elastic.co/t/can-we-run-a-search-query-on-a-particular-shard-of-the-index/189831 "2019-07-10T17:08:25Z")

</div>

Is there a way to get documents from a specific shard? like GET index&shard=2/\_search

---

## [Is reindexing from a source index which has a relocating shard slower?](https://discuss.elastic.co/t/is-reindexing-from-a-source-index-which-has-a-relocating-shard-slower/189836)

<div class="topic-metadata">

**Author:** [@praveengadugin1](https://discuss.elastic.co/u/praveengadugin1)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 5:04pm UTC](https://discuss.elastic.co/t/is-reindexing-from-a-source-index-which-has-a-relocating-shard-slower/189836 "2019-07-10T17:04:48Z")

</div>

I am trying to reindex 14 million documents. It has become really slow after 12 million docs. Source index has a relocating shard which has relocated 60 percent now. could that be the reason for slowness of reindexing …

---

## [Elasticsearch Configuring \_id autogeneration function](https://discuss.elastic.co/t/elasticsearch-configuring-id-autogeneration-function/189816)

<div class="topic-metadata">

**Author:** [@orchapod](https://discuss.elastic.co/u/orchapod)\
**Replies:** 1\
**Last updated:** [July 10, 2019, 4:37pm UTC](https://discuss.elastic.co/t/elasticsearch-configuring-id-autogeneration-function/189816 "2019-07-10T16:37:57Z")

</div>

I understand that when you attempt to index an document without specifying an id, Elasticsearch will autogenerate an unique id for your document. I am wondering if it's possible to configure that id generation function …

---

## [Ignore\_above change default for all indices?](https://discuss.elastic.co/t/ignore-above-change-default-for-all-indices/189824)

<div class="topic-metadata">

**Author:** [@EvanG](https://discuss.elastic.co/u/EvanG)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 4:08pm UTC](https://discuss.elastic.co/t/ignore-above-change-default-for-all-indices/189824 "2019-07-10T16:08:57Z")

</div>

Hello team, I have a separate index for each calendar day, (so there will be plenty of indices going forward. I'm looking for a way to set the default message ignore\_above value, rather then updating it for each index…

---

## [Security\_exception: action \[cluster:monitor/main\] is unauthorized for user \[user.name\]](https://discuss.elastic.co/t/security-exception-action-cluster-monitor-main-is-unauthorized-for-user-user-name/189823)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 4:04pm UTC](https://discuss.elastic.co/t/security-exception-action-cluster-monitor-main-is-unauthorized-for-user-user-name/189823 "2019-07-10T16:04:31Z")

</div>

Hello World! I'm trying to authenticate against my cluster, yet running into following security exception: # curl -v --user user.name:password http://localhost:9200/?pretty \* Trying ::1... \* TCP\_NODELAY set \* connect…

---

## [EC2 discovery can't see other node](https://discuss.elastic.co/t/ec2-discovery-cant-see-other-node/189613)

<div class="topic-metadata">

**Author:** [@ccleve](https://discuss.elastic.co/u/ccleve)\
**Replies:** 3\
**Last updated:** [July 10, 2019, 3:55pm UTC](https://discuss.elastic.co/t/ec2-discovery-cant-see-other-node/189613 "2019-07-10T15:55:00Z")

</div>

This topic seems to get posted again and again, and I've gone through all the other answers with no luck. I'm using version 7.2.0. I'm trying to do a plain-vanilla install on EC2. I have two nodes in the same VPC, same …

---

## [Elasticsearch not starting on Second Run... Voting Configuration and Quorum Issue](https://discuss.elastic.co/t/elasticsearch-not-starting-on-second-run-voting-configuration-and-quorum-issue/189416)

<div class="topic-metadata">

**Author:** [@oriondark](https://discuss.elastic.co/u/oriondark)\
**Replies:** 7\
**Last updated:** [July 10, 2019, 3:38pm UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-on-second-run-voting-configuration-and-quorum-issue/189416 "2019-07-10T15:38:15Z")

</div>

Startup error: (not on initial run of new elasticsearch instance) "org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: cannot start with \[discovery.type\] set to \[single-node\] when local node …

---

## [Search-hints highlighting in PDFA\`s and PDF's with Tiff overlay](https://discuss.elastic.co/t/search-hints-highlighting-in-pdfa-s-and-pdfs-with-tiff-overlay/189806)

<div class="topic-metadata">

**Author:** [@bill99](https://discuss.elastic.co/u/bill99)\
**Replies:** 1\
**Last updated:** [July 10, 2019, 3:06pm UTC](https://discuss.elastic.co/t/search-hints-highlighting-in-pdfa-s-and-pdfs-with-tiff-overlay/189806 "2019-07-10T15:06:43Z")

</div>

Hello Forum Does ElasticSerach support (out-of the box) to highlight search hints in PDFA's and PDF's with TIFF-overlay (I would like to enter my queries into a Web-UI/webbroser)? Thank for any feedback! Bill PS htt…

---

## [Pushing auto-follow-pattern results in a Null pointer exception on elasticsearch side](https://discuss.elastic.co/t/pushing-auto-follow-pattern-results-in-a-null-pointer-exception-on-elasticsearch-side/189666)

<div class="topic-metadata">

**Author:** [@kley](https://discuss.elastic.co/u/kley)\
**Replies:** 2\
**Last updated:** [July 10, 2019, 2:46pm UTC](https://discuss.elastic.co/t/pushing-auto-follow-pattern-results-in-a-null-pointer-exception-on-elasticsearch-side/189666 "2019-07-10T14:46:54Z")

</div>

Hi guys! So, we installed elasticsearch 6.8.1 on 6 nodes and are trying to setup CCR with two clusters - 3 nodes each. License is activated and valid, remote settings are set (seed, nodes and cluster name). But now, som…

---

## [Score-Boosting Using Scripting](https://discuss.elastic.co/t/score-boosting-using-scripting/189796)

<div class="topic-metadata">

**Author:** [@nola111](https://discuss.elastic.co/u/nola111)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 2:33pm UTC](https://discuss.elastic.co/t/score-boosting-using-scripting/189796 "2019-07-10T14:33:24Z")

</div>

We have documents in ElasticSearch which contain proper names, dates of birth, addresses, ID numbers, and other related info. We use a name-matching plugin which overrides the default scoring of ES and assigns a relevan…

---

## [How to know the current date in a sql query in kibana](https://discuss.elastic.co/t/how-to-know-the-current-date-in-a-sql-query-in-kibana/189756)

<div class="topic-metadata">

**Author:** [@Diego\_Benito](https://discuss.elastic.co/u/Diego_Benito)\
**Replies:** 4\
**Last updated:** [July 10, 2019, 2:15pm UTC](https://discuss.elastic.co/t/how-to-know-the-current-date-in-a-sql-query-in-kibana/189756 "2019-07-10T14:15:46Z")

</div>

Hi, Im trying to execute the follow sql query: GET \_xpack/sql?format=txt { "query" :""" select level from "default-\*" where queueName='ASPY\_001\_0200\_RecogidaDatosGISS' and (transactionStatus='2' or transactionStat…

---

## [Index naming question](https://discuss.elastic.co/t/index-naming-question/189778)

<div class="topic-metadata">

**Author:** [@fdaa](https://discuss.elastic.co/u/fdaa)\
**Replies:** 2\
**Last updated:** [July 10, 2019, 2:08pm UTC](https://discuss.elastic.co/t/index-naming-question/189778 "2019-07-10T14:08:21Z")

</div>

I'm about to install an ELK stack for system logs. One of the systems I will stash events from is our VMware ESX farm, via syslog from ESX servers to VCenter server and then via Filebeat on the VCenter server to Logstash…

---

## [Update to a specific version with homebrew](https://discuss.elastic.co/t/update-to-a-specific-version-with-homebrew/189788)

<div class="topic-metadata">

**Author:** [@gongon](https://discuss.elastic.co/u/gongon)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 2:07pm UTC](https://discuss.elastic.co/t/update-to-a-specific-version-with-homebrew/189788 "2019-07-10T14:07:12Z")

</div>

HI, I have already installed elasticsearch 6.1 with homebrew. How I can update easy to the specific version 6.8 not the last version, with homebrew ?

---

## [How to write Match\_all Search Query in Low Level Rest Client API](https://discuss.elastic.co/t/how-to-write-match-all-search-query-in-low-level-rest-client-api/189513)

<div class="topic-metadata">

**Author:** [@samyo](https://discuss.elastic.co/u/samyo)\
**Replies:** 9\
**Last updated:** [July 10, 2019, 1:55pm UTC](https://discuss.elastic.co/t/how-to-write-match-all-search-query-in-low-level-rest-client-api/189513 "2019-07-10T13:55:00Z")

</div>

Hello folks, i need some help please , to write a correct Search Query to match all things inside my Index in Elasticsearch . I want also to translate this Query in Java Low Level Rest Client API. GET try1/\_search { …

---

## [Elasticsearch in kubernetes: how to use remote filesystem?](https://discuss.elastic.co/t/elasticsearch-in-kubernetes-how-to-use-remote-filesystem/189781)

<div class="topic-metadata">

**Author:** [@asp](https://discuss.elastic.co/u/asp)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 1:42pm UTC](https://discuss.elastic.co/t/elasticsearch-in-kubernetes-how-to-use-remote-filesystem/189781 "2019-07-10T13:42:59Z")

</div>

Hi, I want to run elasticsearch in kubernetes. Since I understand the kubernetes paradigm this way, that "don't care on which node your stuff is running", I am hesitating with pinning elasticsearch on defined kubernetes…

---

## [Elasticsearch error: Fielddata is disabled on text fields by default](https://discuss.elastic.co/t/elasticsearch-error-fielddata-is-disabled-on-text-fields-by-default/189779)

<div class="topic-metadata">

**Author:** [@sahere37](https://discuss.elastic.co/u/sahere37)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 1:38pm UTC](https://discuss.elastic.co/t/elasticsearch-error-fielddata-is-disabled-on-text-fields-by-default/189779 "2019-07-10T13:38:07Z")

</div>

hi all, I have a field as PFiled which its format is as following: 1398-04-14 it is not a date field, but elasticsearch defined its mapping as date which is wrong. I define template to set it as text as following: PU…

---

## [Migration of elasticsearch java Client from 1.4.2 to 7.2 (problem in filteredQuery method)](https://discuss.elastic.co/t/migration-of-elasticsearch-java-client-from-1-4-2-to-7-2-problem-in-filteredquery-method/189688)

<div class="topic-metadata">

**Author:** [@youssef\_elhayani](https://discuss.elastic.co/u/youssef_elhayani)\
**Replies:** 5\
**Last updated:** [July 10, 2019, 12:32pm UTC](https://discuss.elastic.co/t/migration-of-elasticsearch-java-client-from-1-4-2-to-7-2-problem-in-filteredquery-method/189688 "2019-07-10T12:32:50Z")

</div>

Hi, Currently i am running elasticsearch in 1.4.2 and I trying to make it run in 7.2 , the problem that i found is in The method filteredQuery(MatchAllQueryBuilder, String, String) and filteredQuery(MatchAllQueryBuilder…

---

## [Search not giving desired result](https://discuss.elastic.co/t/search-not-giving-desired-result/189324)

<div class="topic-metadata">

**Author:** [@Shubham\_Yadav1](https://discuss.elastic.co/u/Shubham_Yadav1)\
**Replies:** 3\
**Last updated:** [July 10, 2019, 12:31pm UTC](https://discuss.elastic.co/t/search-not-giving-desired-result/189324 "2019-07-10T12:31:34Z")

</div>

I am searching for a keyword in my aws elasticsearch where it is indexed seperately and it is also present in other fields that are indexed. The problem is I am not able to search it when it is prefixed with some other a…

---

## [Request time-out in bulk update](https://discuss.elastic.co/t/request-time-out-in-bulk-update/189760)

<div class="topic-metadata">

**Author:** [@Rajesh\_Sharma](https://discuss.elastic.co/u/Rajesh_Sharma)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 12:21pm UTC](https://discuss.elastic.co/t/request-time-out-in-bulk-update/189760 "2019-07-10T12:21:50Z")

</div>

Hi, I am making a bulk request ( 1000 doc) per bulk request in Elasticsearch 5.5.1 and it's getting time-out sometimes ( I have 30 sec. time-out configured in yml file). Now, I actually need to trace the details of th…

---

## [Query DSL, matching string, very easy example](https://discuss.elastic.co/t/query-dsl-matching-string-very-easy-example/189532)

<div class="topic-metadata">

**Author:** [@icirco](https://discuss.elastic.co/u/icirco)\
**Replies:** 3\
**Last updated:** [July 10, 2019, 12:21pm UTC](https://discuss.elastic.co/t/query-dsl-matching-string-very-easy-example/189532 "2019-07-10T12:21:17Z")

</div>

hi, I'm starting on DSL query... I'm a little bit lost because as an example I try to match a very easy sample but I can't match... Is somebody can help me ? the only answer I get (on elasticsearch Head) is the 10th fi…

---

## [License enquiry for using elasticsearch in a lab enviornment to teach students](https://discuss.elastic.co/t/license-enquiry-for-using-elasticsearch-in-a-lab-enviornment-to-teach-students/189746)

<div class="topic-metadata">

**Author:** [@iam-alex](https://discuss.elastic.co/u/iam-alex)\
**Replies:** 1\
**Last updated:** [July 10, 2019, 12:19pm UTC](https://discuss.elastic.co/t/license-enquiry-for-using-elasticsearch-in-a-lab-enviornment-to-teach-students/189746 "2019-07-10T12:19:02Z")

</div>

Hi, This topic is in regarding the Elastic License. First of all, I'd like to say Great Work! I'm really impressed with elastic search. I'm a teacher and I take online classes, I also have a paid lab environment where…

---

## [Search documents present in same log file](https://discuss.elastic.co/t/search-documents-present-in-same-log-file/189745)

<div class="topic-metadata">

**Author:** [@Yogendra\_Hada](https://discuss.elastic.co/u/Yogendra_Hada)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 11:41am UTC](https://discuss.elastic.co/t/search-documents-present-in-same-log-file/189745 "2019-07-10T11:41:04Z")

</div>

Hello, I have an ES cluster setup. We are using logstash to structure our log-lines and for ingesting into Elasticsearch. We've got indexes with multiple fields out of which two are:- "syslog\_message" - {"type": text…

---

## [Conversion of OData Queries to Elastic Queries](https://discuss.elastic.co/t/conversion-of-odata-queries-to-elastic-queries/189741)

<div class="topic-metadata">

**Author:** [@Sai\_Teja\_Singamsetty](https://discuss.elastic.co/u/Sai_Teja_Singamsetty)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 11:33am UTC](https://discuss.elastic.co/t/conversion-of-odata-queries-to-elastic-queries/189741 "2019-07-10T11:33:59Z")

</div>

Is there any support to convert the OData queries requested from the Front end to Elastic DSL Queries to fetch data from my ElasticDB in .Net Core?

---

## [Does Elasticsearch work with Apache HTTPD on Windows?](https://discuss.elastic.co/t/does-elasticsearch-work-with-apache-httpd-on-windows/189712)

<div class="topic-metadata">

**Author:** [@chris\_kerr](https://discuss.elastic.co/u/chris_kerr)\
**Replies:** 6\
**Last updated:** [July 10, 2019, 11:27am UTC](https://discuss.elastic.co/t/does-elasticsearch-work-with-apache-httpd-on-windows/189712 "2019-07-10T11:27:30Z")

</div>

I haven't been able to find an answer to this in the documentation. I am part of a team currently evaluating whether Elasticsearch works for us. Getting Elasticsearch up and running will take some time, so it would be h…

---

## ["\[query\_shard\_exception\] failed to create query" for second index/website](https://discuss.elastic.co/t/query-shard-exception-failed-to-create-query-for-second-index-website/189721)

<div class="topic-metadata">

**Author:** [@joshua.creek](https://discuss.elastic.co/u/joshua.creek)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 10:26am UTC](https://discuss.elastic.co/t/query-shard-exception-failed-to-create-query-for-second-index-website/189721 "2019-07-10T10:26:18Z")

</div>

Hello! I'm in the process of adding elasticsearch to our second website, with a new index. Each site has a specified index in a js config file. The current site works flawlessly, however when trying to run a search on t…

---

## [BCP for load balanicing client nodes](https://discuss.elastic.co/t/bcp-for-load-balanicing-client-nodes/189697)

<div class="topic-metadata">

**Author:** [@stefws](https://discuss.elastic.co/u/stefws)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 9:05am UTC](https://discuss.elastic.co/t/bcp-for-load-balanicing-client-nodes/189697 "2019-07-10T09:05:22Z")

</div>

Got a 6.8 cluster of currently only multiple data nodes, thinking of add new search&ingest clients and hence considering expanding the cluster with dedicated master nodes (3) and possible some ingest-only (ie. non data) …

---

## [Elasticsearch 7.2.0 | Windows | Basic Plan | Elasticsearch service doesn't start when x-pack.security.enabled=true](https://discuss.elastic.co/t/elasticsearch-7-2-0-windows-basic-plan-elasticsearch-service-doesnt-start-when-x-pack-security-enabled-true/189338)

<div class="topic-metadata">

**Author:** [@Andrew\_James](https://discuss.elastic.co/u/Andrew_James)\
**Replies:** 6\
**Last updated:** [July 10, 2019, 8:25am UTC](https://discuss.elastic.co/t/elasticsearch-7-2-0-windows-basic-plan-elasticsearch-service-doesnt-start-when-x-pack-security-enabled-true/189338 "2019-07-10T08:25:48Z")

</div>

Hi Team, This is the continuation of the Github issue page that I have opened. Elasticsearch Version: 7.2.0 Java Version: 12 OS: Windows Environment: Development / Local Installation Mode: .ZIP file Java Heap Size…

---

## [Elasticsearch 6.6.0 docker container Error: failed to read \[id:143, file:/usr/share/elasticsearch/data/nodes/0/\_state/global-143.st\]](https://discuss.elastic.co/t/elasticsearch-6-6-0-docker-container-error-failed-to-read-id-143-file-usr-share-elasticsearch-data-nodes-0-state-global-143-st/187203)

<div class="topic-metadata">

**Author:** [@ShwetaP](https://discuss.elastic.co/u/ShwetaP)\
**Replies:** 6\
**Last updated:** [July 10, 2019, 8:08am UTC](https://discuss.elastic.co/t/elasticsearch-6-6-0-docker-container-error-failed-to-read-id-143-file-usr-share-elasticsearch-data-nodes-0-state-global-143-st/187203 "2019-07-10T08:08:13Z")

</div>

I tried upgrading elasticsearch from 6.6.0 to 7.1.1. Due to some issues I reverted back to 6.6.0 and now the elasticsearch container is having issues in starting up. Any help in troubleshooting this would be appreciated…

---

## [Elastic cluster issue :collector \[index-stats\] timed out when collecting data](https://discuss.elastic.co/t/elastic-cluster-issue-collector-index-stats-timed-out-when-collecting-data/187993)

<div class="topic-metadata">

**Author:** [@vivektsb](https://discuss.elastic.co/u/vivektsb)\
**Replies:** 0\
**Last updated:** [June 28, 2019, 8:39am UTC](https://discuss.elastic.co/t/elastic-cluster-issue-collector-index-stats-timed-out-when-collecting-data/187993 "2019-06-28T08:39:26Z")

</div>

Hi , We have 7 node elastic cluster out of which 5 are master eligible nodes and 2 are data nodes. We have currently 13.8 Tb data with total 682 shards.Each index has 5 shards and 1 replica each node with 5 TB HDD,64 G…

---

## [How to change certificate's CN](https://discuss.elastic.co/t/how-to-change-certificates-cn/189317)

<div class="topic-metadata">

**Author:** [@yeziblo](https://discuss.elastic.co/u/yeziblo)\
**Replies:** 4\
**Last updated:** [July 10, 2019, 6:30am UTC](https://discuss.elastic.co/t/how-to-change-certificates-cn/189317 "2019-07-10T06:30:47Z")

</div>

Hi everyone, I generated the CA and Certs as suggested by the docs: bin/elasticsearch-certutil ca bin/elasticsearch-certutil cert --ca elastic-stack-ca.p12 I found that the CN of the certificate is "instance". My ho…

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

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