# Elasticsearch

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

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

**Page:** 1828

---

## [Search and Filter on Analyzed Fields](https://discuss.elastic.co/t/search-and-filter-on-analyzed-fields/115090)

<div class="topic-metadata">

**Author:** [@vinaygarg30](https://discuss.elastic.co/u/vinaygarg30)\
**Replies:** 6\
**Last updated:** [January 15, 2018, 11:09am UTC](https://discuss.elastic.co/t/search-and-filter-on-analyzed-fields/115090 "2018-01-15T11:09:57Z")

</div>

We need to search as well as apply filters on the text fields (which are analysed and they are required to be so in our application). But, while applying filters on analysed text returns results which do not match the fi…

---

## [Can't set up a cluster in Centos7](https://discuss.elastic.co/t/cant-set-up-a-cluster-in-centos7/115492)

<div class="topic-metadata">

**Author:** [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Replies:** 9\
**Last updated:** [January 15, 2018, 10:35am UTC](https://discuss.elastic.co/t/cant-set-up-a-cluster-in-centos7/115492 "2018-01-15T10:35:59Z")

</div>

Hi everyone, I want to set up a cluster on my Centos7. and this is my elasticsearch.yml. ---------------------------------- Cluster ----------------------------------- Use a descriptive name for your cluster: cluster.n…

---

## [Elastic 6 Upgrade issues on Elastic Cloud](https://discuss.elastic.co/t/elastic-6-upgrade-issues-on-elastic-cloud/112466)

<div class="topic-metadata">

**Author:** [@Adam.Reynolds](https://discuss.elastic.co/u/Adam.Reynolds)\
**Replies:** 13\
**Last updated:** [January 15, 2018, 10:11am UTC](https://discuss.elastic.co/t/elastic-6-upgrade-issues-on-elastic-cloud/112466 "2018-01-15T10:11:18Z")

</div>

When running the Cluster Checkup from ES 5.6.5 I get a message saying "Deprecated script security settings changes" followed by a long list of script security settings. This Cluster was originally a 2.4.4 cluster, upgra…

---

## [Sorting of fields with special charecters](https://discuss.elastic.co/t/sorting-of-fields-with-special-charecters/115481)

<div class="topic-metadata">

**Author:** [@SawyerFord](https://discuss.elastic.co/u/SawyerFord)\
**Replies:** 5\
**Last updated:** [January 15, 2018, 10:01am UTC](https://discuss.elastic.co/t/sorting-of-fields-with-special-charecters/115481 "2018-01-15T10:01:31Z")

</div>

Currently we have used the elastic sort sorting capability in our Java application for sorting or a field called description, but the sort does not return a correct order. Our field consists of special charecters, (#,$,…

---

## [Elsticsearch5.6.\*:\_id is not configurable](https://discuss.elastic.co/t/elsticsearch5-6-id-is-not-configurable/115496)

<div class="topic-metadata">

**Author:** [@xiaoxiami](https://discuss.elastic.co/u/xiaoxiami)\
**Replies:** 2\
**Last updated:** [January 15, 2018, 9:25am UTC](https://discuss.elastic.co/t/elsticsearch5-6-id-is-not-configurable/115496 "2018-01-15T09:25:45Z")

</div>

Hi,all It told me "\_id is not configurable" when i ceate index by assign \_id mapping mainkey od the source. create index statement is curl -X PUT localhost:9200/test { "settings" : { "number\_of\_shards" : 1, "numb…

---

## [Geo data : MapperParser Exception](https://discuss.elastic.co/t/geo-data-mapperparser-exception/115506)

<div class="topic-metadata">

**Author:** [@Saurab\_Dahal](https://discuss.elastic.co/u/Saurab_Dahal)\
**Replies:** 0\
**Last updated:** [January 15, 2018, 9:24am UTC](https://discuss.elastic.co/t/geo-data-mapperparser-exception/115506 "2018-01-15T09:24:52Z")

</div>

I've been trying to index geo data but even after following the my data looks like {"coordinates":\[\[\[87.2779545572,26.4571324637\],\[87.2781064548,26.4579406195\],\[87.2782446134,26.4587874038\],\[87.2783030644,26.459196521…

---

## [Can I put or update document when calling 'force merge' an index?](https://discuss.elastic.co/t/can-i-put-or-update-document-when-calling-force-merge-an-index/114039)

<div class="topic-metadata">

**Author:** [@michaelcheung](https://discuss.elastic.co/u/michaelcheung)\
**Replies:** 10\
**Last updated:** [January 15, 2018, 9:12am UTC](https://discuss.elastic.co/t/can-i-put-or-update-document-when-calling-force-merge-an-index/114039 "2018-01-15T09:12:34Z")

</div>

As mentioned in topic, I call force merge api, to manually clean up deleted docs in an index. Is it possible and safe to update document or put new document in 'merging' index?

---

## [Cannot contact elasticsearch at localhost:9200 from apache docker container](https://discuss.elastic.co/t/cannot-contact-elasticsearch-at-localhost-9200-from-apache-docker-container/115498)

<div class="topic-metadata">

**Author:** [@mallek\_bh](https://discuss.elastic.co/u/mallek_bh)\
**Replies:** 1\
**Last updated:** [January 15, 2018, 9:06am UTC](https://discuss.elastic.co/t/cannot-contact-elasticsearch-at-localhost-9200-from-apache-docker-container/115498 "2018-01-15T09:06:01Z")

</div>

I have installed logstash and elasticsearch as services on manjaro linux , i'am using logstash to get data from a mairadb container and it works just fine , elasticsearch seems to work perfectly as well , but when i try …

---

## [Find offset of matched input query terms to the document](https://discuss.elastic.co/t/find-offset-of-matched-input-query-terms-to-the-document/115501)

<div class="topic-metadata">

**Author:** [@Tahir\_Ahmad](https://discuss.elastic.co/u/Tahir_Ahmad)\
**Replies:** 0\
**Last updated:** [January 15, 2018, 8:59am UTC](https://discuss.elastic.co/t/find-offset-of-matched-input-query-terms-to-the-document/115501 "2018-01-15T08:59:08Z")

</div>

I have explored elasticsearch and couldn't find how to get those terms in input query which matched an indexed document. Some times the query is itself big and we want to highlight and get offset of terms in the input qu…

---

## [Lucene @timestamp rounding question](https://discuss.elastic.co/t/lucene-timestamp-rounding-question/115487)

<div class="topic-metadata">

**Author:** [@albeniz71](https://discuss.elastic.co/u/albeniz71)\
**Replies:** 3\
**Last updated:** [January 15, 2018, 8:40am UTC](https://discuss.elastic.co/t/lucene-timestamp-rounding-question/115487 "2018-01-15T08:40:42Z")

</div>

I am trying to retrive total count of todays requests. To do this, the beginning of time span sould 'today 00:00:00' and the end of time span sould 'now'. How can I specify these 2 values in lucene syntanx query box of…

---

## [Error with watcher](https://discuss.elastic.co/t/error-with-watcher/115282)

<div class="topic-metadata">

**Author:** [@sbampa](https://discuss.elastic.co/u/sbampa)\
**Replies:** 3\
**Last updated:** [January 15, 2018, 7:48am UTC](https://discuss.elastic.co/t/error-with-watcher/115282 "2018-01-15T07:48:14Z")

</div>

Hi all, after i set a watcher, in kibana logs i receiving the following error: Error: json argument must contain an actionJson.email.body property and in the UI of kibana if i click on watcher, i have the red line: W…

---

## [Upgrade Elasticsearch from 5.x to 6.x, then 6.x to 7.x](https://discuss.elastic.co/t/upgrade-elasticsearch-from-5-x-to-6-x-then-6-x-to-7-x/115488)

<div class="topic-metadata">

**Author:** [@shijiebei2009](https://discuss.elastic.co/u/shijiebei2009)\
**Replies:** 1\
**Last updated:** [January 15, 2018, 7:42am UTC](https://discuss.elastic.co/t/upgrade-elasticsearch-from-5-x-to-6-x-then-6-x-to-7-x/115488 "2018-01-15T07:42:42Z")

</div>

Lucene supports reading indexes with segments created with the last major version, so does elasticsearch. As far as I know, if I upgrade my ES from 5.x to 6.x, then it can read indexes created by 5.x, so after that, I u…

---

## [My es5.5.2-cluster is always red](https://discuss.elastic.co/t/my-es5-5-2-cluster-is-always-red/115480)

<div class="topic-metadata">

**Author:** [@lichehuo](https://discuss.elastic.co/u/lichehuo)\
**Replies:** 1\
**Last updated:** [January 15, 2018, 7:31am UTC](https://discuss.elastic.co/t/my-es5-5-2-cluster-is-always-red/115480 "2018-01-15T07:31:40Z")

</div>

one of data-node is always red, its uptime upper 100. my datanode:32c 128G. my config as follow: elasticsearch.yml discovery.zen.ping.unicast.hosts: \["26.6.0.163:9310", "26.6.0.162:9310", "26.6.0.161:9310"\] discovery…

---

## [Preference in index mapping](https://discuss.elastic.co/t/preference-in-index-mapping/115356)

<div class="topic-metadata">

**Author:** [@fhalde](https://discuss.elastic.co/u/fhalde)\
**Replies:** 1\
**Last updated:** [January 15, 2018, 5:46am UTC](https://discuss.elastic.co/t/preference-in-index-mapping/115356 "2018-01-15T05:46:10Z")

</div>

If I'm leveraging dynamic template and let's say I have specified a field say abcd to be of type long and in the dynamic template i specify for any field pattern matching ab\*, the type should be string, what will ES inf…

---

## [Gateway Time-out error](https://discuss.elastic.co/t/gateway-time-out-error/115471)

<div class="topic-metadata">

**Author:** [@uvarisubash](https://discuss.elastic.co/u/uvarisubash)\
**Replies:** 2\
**Last updated:** [January 15, 2018, 5:24am UTC](https://discuss.elastic.co/t/gateway-time-out-error/115471 "2018-01-15T05:24:17Z")

</div>

Hi, I am getting the below error when run create new index and new watcher commands from dev tool. Please help me to solve this issue. { "statusCode": 504, "error": "Gateway Time-out", "message": "Client request …

---

## [How to reduce recreation of ElasticClient (ASP.NET MVC C#)](https://discuss.elastic.co/t/how-to-reduce-recreation-of-elasticclient-asp-net-mvc-c/115216)

<div class="topic-metadata">

**Author:** [@nmathur](https://discuss.elastic.co/u/nmathur)\
**Replies:** 3\
**Last updated:** [January 15, 2018, 5:14am UTC](https://discuss.elastic.co/t/how-to-reduce-recreation-of-elasticclient-asp-net-mvc-c/115216 "2018-01-15T05:14:01Z")

</div>

Hello There, Please accept my apologies in advance for bad English. I do not have much knowledge of programming concepts and I am new to elasticsearch. Preparing a sample using Elasticsearch NEST in ASP.NET MVC C#. I …

---

## [When I set multiple path on elasticsearch.yml, elasticsearch service occur error](https://discuss.elastic.co/t/when-i-set-multiple-path-on-elasticsearch-yml-elasticsearch-service-occur-error/115194)

<div class="topic-metadata">

**Author:** [@Hyeok\_Kim](https://discuss.elastic.co/u/Hyeok_Kim)\
**Replies:** 2\
**Last updated:** [January 15, 2018, 1:32am UTC](https://discuss.elastic.co/t/when-i-set-multiple-path-on-elasticsearch-yml-elasticsearch-service-occur-error/115194 "2018-01-15T01:32:45Z")

</div>

Hello, I'm following below page, "Important Elasticsearch configuration" When I set multiple path on elasticsearch.yml, elasticsearch service occur error. How to solve this problem ? What am I missing ? if i set mu…

---

## [NAS / NFS mount - Failed to obtain lock](https://discuss.elastic.co/t/nas-nfs-mount-failed-to-obtain-lock/113838)

<div class="topic-metadata">

**Author:** [@venkii](https://discuss.elastic.co/u/venkii)\
**Replies:** 2\
**Last updated:** [January 15, 2018, 1:31am UTC](https://discuss.elastic.co/t/nas-nfs-mount-failed-to-obtain-lock/113838 "2018-01-15T01:31:17Z")

</div>

This ELK stack in build on Docker containers with elasticsearch, logstash and kibana as a service in a docker-compose. ‘There is a issue in mount the data volume of elasticsearch to an external NAS’ When I bind the vol…

---

## [Elastic Stack on Azure Marketplace - Fail to access kibana IP address](https://discuss.elastic.co/t/elastic-stack-on-azure-marketplace-fail-to-access-kibana-ip-address/114109)

<div class="topic-metadata">

**Author:** [@Doron\_Raz](https://discuss.elastic.co/u/Doron_Raz)\
**Replies:** 2\
**Last updated:** [January 14, 2018, 11:56pm UTC](https://discuss.elastic.co/t/elastic-stack-on-azure-marketplace-fail-to-access-kibana-ip-address/114109 "2018-01-14T23:56:15Z")

</div>

After installing this solution template, can't access the provided IP on port 5601. Elastic Stack - (Elasticsearch, Kibana, X-Pack) Also followed this demo: Elastic Stack on Azure deployment demo: Azure Marketplace W…

---

## [Access issues in shield](https://discuss.elastic.co/t/access-issues-in-shield/115182)

<div class="topic-metadata">

**Author:** [@kanthimathi](https://discuss.elastic.co/u/kanthimathi)\
**Replies:** 2\
**Last updated:** [January 14, 2018, 7:49pm UTC](https://discuss.elastic.co/t/access-issues-in-shield/115182 "2018-01-14T19:49:12Z")

</div>

Hi all, I was trying to set up access to elastic search. In my scenario, i need to set up discover and kibana dashboards read-only option to a role. From the documentation, i understood kibana\_user will be the right opt…

---

## [Meaning of the fields in \_cat/nodes request?](https://discuss.elastic.co/t/meaning-of-the-fields-in-cat-nodes-request/115426)

<div class="topic-metadata">

**Author:** [@apanimesh061](https://discuss.elastic.co/u/apanimesh061)\
**Replies:** 3\
**Last updated:** [January 14, 2018, 7:37pm UTC](https://discuss.elastic.co/t/meaning-of-the-fields-in-cat-nodes-request/115426 "2018-01-14T19:37:57Z")

</div>

For a particular node in my ES cluster, I get the following value: Value Option 0 INDEXING\_DELETE\_CURRENT 43.9s INDEXING\_DELETE\_TIME 0 INDEXING\_INDEX\_CURRENT 2.1h INDEXING\_INDEX\_TIME 0 SEARCH\_FETCH\_CURRE…

---

## [Having auto complete on fields firstname and lastname](https://discuss.elastic.co/t/having-auto-complete-on-fields-firstname-and-lastname/115382)

<div class="topic-metadata">

**Author:** [@alimardani](https://discuss.elastic.co/u/alimardani)\
**Replies:** 1\
**Last updated:** [January 14, 2018, 5:16pm UTC](https://discuss.elastic.co/t/having-auto-complete-on-fields-firstname-and-lastname/115382 "2018-01-14T17:16:25Z")

</div>

Hi, I am new to elastic search. I am designing my indices now. I want to confirm that should I make the fields firstname and lastname as text if I want to have auto complete on them? Or keyword is also works? Thanks

---

## [Update doc vs create new doc for small nested data](https://discuss.elastic.co/t/update-doc-vs-create-new-doc-for-small-nested-data/115451)

<div class="topic-metadata">

**Author:** [@sccds](https://discuss.elastic.co/u/sccds)\
**Replies:** 0\
**Last updated:** [January 14, 2018, 5:05pm UTC](https://discuss.elastic.co/t/update-doc-vs-create-new-doc-for-small-nested-data/115451 "2018-01-14T17:05:22Z")

</div>

Hi, I meet a question for update doc vs new doc for nested data. My data is like: { "some key": xxx, "key": \[ {"nested key1": value1}, {"nested key2": value2} \] } In the nested key part, about num 3-5 data integ…

---

## [Why is the bool clause 'must' not used in following](https://discuss.elastic.co/t/why-is-the-bool-clause-must-not-used-in-following/115414)

<div class="topic-metadata">

**Author:** [@sibh8](https://discuss.elastic.co/u/sibh8)\
**Replies:** 3\
**Last updated:** [January 14, 2018, 4:04pm UTC](https://discuss.elastic.co/t/why-is-the-bool-clause-must-not-used-in-following/115414 "2018-01-14T16:04:39Z")

</div>

I have the following data set. POST /my\_store/products/\_bulk { "index": { "\_id": 1 }} { "price" : 10, "productID" : "XHDK-A-1293-#fJ3" } { "index": { "\_id": 2 }} { "price" : 20, "productID" : "KDKE-B-9947-#kL5" } { "ind…

---

## [Can't upgrade elasticsearch 5.2.1 to 5.6.5](https://discuss.elastic.co/t/cant-upgrade-elasticsearch-5-2-1-to-5-6-5/115403)

<div class="topic-metadata">

**Author:** [@Arter\_Xu](https://discuss.elastic.co/u/Arter_Xu)\
**Replies:** 16\
**Last updated:** [January 14, 2018, 4:03pm UTC](https://discuss.elastic.co/t/cant-upgrade-elasticsearch-5-2-1-to-5-6-5/115403 "2018-01-14T16:03:07Z")

</div>

Old Version: Elasticsearch version : 5.2.1 JVM version : 1.8.0\_71 OS version : centos 7.3 New Verision: Elasticsearch version : 5.6.5 JVM version : 1.8.0\_131 OS version : centos 7.3 The details: I have six elasi…

---

## [Is there a way to associate a type with the property of another type?](https://discuss.elastic.co/t/is-there-a-way-to-associate-a-type-with-the-property-of-another-type/115416)

<div class="topic-metadata">

**Author:** [@root1](https://discuss.elastic.co/u/root1)\
**Replies:** 4\
**Last updated:** [January 14, 2018, 3:03pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-associate-a-type-with-the-property-of-another-type/115416 "2018-01-14T15:03:54Z")

</div>

\[ss\]

---

## [Getting Jar Hell](https://discuss.elastic.co/t/getting-jar-hell/115423)

<div class="topic-metadata">

**Author:** [@prakharjain17](https://discuss.elastic.co/u/prakharjain17)\
**Replies:** 11\
**Last updated:** [January 14, 2018, 2:24pm UTC](https://discuss.elastic.co/t/getting-jar-hell/115423 "2018-01-14T14:24:53Z")

</div>

Caused by: java.lang.IllegalStateException: jar hell! class: org.mockito.AdditionalAnswers jar1: /Users/gns9/.gradle/caches/modules-2/files-2.1/org.mockito/mockito-core/1.10.19/e8546f5bef4e061d8dd73895b4e8f40e3fe6effe/mo…

---

## [Nested issue for Java api （in urgency）!](https://discuss.elastic.co/t/nested-issue-for-java-api-in-urgency/115443)

<div class="topic-metadata">

**Author:** [@koqiui163](https://discuss.elastic.co/u/koqiui163)\
**Replies:** 1\
**Last updated:** [January 14, 2018, 1:12pm UTC](https://discuss.elastic.co/t/nested-issue-for-java-api-in-urgency/115443 "2018-01-14T13:12:58Z")

</div>

ES version : 2.4.4 We need Nested Query in our business , so I write code as ES doc says, but failed. My Doc Mapping coded as the following : ------------------------ doc mapping -------------------------- { "proper…

---

## [Node - Bulk indexing not working - Content-Type header \[application/x-ldjson\] is not supported](https://discuss.elastic.co/t/node-bulk-indexing-not-working-content-type-header-application-x-ldjson-is-not-supported/114944)

<div class="topic-metadata">

**Author:** [@venkkiram](https://discuss.elastic.co/u/venkkiram)\
**Replies:** 7\
**Last updated:** [January 14, 2018, 8:01am UTC](https://discuss.elastic.co/t/node-bulk-indexing-not-working-content-type-header-application-x-ldjson-is-not-supported/114944 "2018-01-14T08:01:15Z")

</div>

Am new and exploring elasticsearch integration with node and trying to execute the following example in my windows. while trying to import the data from data.json, the 'node index.js' is able to only parse the items i…

---

## [Es cloud can't out maps. Coordinate Map: Could not retrieve manifest from the tile service: status -1](https://discuss.elastic.co/t/es-cloud-cant-out-maps-coordinate-map-could-not-retrieve-manifest-from-the-tile-service-status-1/111891)

<div class="topic-metadata">

**Author:** [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Replies:** 9\
**Last updated:** [January 14, 2018, 7:48am UTC](https://discuss.elastic.co/t/es-cloud-cant-out-maps-coordinate-map-could-not-retrieve-manifest-from-the-tile-service-status-1/111891 "2018-01-14T07:48:23Z")

</div>

Coordinate Map: Could not retrieve manifest from the tile service: status -1 \[image\]

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

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