# Elasticsearch

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

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

**Page:** 1840

---

## [HOW to find indexing performance](https://discuss.elastic.co/t/how-to-find-indexing-performance/113427)

<div class="topic-metadata">

**Author:** [@hike](https://discuss.elastic.co/u/hike)\
**Replies:** 2\
**Last updated:** [January 3, 2018, 11:26am UTC](https://discuss.elastic.co/t/how-to-find-indexing-performance/113427 "2018-01-03T11:26:25Z")

</div>

I'm new to elastic search. can anyone please tell me how to update stats on numbers of docs indexed per second?

---

## [How to build date\_range agg when date field has default format but the value is stored as seconds?](https://discuss.elastic.co/t/how-to-build-date-range-agg-when-date-field-has-default-format-but-the-value-is-stored-as-seconds/113907)

<div class="topic-metadata">

**Author:** [@Athar.Khan](https://discuss.elastic.co/u/Athar.Khan)\
**Replies:** 0\
**Last updated:** [January 3, 2018, 10:54am UTC](https://discuss.elastic.co/t/how-to-build-date-range-agg-when-date-field-has-default-format-but-the-value-is-stored-as-seconds/113907 "2018-01-03T10:54:41Z")

</div>

Hi, ES v5.3. I've a date field "created" with default format strict\_date\_optional\_time||epoch\_millis. But the values are stored in seconds. I need to build date\_range aggregation query but I don't get any result. I've …

---

## [Transport client 5.5.2 not working from Tomcat for me in EC2](https://discuss.elastic.co/t/transport-client-5-5-2-not-working-from-tomcat-for-me-in-ec2/113819)

<div class="topic-metadata">

**Author:** [@shanroam](https://discuss.elastic.co/u/shanroam)\
**Replies:** 2\
**Last updated:** [January 3, 2018, 10:48am UTC](https://discuss.elastic.co/t/transport-client-5-5-2-not-working-from-tomcat-for-me-in-ec2/113819 "2018-01-03T10:48:12Z")

</div>

I have used the following configuration in a single node cluster in Ec2. Version 5.5.2 elasticsearch.yml... (important settings) cluster.name: blashblah node.name: node1 network.host: 172.31.18.254 #private IP ne…

---

## [REST API Spec documentation](https://discuss.elastic.co/t/rest-api-spec-documentation/113606)

<div class="topic-metadata">

**Author:** [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Replies:** 1\
**Last updated:** [January 3, 2018, 10:08am UTC](https://discuss.elastic.co/t/rest-api-spec-documentation/113606 "2018-01-03T10:08:18Z")

</div>

Converting some old integration tests as REST calls using the yaml spec and I was wondering if there is documentation built from the spec files https://github.com/elastic/elasticsearch/tree/master/rest-api-spec On a d…

---

## [Elasticsearch getting exception listener timeout after waiting for 30000s](https://discuss.elastic.co/t/elasticsearch-getting-exception-listener-timeout-after-waiting-for-30000s/113699)

<div class="topic-metadata">

**Author:** [@Adarsh\_Bajpai](https://discuss.elastic.co/u/Adarsh_Bajpai)\
**Replies:** 1\
**Last updated:** [January 3, 2018, 10:03am UTC](https://discuss.elastic.co/t/elasticsearch-getting-exception-listener-timeout-after-waiting-for-30000s/113699 "2018-01-03T10:03:00Z")

</div>

Hi All, Recently, we have upgraded elasticsearch to version 5.6, but while using rest client we constantly getting errors listener timeout after waiting for 30000ms, We got the requests from our customer app to search f…

---

## [Inconsistent query results](https://discuss.elastic.co/t/inconsistent-query-results/113715)

<div class="topic-metadata">

**Author:** [@mukrrambajwa](https://discuss.elastic.co/u/mukrrambajwa)\
**Replies:** 1\
**Last updated:** [January 3, 2018, 9:58am UTC](https://discuss.elastic.co/t/inconsistent-query-results/113715 "2018-01-03T09:58:51Z")

</div>

Hi, I indexed data to elastic and when I query elastic multiple times I am getting the different response to the same query. I came to know that it can be due to inconsistent replicas, so I used preference option to fo…

---

## [Elastic Search Mapping does not provide index\_options and index fields](https://discuss.elastic.co/t/elastic-search-mapping-does-not-provide-index-options-and-index-fields/113676)

<div class="topic-metadata">

**Author:** [@akash](https://discuss.elastic.co/u/akash)\
**Replies:** 4\
**Last updated:** [January 3, 2018, 9:46am UTC](https://discuss.elastic.co/t/elastic-search-mapping-does-not-provide-index-options-and-index-fields/113676 "2018-01-03T09:46:31Z")

</div>

Hi, When we fetch the mapping of a particular elastic search index, we are not able to view below fields 1 . index 2. index\_option For example we create a new index using - PUT /testindex { "settings": { "index":…

---

## [Keyword and Completion of same text mapping](https://discuss.elastic.co/t/keyword-and-completion-of-same-text-mapping/112943)

<div class="topic-metadata">

**Author:** [@Shekhar\_Pandey](https://discuss.elastic.co/u/Shekhar_Pandey)\
**Replies:** 2\
**Last updated:** [January 3, 2018, 7:33am UTC](https://discuss.elastic.co/t/keyword-and-completion-of-same-text-mapping/112943 "2018-01-03T07:33:28Z")

</div>

Hello.. Kindly anybody can tell this mapping will work...or not PUT redmi { "mappings": { "products": { "properties": { "title": { "type": "keyword", "fields": { "keyword": { "type": "completion" } } }, "w…

---

## [Implications of large number of fields in a document](https://discuss.elastic.co/t/implications-of-large-number-of-fields-in-a-document/113308)

<div class="topic-metadata">

**Author:** [@anshulagrawal](https://discuss.elastic.co/u/anshulagrawal)\
**Replies:** 3\
**Last updated:** [January 3, 2018, 7:29am UTC](https://discuss.elastic.co/t/implications-of-large-number-of-fields-in-a-document/113308 "2018-01-03T07:29:27Z")

</div>

Hi, I read that in 6.x version the default limit of index.mapping.total\_fields.limit is 1000. We have an index which has fields around 3000 in number. I would like to understand the implications of having so many fiel…

---

## [Docker and disk size](https://discuss.elastic.co/t/docker-and-disk-size/113453)

<div class="topic-metadata">

**Author:** [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Replies:** 8\
**Last updated:** [January 3, 2018, 6:54am UTC](https://discuss.elastic.co/t/docker-and-disk-size/113453 "2018-01-03T06:54:32Z")

</div>

Hi, running ES 6.1.0 I have 10 nodes: 3 masters, 3 data, 3 coordinators, 1 ingest. The 10 nodes are running in docker on 3 hosts. The 3 hosts have 1.7TB of disk available. Kibana monitoring on the main cluster page cl…

---

## [Geoip field scope seperator is "." and not supported as mapping name](https://discuss.elastic.co/t/geoip-field-scope-seperator-is-and-not-supported-as-mapping-name/113723)

<div class="topic-metadata">

**Author:** [@pelesmk](https://discuss.elastic.co/u/pelesmk)\
**Replies:** 5\
**Last updated:** [January 3, 2018, 6:33am UTC](https://discuss.elastic.co/t/geoip-field-scope-seperator-is-and-not-supported-as-mapping-name/113723 "2018-01-03T06:33:04Z")

</div>

I'm using the geoip mapping and everything seems fine, except the geoip ends up using a . as the seperator, example geoip.location, geoip.city\_name, geoip.country\_name. The period is not supported and the error message i…

---

## [Elasticsearch Postings highlighter Error - cannot highlight](https://discuss.elastic.co/t/elasticsearch-postings-highlighter-error-cannot-highlight/112537)

<div class="topic-metadata">

**Author:** [@anggiaj](https://discuss.elastic.co/u/anggiaj)\
**Replies:** 3\
**Last updated:** [January 3, 2018, 6:24am UTC](https://discuss.elastic.co/t/elasticsearch-postings-highlighter-error-cannot-highlight/112537 "2018-01-03T06:24:57Z")

</div>

I got the following errors when trying to search with posting highlighter: { "error": { "root\_cause": \[ { "type": "illegal\_argument\_exception", "reason": "field 'author\_name' was indexed with…

---

## [Cannot Discover Master Node after upgrade to ES 6.0.0](https://discuss.elastic.co/t/cannot-discover-master-node-after-upgrade-to-es-6-0-0/108029)

<div class="topic-metadata">

**Author:** [@shreyask](https://discuss.elastic.co/u/shreyask)\
**Replies:** 14\
**Last updated:** [January 3, 2018, 3:49am UTC](https://discuss.elastic.co/t/cannot-discover-master-node-after-upgrade-to-es-6-0-0/108029 "2018-01-03T03:49:31Z")

</div>

I did a rolling upgrade on our 3 node ES cluster from 5.6.3 to 6.0.0. In this process 2/3 nodes were able to discover each other and the 3rd node is still not able to discover master, and the cluster state is red since t…

---

## [How to split multiple typed index out to prepare for ES upgrade (where multiple types are deprecated)](https://discuss.elastic.co/t/how-to-split-multiple-typed-index-out-to-prepare-for-es-upgrade-where-multiple-types-are-deprecated/110276)

<div class="topic-metadata">

**Author:** [@jthoni](https://discuss.elastic.co/u/jthoni)\
**Replies:** 1\
**Last updated:** [January 3, 2018, 3:20am UTC](https://discuss.elastic.co/t/how-to-split-multiple-typed-index-out-to-prepare-for-es-upgrade-where-multiple-types-are-deprecated/110276 "2018-01-03T03:20:17Z")

</div>

We are currently running a cluster with ES 2.3.2 that has one large index with the following properties: 762 GB (366 million docs) 25 data nodes; 3 master nodes; 3 client nodes 23 shards / 1 replica This one index has…

---

## [Documentation for elasticsearch definitive guide](https://discuss.elastic.co/t/documentation-for-elasticsearch-definitive-guide/113865)

<div class="topic-metadata">

**Author:** [@Jason\_Wee](https://discuss.elastic.co/u/Jason_Wee)\
**Replies:** 1\
**Last updated:** [January 3, 2018, 3:16am UTC](https://discuss.elastic.co/t/documentation-for-elasticsearch-definitive-guide/113865 "2018-01-03T03:16:42Z")

</div>

when i read this https://www.elastic.co/guide/en/elasticsearch/guide/1.x/\_important\_configuration\_changes.html and i switch to 2.x guide, pop up say page not found. when i search around, i got this https://www.elastic.…

---

## [How to recover a closed Index](https://discuss.elastic.co/t/how-to-recover-a-closed-index/113551)

<div class="topic-metadata">

**Author:** [@PakanAngel](https://discuss.elastic.co/u/PakanAngel)\
**Replies:** 4\
**Last updated:** [January 3, 2018, 3:05am UTC](https://discuss.elastic.co/t/how-to-recover-a-closed-index/113551 "2018-01-03T03:05:14Z")

</div>

I am using elasticsearch 5.6.1 with Fess. Unfortunately my server ran out of memory. After restarting the server and running Elasticsearch realized that the main index is closed. First tried to re-open it but no success.…

---

## [Running as a different user](https://discuss.elastic.co/t/running-as-a-different-user/113695)

<div class="topic-metadata">

**Author:** [@bspencer](https://discuss.elastic.co/u/bspencer)\
**Replies:** 1\
**Last updated:** [January 3, 2018, 3:03am UTC](https://discuss.elastic.co/t/running-as-a-different-user/113695 "2018-01-03T03:03:08Z")

</div>

Are there any constraints or special considerations when running Elasticsearch as a user other than elasticsearch? Any specific considerations when updating? Assumptions/Environment: Installed from RPM (RHEL7) systemd…

---

## [Size index](https://discuss.elastic.co/t/size-index/113225)

<div class="topic-metadata">

**Author:** [@Fram\_Souza](https://discuss.elastic.co/u/Fram_Souza)\
**Replies:** 3\
**Last updated:** [January 2, 2018, 9:50pm UTC](https://discuss.elastic.co/t/size-index/113225 "2018-01-02T21:50:50Z")

</div>

Hello, I'm working on an Elasticsearch implementation project, and I'd like to know the best scenario for mapping the indexes. Will be imported within the index 130 GB of data that are necessary for operation, after imp…

---

## [\[match\] query does not support \[type\]](https://discuss.elastic.co/t/match-query-does-not-support-type/111667)

<div class="topic-metadata">

**Author:** [@DiskElemental](https://discuss.elastic.co/u/DiskElemental)\
**Replies:** 15\
**Last updated:** [January 2, 2018, 9:35pm UTC](https://discuss.elastic.co/t/match-query-does-not-support-type/111667 "2018-01-02T21:35:08Z")

</div>

Hey all, After upgrading to a new cluster running Elasticsearch 6.0, from a cluster running 5.4, I'm running into a persistent 400 Error with the message when attempting to run my previously-working Query on the new clu…

---

## [Kibana No results found](https://discuss.elastic.co/t/kibana-no-results-found/113811)

<div class="topic-metadata">

**Author:** [@E\_Marshall](https://discuss.elastic.co/u/E_Marshall)\
**Replies:** 11\
**Last updated:** [January 2, 2018, 6:18pm UTC](https://discuss.elastic.co/t/kibana-no-results-found/113811 "2018-01-02T18:18:49Z")

</div>

I'm assuming that my problem with Kibana yielding 'No results found' when I try to visualize the data may be due to the way I created my template mapping. "mappings": { "default":{ "\_all":{ "enabled": false } "dynami…

---

## [Fetching a reporting dashboard that has been setup on Kibana as an email attachment using a Watch](https://discuss.elastic.co/t/fetching-a-reporting-dashboard-that-has-been-setup-on-kibana-as-an-email-attachment-using-a-watch/113032)

<div class="topic-metadata">

**Author:** [@Indiresh\_Ds](https://discuss.elastic.co/u/Indiresh_Ds)\
**Replies:** 3\
**Last updated:** [January 2, 2018, 6:06pm UTC](https://discuss.elastic.co/t/fetching-a-reporting-dashboard-that-has-been-setup-on-kibana-as-an-email-attachment-using-a-watch/113032 "2018-01-02T18:06:21Z")

</div>

Hi there, I am trying to fetch the dashboard that is setup as an email attachment. I followed the instructions mentioned at https://www.elastic.co/guide/en/kibana/current/automating-report-generation.html But somehow, …

---

## [Docs Count vs Index\_total](https://discuss.elastic.co/t/docs-count-vs-index-total/113511)

<div class="topic-metadata">

**Author:** [@jonessmithville](https://discuss.elastic.co/u/jonessmithville)\
**Replies:** 1\
**Last updated:** [January 2, 2018, 5:36pm UTC](https://discuss.elastic.co/t/docs-count-vs-index-total/113511 "2018-01-02T17:36:24Z")

</div>

I am trying to find a way to determine how fast or if all documents are getting indexed timely. I checked the previous days index --- GET indexname-2017.12.27/\_stats and noticed that docs": { "count": 19695896, Is…

---

## [Alert when okay](https://discuss.elastic.co/t/alert-when-okay/112707)

<div class="topic-metadata">

**Author:** [@acchaulk](https://discuss.elastic.co/u/acchaulk)\
**Replies:** 4\
**Last updated:** [January 2, 2018, 3:08pm UTC](https://discuss.elastic.co/t/alert-when-okay/112707 "2018-01-02T15:08:40Z")

</div>

Does watcher have a mechanism to alert when an alarm is resolved? I want an alert to signify when an alert transitioned from error to okay.

---

## [Getting doc\_count in percentiles aggregation](https://discuss.elastic.co/t/getting-doc-count-in-percentiles-aggregation/113036)

<div class="topic-metadata">

**Author:** [@amyc](https://discuss.elastic.co/u/amyc)\
**Replies:** 3\
**Last updated:** [January 2, 2018, 2:58pm UTC](https://discuss.elastic.co/t/getting-doc-count-in-percentiles-aggregation/113036 "2018-01-02T14:58:13Z")

</div>

Hi, I would like to get the doc\_count value in percentiles aggregation, e.g.: GET /my\_index/\_search { "query": { ... }, "aggregations" : { "my\_agg" : { "percentiles" : { "script" : "\_score", "percents" : \[85\], …

---

## [Import json through python](https://discuss.elastic.co/t/import-json-through-python/113766)

<div class="topic-metadata">

**Author:** [@ACJ](https://discuss.elastic.co/u/ACJ)\
**Replies:** 6\
**Last updated:** [January 2, 2018, 2:58pm UTC](https://discuss.elastic.co/t/import-json-through-python/113766 "2018-01-02T14:58:09Z")

</div>

Hello, I am trying to import a file through this code but I am getting the following error. Code: \[26234134\_931691430322178\_2132873039\_n\]! Error: \[26553240\_931691493655505\_697954895\_n\] I think it's due to my movies…

---

## [Unable to get \_score value when using field collapse and sort](https://discuss.elastic.co/t/unable-to-get-score-value-when-using-field-collapse-and-sort/113038)

<div class="topic-metadata">

**Author:** [@amyc](https://discuss.elastic.co/u/amyc)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 2:08pm UTC](https://discuss.elastic.co/t/unable-to-get-score-value-when-using-field-collapse-and-sort/113038 "2018-01-02T14:08:48Z")

</div>

When I search with sort other than \_score, the results dose not show \_score. However if I add "track\_scores" : "true", it does. If for this same query, field collapse is used, "track\_scores" : "true" doesn't help. I …

---

## [Installing plugins with custom docker image warning message](https://discuss.elastic.co/t/installing-plugins-with-custom-docker-image-warning-message/113490)

<div class="topic-metadata">

**Author:** [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 1:55pm UTC](https://discuss.elastic.co/t/installing-plugins-with-custom-docker-image-warning-message/113490 "2018-01-02T13:55:18Z")

</div>

Here is my Dockerfile... FROM docker.elastic.co/elasticsearch/elasticsearch-platinum:6.1.1 USER root RUN whoami RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch repository-s3 RUN /usr/share/ela…

---

## [Does different query code affect search performance?](https://discuss.elastic.co/t/does-different-query-code-affect-search-performance/113783)

<div class="topic-metadata">

**Author:** [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Replies:** 1\
**Last updated:** [January 2, 2018, 1:55pm UTC](https://discuss.elastic.co/t/does-different-query-code-affect-search-performance/113783 "2018-01-02T13:55:02Z")

</div>

As title, if I have different query API, but the result is the same . such as: GET \_search { "query": { "bool": { "must": \[ { "term" : { "\_index" : "logstash-2018.01.02" } }, { "term":{…

---

## [How we can differentiate the index if the same column name present in multiple indeces (while getting the data from multiple indeces)](https://discuss.elastic.co/t/how-we-can-differentiate-the-index-if-the-same-column-name-present-in-multiple-indeces-while-getting-the-data-from-multiple-indeces/113452)

<div class="topic-metadata">

**Author:** [@skodari](https://discuss.elastic.co/u/skodari)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 1:44pm UTC](https://discuss.elastic.co/t/how-we-can-differentiate-the-index-if-the-same-column-name-present-in-multiple-indeces-while-getting-the-data-from-multiple-indeces/113452 "2018-01-02T13:44:34Z")

</div>

Hi Team, I need a query to get the data from multiple indexes. here is my question. If we have two indexes like Index: my\_index1 fields: sr\_id, exp\_date Index: my\_index2 fields: sr\_id, s\_name GET /my\_index1,my\_in…

---

## [RangeQuery for Date](https://discuss.elastic.co/t/rangequery-for-date/113001)

<div class="topic-metadata">

**Author:** [@hym](https://discuss.elastic.co/u/hym)\
**Replies:** 3\
**Last updated:** [January 2, 2018, 1:28pm UTC](https://discuss.elastic.co/t/rangequery-for-date/113001 "2018-01-02T13:28:29Z")

</div>

Hi, I am trying to send date range query to the ELS from java app and I create my query using Java API. like as follow: QueryBuilders.rangeQuery("dateField").from(new Date()).to(new Date()) Just for a test. But I get…

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

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