# Elasticsearch

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

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

**Page:** 1077

---

## [Installation of elasticsearch on Debian 10 hangs](https://discuss.elastic.co/t/installation-of-elasticsearch-on-debian-10-hangs/202794)

<div class="topic-metadata">

**Author:** [@leprovokateur](https://discuss.elastic.co/u/leprovokateur)\
**Replies:** 8\
**Last updated:** [December 4, 2019, 1:31pm UTC](https://discuss.elastic.co/t/installation-of-elasticsearch-on-debian-10-hangs/202794 "2019-12-04T13:31:32Z")

</div>

Hi, The installation of elasticsearch on a debian 10 using the repo hangs forever. The culprits seems to be the Java version checker: root 3977 3.4 1.9 261376 160304 pts/0 Sl+ 10:41 0:01 \\\_ aptitud…

---

## [Expanding Elasticsearch cluster but IP is the same as Kibana](https://discuss.elastic.co/t/expanding-elasticsearch-cluster-but-ip-is-the-same-as-kibana/210538)

<div class="topic-metadata">

**Author:** [@ntran](https://discuss.elastic.co/u/ntran)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 1:18pm UTC](https://discuss.elastic.co/t/expanding-elasticsearch-cluster-but-ip-is-the-same-as-kibana/210538 "2019-12-04T13:18:57Z")

</div>

Hi, Problem: I want to expand my cluster to have 3 nodes (1 master, 2 data), however, in my current config, the elasticsearch node + kibana instance have the same IP. I wish to use the current IP for kibana and spin up…

---

## [Painless - compare data fields without seconds](https://discuss.elastic.co/t/painless-compare-data-fields-without-seconds/210378)

<div class="topic-metadata">

**Author:** [@AstroSlazak](https://discuss.elastic.co/u/AstroSlazak)\
**Replies:** 1\
**Last updated:** [December 4, 2019, 1:08pm UTC](https://discuss.elastic.co/t/painless-compare-data-fields-without-seconds/210378 "2019-12-04T13:08:56Z")

</div>

Hi, I would like to comapre two data fields, but i don't want to be precisely to second, minutes are enough to me. My data fields looks like this: "Dec 2, 2019 @ 08:34:18.000" and my painless is: doc\['arrivaltime'\].v…

---

## [Elasticsearch cluster error](https://discuss.elastic.co/t/elasticsearch-cluster-error/210492)

<div class="topic-metadata">

**Author:** [@Sagar\_Mandal](https://discuss.elastic.co/u/Sagar_Mandal)\
**Replies:** 1\
**Last updated:** [December 4, 2019, 1:05pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-error/210492 "2019-12-04T13:05:13Z")

</div>

Hi Team, I created this two node cluster only where one is master node and the other is data node, but i am facing this error "failed to join master node", my both nodes are up but are not connected in anyway.

---

## [RPM upgrade from 7.1.1 to 7.5.0 fatal error](https://discuss.elastic.co/t/rpm-upgrade-from-7-1-1-to-7-5-0-fatal-error/210419)

<div class="topic-metadata">

**Author:** [@kdotson](https://discuss.elastic.co/u/kdotson)\
**Replies:** 2\
**Last updated:** [December 4, 2019, 1:02pm UTC](https://discuss.elastic.co/t/rpm-upgrade-from-7-1-1-to-7-5-0-fatal-error/210419 "2019-12-04T13:02:23Z")

</div>

Hi, I just upgraded my first data node from 7.1.1 to 7.5.0 and the node will not start using "systemctl start elasticsearch". This is a Centos 7.0 OS. To upgrade I stopped the node with "systemctl stop elasticsearch" …

---

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

<div class="topic-metadata">

**Author:** [@Ankita\_Mallick](https://discuss.elastic.co/u/Ankita_Mallick)\
**Replies:** 1\
**Last updated:** [December 4, 2019, 1:00pm UTC](https://discuss.elastic.co/t/not-able-to-run-elasticsearch/210503 "2019-12-04T13:00:34Z")

</div>

I am not able to run elastic search when i run it i am getting this error. Can anybody help me in getting out of this.. Picked up \_JAVA\_OPTIONS: -Xms2048M -Xmx4096M Picked up \_JAVA\_OPTIONS: -Xms2048M -Xmx4096M Picked …

---

## [Tribe node for elastic stack](https://discuss.elastic.co/t/tribe-node-for-elastic-stack/210157)

<div class="topic-metadata">

**Author:** [@seddikalaouiismaili](https://discuss.elastic.co/u/seddikalaouiismaili)\
**Replies:** 4\
**Last updated:** [December 4, 2019, 12:56pm UTC](https://discuss.elastic.co/t/tribe-node-for-elastic-stack/210157 "2019-12-04T12:56:39Z")

</div>

Hi team, I'm new on ES , is there any way to configure multi-cluster for ES stack to provide HA , i read notions about Tribe config, is it best practice for this ?, is it possible to set a tribe node for each cluster…

---

## [Create IntervalQueryBuilder Filter](https://discuss.elastic.co/t/create-intervalquerybuilder-filter/210536)

<div class="topic-metadata">

**Author:** [@prasad.deshpande](https://discuss.elastic.co/u/prasad.deshpande)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 12:47pm UTC](https://discuss.elastic.co/t/create-intervalquerybuilder-filter/210536 "2019-12-04T12:47:20Z")

</div>

Hi, How do I create an instance of IntervalQueryBuilder for the following snippet? I'm using ES 7.3.2. "query": { "intervals": { "Titles.Title.eng": { "all\_of": { "intervals": \[ …

---

## [Mappings validation](https://discuss.elastic.co/t/mappings-validation/210299)

<div class="topic-metadata">

**Author:** [@Pradyumna\_Achar](https://discuss.elastic.co/u/Pradyumna_Achar)\
**Replies:** 3\
**Last updated:** [December 4, 2019, 12:45pm UTC](https://discuss.elastic.co/t/mappings-validation/210299 "2019-12-04T12:45:02Z")

</div>

I have a question about the data types in Elasticsearch index mappings. I create an index: curl -X PUT "localhost:9200/test1?pretty" -H 'Content-Type: application/json' -d'{}' { "acknowledged" : true, "shards\_ackn…

---

## [Reindexing increase the size of the reindexed index](https://discuss.elastic.co/t/reindexing-increase-the-size-of-the-reindexed-index/210055)

<div class="topic-metadata">

**Author:** [@lusynda](https://discuss.elastic.co/u/lusynda)\
**Replies:** 7\
**Last updated:** [December 4, 2019, 12:44pm UTC](https://discuss.elastic.co/t/reindexing-increase-the-size-of-the-reindexed-index/210055 "2019-12-04T12:44:19Z")

</div>

Dear all After i reindex some index of mine most of their size increase like double and sometime the indexing doesnot work Can someone explain to to why? Thanks very much

---

## [\[error\] Elasticsearch can't find java](https://discuss.elastic.co/t/error-elasticsearch-cant-find-java/210520)

<div class="topic-metadata">

**Author:** [@vdritsou](https://discuss.elastic.co/u/vdritsou)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 11:21am UTC](https://discuss.elastic.co/t/error-elasticsearch-cant-find-java/210520 "2019-12-04T11:21:11Z")

</div>

Hello, I'm having trouble running elasticsearch on Windows 10, I get the error Could not find any executable java binary. Please install java in your PATH or set JAVA\_HOME My JAVA\_HOME is set to C:\\Program Files\\Java…

---

## [rangeQuery for Date with java](https://discuss.elastic.co/t/rangequery-for-date-with-java/210515)

<div class="topic-metadata">

**Author:** [@mly\_hmed\_Joti](https://discuss.elastic.co/u/mly_hmed_Joti)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 11:00am UTC](https://discuss.elastic.co/t/rangequery-for-date-with-java/210515 "2019-12-04T11:00:23Z")

</div>

i made a query with elasticsearch client in java , and when i try to searching a date they give me this erros Failed to execute phase \[query\], all shards failed; shardFailures {\[-AAmwvoOSUmuCZKhW-SZug\]\[car\]\[0\]: RemoteT…

---

## [Curator not able to delete indices](https://discuss.elastic.co/t/curator-not-able-to-delete-indices/210505)

<div class="topic-metadata">

**Author:** [@prawin84](https://discuss.elastic.co/u/prawin84)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 10:30am UTC](https://discuss.elastic.co/t/curator-not-able-to-delete-indices/210505 "2019-12-04T10:30:53Z")

</div>

Hi Team, I have a kubernetes cluster environment running with multiple pods. configured EFK in k8 to get the logs. I can able to see the logs in kibana dashboard but the curator is not deleting the indices from elastic …

---

## [Update doc success, but can't search the doc in 6.8](https://discuss.elastic.co/t/update-doc-success-but-cant-search-the-doc-in-6-8/210489)

<div class="topic-metadata">

**Author:** [@NigelZHANG](https://discuss.elastic.co/u/NigelZHANG)\
**Replies:** 3\
**Last updated:** [December 4, 2019, 9:36am UTC](https://discuss.elastic.co/t/update-doc-success-but-cant-search-the-doc-in-6-8/210489 "2019-12-04T09:36:20Z")

</div>

I delete the doc and force merge the index, It show the result is updated when I put the doc again, but the doc can't search. I check the es doc that tell me the doc will not delete immediately, but why I can't search it…

---

## [Is it possible to filter multiple records of one index from another index in elasticsearch query?](https://discuss.elastic.co/t/is-it-possible-to-filter-multiple-records-of-one-index-from-another-index-in-elasticsearch-query/210464)

<div class="topic-metadata">

**Author:** [@adarshzphin](https://discuss.elastic.co/u/adarshzphin)\
**Replies:** 1\
**Last updated:** [December 4, 2019, 8:36am UTC](https://discuss.elastic.co/t/is-it-possible-to-filter-multiple-records-of-one-index-from-another-index-in-elasticsearch-query/210464 "2019-12-04T08:36:47Z")

</div>

Lets say I have 100 records in index1 and 10 records in index2. And I want to get like this: select \* from index1 where id not in (select id from index2) Can we have the same above query in elasticsearch or is it even …

---

## [Getting recent searched result](https://discuss.elastic.co/t/getting-recent-searched-result/210482)

<div class="topic-metadata">

**Author:** [@afiq](https://discuss.elastic.co/u/afiq)\
**Replies:** 1\
**Last updated:** [December 4, 2019, 8:32am UTC](https://discuss.elastic.co/t/getting-recent-searched-result/210482 "2019-12-04T08:32:11Z")

</div>

Hi guys. I'm pretty new with elasticsearch. How do I write a query to get results of most recent searched documents and sorted. For example if I used to search that specific document, when I come back and search it agai…

---

## [Using Application join](https://discuss.elastic.co/t/using-application-join/210451)

<div class="topic-metadata">

**Author:** [@Haneul\_Kim](https://discuss.elastic.co/u/Haneul_Kim)\
**Replies:** 5\
**Last updated:** [December 4, 2019, 8:12am UTC](https://discuss.elastic.co/t/using-application-join/210451 "2019-12-04T08:12:50Z")

</div>

by reading https://www.elastic.co/guide/en/elasticsearch/guide/current/application-joins.html#application-joins Now I understand I can get list of values then use them as a filter. Since version 5.0 "filtered" query has…

---

## [Timeout issue when using reindex API](https://discuss.elastic.co/t/timeout-issue-when-using-reindex-api/210484)

<div class="topic-metadata">

**Author:** [@ymin1103](https://discuss.elastic.co/u/ymin1103)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 7:44am UTC](https://discuss.elastic.co/t/timeout-issue-when-using-reindex-api/210484 "2019-12-04T07:44:49Z")

</div>

Hello. I am using elasticsearch and kibana with version 7.5.0 now. My cluster consists of 1 master node, 2 data nodes and 1 coordi node. I tried to reindex an index with about 200k documents to a new index within the c…

---

## [How to fetch all records from elasticsearch?](https://discuss.elastic.co/t/how-to-fetch-all-records-from-elasticsearch/210294)

<div class="topic-metadata">

**Author:** [@navdeepk](https://discuss.elastic.co/u/navdeepk)\
**Replies:** 2\
**Last updated:** [December 4, 2019, 6:59am UTC](https://discuss.elastic.co/t/how-to-fetch-all-records-from-elasticsearch/210294 "2019-12-04T06:59:57Z")

</div>

I am working on Log analyzer tool.....Using Angular 6 on front end and node js on back end. By using filebeat tool to parse access logs, I have successfully insert logs in elasticsearch... Now am getting problem by fetc…

---

## [GC Collection (OLD) on Data Node brings node offline](https://discuss.elastic.co/t/gc-collection-old-on-data-node-brings-node-offline/209230)

<div class="topic-metadata">

**Author:** [@Newbie2019](https://discuss.elastic.co/u/Newbie2019)\
**Replies:** 6\
**Last updated:** [December 4, 2019, 1:41am UTC](https://discuss.elastic.co/t/gc-collection-old-on-data-node-brings-node-offline/209230 "2019-12-04T01:41:57Z")

</div>

Hi all, I am a newbie to elasticsearch, and I have an issue with my ES cluster.d). “Something” triggers one of the data nodes to do an extensive old GC which lasts for a few minutes. During this GC’ing the master node …

---

## [Passing missing\_bucket argument in TermsValuesSourceBuilder java api](https://discuss.elastic.co/t/passing-missing-bucket-argument-in-termsvaluessourcebuilder-java-api/210440)

<div class="topic-metadata">

**Author:** [@Seetha93](https://discuss.elastic.co/u/Seetha93)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 11:59pm UTC](https://discuss.elastic.co/t/passing-missing-bucket-argument-in-termsvaluessourcebuilder-java-api/210440 "2019-12-03T23:59:49Z")

</div>

While creating CompositeAggregation using CompositeAggregationBuilder and TermsValuesSourceBuilder, is it possible to pass missing\_ bucket? I mean is the following constructor exists ? TermsValuesSourceBuilder(name, …

---

## [How to handle type conflicts emerging from json logs?](https://discuss.elastic.co/t/how-to-handle-type-conflicts-emerging-from-json-logs/210350)

<div class="topic-metadata">

**Author:** [@Naseem](https://discuss.elastic.co/u/Naseem)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 11:17pm UTC](https://discuss.elastic.co/t/how-to-handle-type-conflicts-emerging-from-json-logs/210350 "2019-12-03T23:17:45Z")

</div>

Hello, we prefer structured logs as it helps us perform filtered searches in ES, however there are oftentimes conflicts for certain fields, for example ts, timestamp or time depending on the app may be of type date or of…

---

## [Can I use 7.x elasticsearch client library "org.elasticsearch.client:elasticsearch-rest-client" with 6.x elasticsearch server](https://discuss.elastic.co/t/can-i-use-7-x-elasticsearch-client-library-org-elasticsearch-client-elasticsearch-rest-client-with-6-x-elasticsearch-server/210368)

<div class="topic-metadata">

**Author:** [@Dmitry\_Sysolyatin](https://discuss.elastic.co/u/Dmitry_Sysolyatin)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 11:14pm UTC](https://discuss.elastic.co/t/can-i-use-7-x-elasticsearch-client-library-org-elasticsearch-client-elasticsearch-rest-client-with-6-x-elasticsearch-server/210368 "2019-12-03T23:14:26Z")

</div>

Hi, Can I use 7.x elasticsearch client library "org.elasticsearch.client:elasticsearch-rest-client" with 6.x elasticsearch server. Is there backward compatibility in client library ?

---

## [Highlighting two fields while query one field](https://discuss.elastic.co/t/highlighting-two-fields-while-query-one-field/210223)

<div class="topic-metadata">

**Author:** [@shani\_angarkadu](https://discuss.elastic.co/u/shani_angarkadu)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 9:26pm UTC](https://discuss.elastic.co/t/highlighting-two-fields-while-query-one-field/210223 "2019-12-03T21:26:45Z")

</div>

I am trying to highlight the match words on two fields while the query searches on 1 filed. for example, if I search for cancer in terms, I want the highlight in both terms and another filed pref\_terms. { "highlight"…

---

## [\[ERROR\] Elastic 7.4.2 connection errors in AWS failing to join cluster](https://discuss.elastic.co/t/error-elastic-7-4-2-connection-errors-in-aws-failing-to-join-cluster/210422)

<div class="topic-metadata">

**Author:** [@wambozi](https://discuss.elastic.co/u/wambozi)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 8:58pm UTC](https://discuss.elastic.co/t/error-elastic-7-4-2-connection-errors-in-aws-failing-to-join-cluster/210422 "2019-12-03T20:58:08Z")

</div>

I'm trying to build a new, 6 node cluster in AWS (not the managed service, just the servers) and I'm getting errors around the nodes not being able to connect to each other. All instances are in the same subnet, in the …

---

## [FSCrawler - Ingest pipeline error](https://discuss.elastic.co/t/fscrawler-ingest-pipeline-error/210275)

<div class="topic-metadata">

**Author:** [@c95mbq](https://discuss.elastic.co/u/c95mbq)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 8:21pm UTC](https://discuss.elastic.co/t/fscrawler-ingest-pipeline-error/210275 "2019-12-03T20:21:44Z")

</div>

Hi, I'm using FSCrawler 2.7 and Elasticsearch and Kibana 7.1.1. I have a single document where I want to extract and add two separate fields from said document. I have the following POST \_ingest/pipeline/\_simulate {…

---

## [Job for elasticsearch.service failed because the control process exited with error code- VPS CentOs 7 Linux](https://discuss.elastic.co/t/job-for-elasticsearch-service-failed-because-the-control-process-exited-with-error-code-vps-centos-7-linux/210056)

<div class="topic-metadata">

**Author:** [@balu\_thomas](https://discuss.elastic.co/u/balu_thomas)\
**Replies:** 3\
**Last updated:** [December 3, 2019, 7:24pm UTC](https://discuss.elastic.co/t/job-for-elasticsearch-service-failed-because-the-control-process-exited-with-error-code-vps-centos-7-linux/210056 "2019-12-03T19:24:55Z")

</div>

\[root@--217-28 Packages\]# systemctl status elasticsearch.service -l ● elasticsearch.service - Elasticsearch Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled) Active: fail…

---

## [Pipeline with id \[xpack\_monitoring\_6\] does not exist](https://discuss.elastic.co/t/pipeline-with-id-xpack-monitoring-6-does-not-exist/210014)

<div class="topic-metadata">

**Author:** [@sandeepkanabar](https://discuss.elastic.co/u/sandeepkanabar)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 5:44pm UTC](https://discuss.elastic.co/t/pipeline-with-id-xpack-monitoring-6-does-not-exist/210014 "2019-12-03T17:44:10Z")

</div>

I have a 5.5.1 ES cluster that I was looking to upgrade to 5.6.16. It is a 4 node cluster with 1 master node and 3 data nodes in TEST (non-prod) environment. In order to test my upgrade scripts, I added a new master node…

---

## [Adding property to index type getting deprecation warning](https://discuss.elastic.co/t/adding-property-to-index-type-getting-deprecation-warning/210405)

<div class="topic-metadata">

**Author:** [@rmunnur](https://discuss.elastic.co/u/rmunnur)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 5:24pm UTC](https://discuss.elastic.co/t/adding-property-to-index-type-getting-deprecation-warning/210405 "2019-12-03T17:24:02Z")

</div>

Can someone help me to understand this warning message while adding adding property to the index type PUT /mfrtestcase/\_mapping/index { "properties": { "mfrid": { "type": "integer" } } } #! Deprecation: \[types r…

---

## [Nodes crashing from sudden Out of Memory error](https://discuss.elastic.co/t/nodes-crashing-from-sudden-out-of-memory-error/209890)

<div class="topic-metadata">

**Author:** [@ibailak1](https://discuss.elastic.co/u/ibailak1)\
**Replies:** 3\
**Last updated:** [December 3, 2019, 5:23pm UTC](https://discuss.elastic.co/t/nodes-crashing-from-sudden-out-of-memory-error/209890 "2019-12-03T17:23:51Z")

</div>

Hi, We are currently running ES 6.5 in 71 nodes using hot-warm architecture. We have 3 master nodes, 34 warm nodes and 34 hot nodes. Hot nodes have 64GB of RAM , 30GB of them for the heap. In the warm nodes we have 128G…

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

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