# Elasticsearch

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

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

**Page:** 1659

---

## [ES performance when bulk create and GET in the same time](https://discuss.elastic.co/t/es-performance-when-bulk-create-and-get-in-the-same-time/135281)

<div class="topic-metadata">

**Author:** [@Natalia\_Kuleniuk](https://discuss.elastic.co/u/Natalia_Kuleniuk)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 6:06am UTC](https://discuss.elastic.co/t/es-performance-when-bulk-create-and-get-in-the-same-time/135281 "2018-06-11T06:06:12Z")

</div>

Hi. I have general question about ES. (1) I run program that creates a bunch of new ES documents in the same time (Program runs for ~1.5 min and creates thousands of documents). (2) In the same time, another program …

---

## [Handling Conflicts](https://discuss.elastic.co/t/handling-conflicts/135240)

<div class="topic-metadata">

**Author:** [@panda2004](https://discuss.elastic.co/u/panda2004)\
**Replies:** 4\
**Last updated:** [June 11, 2018, 6:02am UTC](https://discuss.elastic.co/t/handling-conflicts/135240 "2018-06-11T06:02:12Z")

</div>

Hey, I do know that ElasticSearch uses internally version control, for optimistic concurrency control. It guarantees that only one update is processed at once to a document. However, what happens when processing multip…

---

## [Rally's offine installation and usage](https://discuss.elastic.co/t/rallys-offine-installation-and-usage/135289)

<div class="topic-metadata">

**Author:** [@Duke](https://discuss.elastic.co/u/Duke)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 5:29am UTC](https://discuss.elastic.co/t/rallys-offine-installation-and-usage/135289 "2018-06-11T05:29:42Z")

</div>

How to benchmark already installed elasticsearch through rally in offline mode?Also for pre-installed es source build mode should be used or binary distribution can be used?Please explain and share the steps.

---

## [When type is text, setting "index" to "not\_analyzed" does not seem to work](https://discuss.elastic.co/t/when-type-is-text-setting-index-to-not-analyzed-does-not-seem-to-work/135283)

<div class="topic-metadata">

**Author:** [@hubiao](https://discuss.elastic.co/u/hubiao)\
**Replies:** 0\
**Last updated:** [June 11, 2018, 3:51am UTC](https://discuss.elastic.co/t/when-type-is-text-setting-index-to-not-analyzed-does-not-seem-to-work/135283 "2018-06-11T03:51:30Z")

</div>

"properties": { "columns": { "properties": { "id": { "type": "keyword", "index": "not\_analyzed" }, "name": { "type": "keyword", "index": "not\_analyzed" }, …

---

## [How does painless get the original value of document (without participle)?](https://discuss.elastic.co/t/how-does-painless-get-the-original-value-of-document-without-participle/135282)

<div class="topic-metadata">

**Author:** [@hubiao](https://discuss.elastic.co/u/hubiao)\
**Replies:** 0\
**Last updated:** [June 11, 2018, 3:31am UTC](https://discuss.elastic.co/t/how-does-painless-get-the-original-value-of-document-without-participle/135282 "2018-06-11T03:31:48Z")

</div>

Environmental Science： Window R2 64 JDK 1.8 ElasticSearch5.5.0 300 million data, 20G index. How do I use doc\[key\] to get the value of the participle in the painless script? Or get the value of his original document

---

## [Advice on automatic failover in case of node failure](https://discuss.elastic.co/t/advice-on-automatic-failover-in-case-of-node-failure/134881)

<div class="topic-metadata">

**Author:** [@kishoreji](https://discuss.elastic.co/u/kishoreji)\
**Replies:** 2\
**Last updated:** [June 11, 2018, 3:20am UTC](https://discuss.elastic.co/t/advice-on-automatic-failover-in-case-of-node-failure/134881 "2018-06-11T03:20:20Z")

</div>

Hi Experts, I am first timer - created a HLRestClient to utilize BulkProcessor to push bulk data asynchronously to my cluster. Everything works great. Details: node list is provided in prop file as below: el\_hosts=no…

---

## [Curator and how to delete certain indices](https://discuss.elastic.co/t/curator-and-how-to-delete-certain-indices/134906)

<div class="topic-metadata">

**Author:** [@jamesl](https://discuss.elastic.co/u/jamesl)\
**Replies:** 2\
**Last updated:** [June 11, 2018, 2:11am UTC](https://discuss.elastic.co/t/curator-and-how-to-delete-certain-indices/134906 "2018-06-11T02:11:38Z")

</div>

Hi. Right now I purge indices older than 7days. I have other indices that I need to delete sooner and others I need to keep forever. Is there an easy way to do this? an extract of my actions.yml file is below. Thanks. …

---

## [Elastcisearch](https://discuss.elastic.co/t/elastcisearch/135128)

<div class="topic-metadata">

**Author:** [@amritesh\_mishra](https://discuss.elastic.co/u/amritesh_mishra)\
**Replies:** 3\
**Last updated:** [June 10, 2018, 9:17pm UTC](https://discuss.elastic.co/t/elastcisearch/135128 "2018-06-10T21:17:30Z")

</div>

how to export the data stored in elasticsearch.

---

## [Arabic Characters not recognised](https://discuss.elastic.co/t/arabic-characters-not-recognised/135273)

<div class="topic-metadata">

**Author:** [@amralieg](https://discuss.elastic.co/u/amralieg)\
**Replies:** 0\
**Last updated:** [June 10, 2018, 7:47pm UTC](https://discuss.elastic.co/t/arabic-characters-not-recognised/135273 "2018-06-10T19:47:49Z")

</div>

Hi, Did anyone face this issue before, I pushed an Arabic document to elasticsearch and when I get it back all the chars inside it are coming in a wired format, not even Unicode escaped. see below. does anyone know what…

---

## [Elasticsearch searches getting slower and slower with time](https://discuss.elastic.co/t/elasticsearch-searches-getting-slower-and-slower-with-time/135242)

<div class="topic-metadata">

**Author:** [@trondhindenes](https://discuss.elastic.co/u/trondhindenes)\
**Replies:** 2\
**Last updated:** [June 10, 2018, 3:52pm UTC](https://discuss.elastic.co/t/elasticsearch-searches-getting-slower-and-slower-with-time/135242 "2018-06-10T15:52:19Z")

</div>

Hi, We switched to a self-managed AWS-based Elasticsearch cluster in november last year, using fairly large instances with nvme-based disks. All in all we were shocked by the performance. Searches were instant. Now 6 m…

---

## [Is x-pack going open source?](https://discuss.elastic.co/t/is-x-pack-going-open-source/135264)

<div class="topic-metadata">

**Author:** [@hchunduru](https://discuss.elastic.co/u/hchunduru)\
**Replies:** 1\
**Last updated:** [June 10, 2018, 1:59pm UTC](https://discuss.elastic.co/t/is-x-pack-going-open-source/135264 "2018-06-10T13:59:43Z")

</div>

Is X-pack (Alerting, reporting etc) going open source? if not what would be the cost. I installed x-pack on Kibana and elastic search and it is running in a trail version. I'm getting confused after reading this https://…

---

## [Preferring length of value](https://discuss.elastic.co/t/preferring-length-of-value/135257)

<div class="topic-metadata">

**Author:** [@himberjack](https://discuss.elastic.co/u/himberjack)\
**Replies:** 5\
**Last updated:** [June 10, 2018, 1:01pm UTC](https://discuss.elastic.co/t/preferring-length-of-value/135257 "2018-06-10T13:01:54Z")

</div>

Hi, We have the following index: { "order": 0, "index\_patterns": \["programs"\], "settings": { "analysis": { "filter": { "autocomplete\_filter": { "type": "edge\_ngram", "min…

---

## [Query string query seperate boost configure from fields](https://discuss.elastic.co/t/query-string-query-seperate-boost-configure-from-fields/133260)

<div class="topic-metadata">

**Author:** [@yuhao\_zhang](https://discuss.elastic.co/u/yuhao_zhang)\
**Replies:** 1\
**Last updated:** [May 28, 2018, 6:47am UTC](https://discuss.elastic.co/t/query-string-query-seperate-boost-configure-from-fields/133260 "2018-05-28T06:47:23Z")

</div>

Hi currently I am working on Elasticsearch 6.2.4 and using query string query. From the documentation I know that I can boost result from specifing the fields like: GET /\_search { "query": { "query\_string" …

---

## [How to query Null values?](https://discuss.elastic.co/t/how-to-query-null-values/135253)

<div class="topic-metadata">

**Author:** [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Replies:** 3\
**Last updated:** [June 10, 2018, 9:43am UTC](https://discuss.elastic.co/t/how-to-query-null-values/135253 "2018-06-10T09:43:18Z")

</div>

Hi I actually loaded data from sql to elasticsearch using logstash jdbc plugin. What I'm facing issue was some of the fields was null and in elasticsearch it is saving as "emp\_ssnlast4": null So i'm not able t…

---

## [Add data using bulk API](https://discuss.elastic.co/t/add-data-using-bulk-api/135256)

<div class="topic-metadata">

**Author:** [@Parv\_Arora](https://discuss.elastic.co/u/Parv_Arora)\
**Replies:** 0\
**Last updated:** [June 10, 2018, 8:46am UTC](https://discuss.elastic.co/t/add-data-using-bulk-api/135256 "2018-06-10T08:46:59Z")

</div>

Hello , I tried loading data using bulk api . Mapping PUT /iriss { "mappings": { "doc":{ "properties": { "sepalLength":{"type": "float"}, "sepalWidth" :{"type": "float"}, "petalLength" :{"type": "float"}, "pet…

---

## [Search query issue](https://discuss.elastic.co/t/search-query-issue/135165)

<div class="topic-metadata">

**Author:** [@firattaskin93](https://discuss.elastic.co/u/firattaskin93)\
**Replies:** 2\
**Last updated:** [June 10, 2018, 3:42am UTC](https://discuss.elastic.co/t/search-query-issue/135165 "2018-06-10T03:42:01Z")

</div>

Hi Everyone, My problem is about filter and get terms. İ wanna get term counts like zalando.de 1 When i clicked any color other colors not seeing after refresh. I could not found any example for nested products and f…

---

## [Kibana is unable to start](https://discuss.elastic.co/t/kibana-is-unable-to-start/135249)

<div class="topic-metadata">

**Author:** [@joshua625](https://discuss.elastic.co/u/joshua625)\
**Replies:** 1\
**Last updated:** [June 10, 2018, 3:00am UTC](https://discuss.elastic.co/t/kibana-is-unable-to-start/135249 "2018-06-10T03:00:28Z")

</div>

Hello, I'm using latest stable versions of ELK with 1 node running on a cluster and the disk was exceeded to max. I have increased the threshold to 90 % but still Kibana shows the following error "Login is currently di…

---

## [Error: Could not find or load main class org.elasticsearch.tools.launchers.JavaVersionChecker](https://discuss.elastic.co/t/error-could-not-find-or-load-main-class-org-elasticsearch-tools-launchers-javaversionchecker/135251)

<div class="topic-metadata">

**Author:** [@SimpleCC](https://discuss.elastic.co/u/SimpleCC)\
**Replies:** 0\
**Last updated:** [June 10, 2018, 2:37am UTC](https://discuss.elastic.co/t/error-could-not-find-or-load-main-class-org-elasticsearch-tools-launchers-javaversionchecker/135251 "2018-06-10T02:37:30Z")

</div>

I successfully launched Elasticsearch through the command ./elasticsearch yesterday. But now,I use ./elasticsearch to launchhed and get an error message: Error: Could not find or load main class org.elasticsearch.tool…

---

## [Enable Slow Log in Elastic Cloud](https://discuss.elastic.co/t/enable-slow-log-in-elastic-cloud/135116)

<div class="topic-metadata">

**Author:** [@merlinv](https://discuss.elastic.co/u/merlinv)\
**Replies:** 1\
**Last updated:** [June 9, 2018, 9:46pm UTC](https://discuss.elastic.co/t/enable-slow-log-in-elastic-cloud/135116 "2018-06-09T21:46:24Z")

</div>

I follow the manual from document to enable slow log for my index. I set thresholds to 0ms - 1ms for testing purpose then make a query to ES. I check Log tab in ES Cloud but no log showed except INFO log about setting …

---

## [Date formatting failing - string](https://discuss.elastic.co/t/date-formatting-failing-string/135237)

<div class="topic-metadata">

**Author:** [@javidr](https://discuss.elastic.co/u/javidr)\
**Replies:** 0\
**Last updated:** [June 9, 2018, 7:21pm UTC](https://discuss.elastic.co/t/date-formatting-failing-string/135237 "2018-06-09T19:21:29Z")

</div>

Hi Im using the python library to insert data in elasticsearch Im trying to format the date i have in epoch format as datetime field dt = time.strftime('%y-%m-%d %H:%M:%S', time.localtime(float(d\['timestamp'\]))) dt =…

---

## [Term query is very slow if size != 0](https://discuss.elastic.co/t/term-query-is-very-slow-if-size-0/134654)

<div class="topic-metadata">

**Author:** [@nkoothrappahli](https://discuss.elastic.co/u/nkoothrappahli)\
**Replies:** 8\
**Last updated:** [June 9, 2018, 7:14pm UTC](https://discuss.elastic.co/t/term-query-is-very-slow-if-size-0/134654 "2018-06-09T19:14:14Z")

</div>

I have a ES 6.2.4 cluster with 3 x m4.2xlarge (EBS optimized, gp2) nodes on AWS. The cluster contains a single index with 5 shards, 1 replica, 600 000 000 small documents (1k each, 40 string and numeric fields, default m…

---

## [How to combine queries of must & suggest in search request?](https://discuss.elastic.co/t/how-to-combine-queries-of-must-suggest-in-search-request/135236)

<div class="topic-metadata">

**Author:** [@vasanth\_kumar](https://discuss.elastic.co/u/vasanth_kumar)\
**Replies:** 0\
**Last updated:** [June 9, 2018, 6:29pm UTC](https://discuss.elastic.co/t/how-to-combine-queries-of-must-suggest-in-search-request/135236 "2018-06-09T18:29:48Z")

</div>

Hi, How to combine queries of must & suggest with only matching id? I'll explain detail in example, PUT map\_index { "mappings": { "composite": { "properties": { "id": { "type": "keyword" }, "title\_suggest": { …

---

## [Elasticsearch indexing rate from Logstash](https://discuss.elastic.co/t/elasticsearch-indexing-rate-from-logstash/134083)

<div class="topic-metadata">

**Author:** [@SebScoFr](https://discuss.elastic.co/u/SebScoFr)\
**Replies:** 5\
**Last updated:** [June 9, 2018, 1:03pm UTC](https://discuss.elastic.co/t/elasticsearch-indexing-rate-from-logstash/134083 "2018-06-09T13:03:31Z")

</div>

So let me try to provide as much context as possible. We are using ECE. Both ES and Logstash version 6.2.4. We have a cluster of 10 nodes, 16GB memory per node. Everyday we have a process responsible for indexing a bu…

---

## [Does BM25 use query coordinator?](https://discuss.elastic.co/t/does-bm25-use-query-coordinator/135222)

<div class="topic-metadata">

**Author:** [@NarimanN2](https://discuss.elastic.co/u/NarimanN2)\
**Replies:** 0\
**Last updated:** [June 9, 2018, 11:04am UTC](https://discuss.elastic.co/t/does-bm25-use-query-coordinator/135222 "2018-06-09T11:04:38Z")

</div>

In Lucene's practical scoring function there is a query coordinator which punishes documents that fail to match all the query terms. does Okapi BM25 use the same trick? The reason I'm curious about it is that I'm using …

---

## [Slow response from elastic search](https://discuss.elastic.co/t/slow-response-from-elastic-search/134613)

<div class="topic-metadata">

**Author:** [@Akib\_Ali](https://discuss.elastic.co/u/Akib_Ali)\
**Replies:** 9\
**Last updated:** [June 9, 2018, 9:56am UTC](https://discuss.elastic.co/t/slow-response-from-elastic-search/134613 "2018-06-09T09:56:48Z")

</div>

We are installing the elastic search on docker machine. After creating near about 300 indexes where each index has near about 20-50 documents which sums to a total of 12000 documents, we are not able to fetch the data in…

---

## [Set Multiple Path.data](https://discuss.elastic.co/t/set-multiple-path-data/134289)

<div class="topic-metadata">

**Author:** [@aminhk](https://discuss.elastic.co/u/aminhk)\
**Replies:** 6\
**Last updated:** [June 9, 2018, 9:46am UTC](https://discuss.elastic.co/t/set-multiple-path-data/134289 "2018-06-09T09:46:16Z")

</div>

Hi, I have read every forum and posts on elastic to set multiple Pah.data like path: data: - /mnt/elasticsearch\_1 - /mnt/elasticsearch\_2 - /mnt/elasticsearch\_3 but i got an error after i restart elasticsearch to t…

---

## [How can resolve SSL handshake issue on reindex from remote](https://discuss.elastic.co/t/how-can-resolve-ssl-handshake-issue-on-reindex-from-remote/135209)

<div class="topic-metadata">

**Author:** [@jamesjin](https://discuss.elastic.co/u/jamesjin)\
**Replies:** 0\
**Last updated:** [June 9, 2018, 3:30am UTC](https://discuss.elastic.co/t/how-can-resolve-ssl-handshake-issue-on-reindex-from-remote/135209 "2018-06-09T03:30:28Z")

</div>

hi, Now I am trying to reindex from a remote to my local. remote is a https host, I am getting SSL handshake exception as following, I checked there was similar issue but not sure how to resolve it Please advise, t…

---

## [How to run ES-Hadoop in Jupyter Notebook (Python or Scala)](https://discuss.elastic.co/t/how-to-run-es-hadoop-in-jupyter-notebook-python-or-scala/131456)

<div class="topic-metadata">

**Author:** [@Luan\_Ha\_Thanh](https://discuss.elastic.co/u/Luan_Ha_Thanh)\
**Replies:** 2\
**Last updated:** [June 9, 2018, 12:01am UTC](https://discuss.elastic.co/t/how-to-run-es-hadoop-in-jupyter-notebook-python-or-scala/131456 "2018-06-09T00:01:06Z")

</div>

Hello there, I 'm following this tut to connect Elasticsearch and Spark: I use command: setx PYSPARK\_DRIVER\_PYTHON ipython setx PYSPARK\_DRIVER\_PYTHON\_OPTS notebook pyspark ----driver-class-path /path-to-jar-file... …

---

## [Migration elk to hadoop](https://discuss.elastic.co/t/migration-elk-to-hadoop/135204)

<div class="topic-metadata">

**Author:** [@oumeyma](https://discuss.elastic.co/u/oumeyma)\
**Replies:** 1\
**Last updated:** [June 8, 2018, 11:51pm UTC](https://discuss.elastic.co/t/migration-elk-to-hadoop/135204 "2018-06-08T23:51:41Z")

</div>

i need to integrate elk and hadoop to analyze logs real time who can send me document of configuration or help me

---

## [Return a single document per user per hour](https://discuss.elastic.co/t/return-a-single-document-per-user-per-hour/135182)

<div class="topic-metadata">

**Author:** [@le\_John](https://discuss.elastic.co/u/le_John)\
**Replies:** 4\
**Last updated:** [June 8, 2018, 10:48pm UTC](https://discuss.elastic.co/t/return-a-single-document-per-user-per-hour/135182 "2018-06-08T22:48:38Z")

</div>

Is there a way to return a single document per hour? Another way to describe what I'm after: I'm thinking of a "date histogram" type scenario, but within the query, not with aggregations. The data is basically a table …

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

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