# Elasticsearch

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

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

**Page:** 1841

---

## [Synonyms with digits](https://discuss.elastic.co/t/synonyms-with-digits/113774)

<div class="topic-metadata">

**Author:** [@gilisade](https://discuss.elastic.co/u/gilisade)\
**Replies:** 0\
**Last updated:** [January 2, 2018, 1:01pm UTC](https://discuss.elastic.co/t/synonyms-with-digits/113774 "2018-01-02T13:01:19Z")

</div>

Hi There using ES 5.5 this is the section in my template "analysis": { "filter": { "synonym": { "type": "synonym", "synonyms\_path": "analysis/synonym.txt", "tokenizer": "lowercase" } }, "analyzer": { "ngraman…

---

## [How to Share DOC between discs](https://discuss.elastic.co/t/how-to-share-doc-between-discs/113591)

<div class="topic-metadata">

**Author:** [@Claudio\_Ract\_Costa](https://discuss.elastic.co/u/Claudio_Ract_Costa)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 12:57pm UTC](https://discuss.elastic.co/t/how-to-share-doc-between-discs/113591 "2018-01-02T12:57:58Z")

</div>

Gentlmen, I am trying figured out how to set my ES to share the docs between two partition. For example: First Partition is mounted in "/data1" Second Partition is mounted in "/data2" My elasticsearch.yml has: pat…

---

## [Document-level metadata](https://discuss.elastic.co/t/document-level-metadata/113183)

<div class="topic-metadata">

**Author:** [@val](https://discuss.elastic.co/u/val)\
**Replies:** 5\
**Last updated:** [January 2, 2018, 12:54pm UTC](https://discuss.elastic.co/t/document-level-metadata/113183 "2018-01-02T12:54:42Z")

</div>

The \_meta field makes it possible to attach custom metadata at the mapping type level. I've come through a few use cases recently (see genesis here) where it'd be handy to have a \_meta field at the document level, too, i…

---

## [Accent insensitive search with search analyzer](https://discuss.elastic.co/t/accent-insensitive-search-with-search-analyzer/113037)

<div class="topic-metadata">

**Author:** [@Valentin](https://discuss.elastic.co/u/Valentin)\
**Replies:** 7\
**Last updated:** [January 2, 2018, 12:49pm UTC](https://discuss.elastic.co/t/accent-insensitive-search-with-search-analyzer/113037 "2018-01-02T12:49:00Z")

</div>

Hi, I have some problems to configure my ES index. I want to perform a case-insensitive, accent-insensitive with special charachters search. Here is the index creation script : DELETE index-test PUT index-test { "s…

---

## [How to get a page from elasticsearch where from parameter is greater than 10000](https://discuss.elastic.co/t/how-to-get-a-page-from-elasticsearch-where-from-parameter-is-greater-than-10000/113732)

<div class="topic-metadata">

**Author:** [@Adarsh\_Bajpai](https://discuss.elastic.co/u/Adarsh_Bajpai)\
**Replies:** 7\
**Last updated:** [January 2, 2018, 12:32pm UTC](https://discuss.elastic.co/t/how-to-get-a-page-from-elasticsearch-where-from-parameter-is-greater-than-10000/113732 "2018-01-02T12:32:27Z")

</div>

Hi All, In our application, we have a listing of elasticsearch data, the data is rendered with pagination. Users can click on any page to get listing of that particular page. After upgrade to 5.6, we are not able to ge…

---

## [How to index a new document using existing documents?](https://discuss.elastic.co/t/how-to-index-a-new-document-using-existing-documents/113594)

<div class="topic-metadata">

**Author:** [@michaelcheung](https://discuss.elastic.co/u/michaelcheung)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 11:56am UTC](https://discuss.elastic.co/t/how-to-index-a-new-document-using-existing-documents/113594 "2018-01-02T11:56:50Z")

</div>

Hello, I have a need to index a document, with a field that computes by adding a number to an old document's field value. For example, I had a document (id: zoneA\_userA). { "\_index": "online", "\_type": "duration",…

---

## [Cluster Red - unallocated shards in a index](https://discuss.elastic.co/t/cluster-red-unallocated-shards-in-a-index/113741)

<div class="topic-metadata">

**Author:** [@Tamizh](https://discuss.elastic.co/u/Tamizh)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 11:10am UTC](https://discuss.elastic.co/t/cluster-red-unallocated-shards-in-a-index/113741 "2018-01-02T11:10:45Z")

</div>

My cluster suddenly went to red. Because of an index shard allocation fail. when i run GET /\_cluster/allocation/explain { "index": "my\_index", "shard": 0, "primary": true } output: { "shard": { "index": "t…

---

## [Not able to create a bulk api via curl](https://discuss.elastic.co/t/not-able-to-create-a-bulk-api-via-curl/113333)

<div class="topic-metadata">

**Author:** [@fillic2002](https://discuss.elastic.co/u/fillic2002)\
**Replies:** 6\
**Last updated:** [January 2, 2018, 10:34am UTC](https://discuss.elastic.co/t/not-able-to-create-a-bulk-api-via-curl/113333 "2018-01-02T10:34:22Z")

</div>

I am running this commond from curl on elasticsearch 6.0 version curl -XPOST "localhost:9200/shakespeare/doc/\_bulk?pretty" -H "Content-Type:application/json" -d @shakespeare.json Getting below error. "reason" : "The b…

---

## [Is @version filed created by Elasticsearch or Logstash?](https://discuss.elastic.co/t/is-version-filed-created-by-elasticsearch-or-logstash/113599)

<div class="topic-metadata">

**Author:** [@A\_B](https://discuss.elastic.co/u/A_B)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 8:58am UTC](https://discuss.elastic.co/t/is-version-filed-created-by-elasticsearch-or-logstash/113599 "2018-01-02T08:58:10Z")

</div>

Hello all, I'm trying to fix as many issues I can in my Elastic Stack setup before upgrading to version 6. One thing I would like to sort out are conflicting Index Patterns. In one of my clusters I have a conflict for @…

---

## [Elasticsearch on nested datatype : MapperParsingException](https://discuss.elastic.co/t/elasticsearch-on-nested-datatype-mapperparsingexception/113744)

<div class="topic-metadata">

**Author:** [@Saurab\_Dahal](https://discuss.elastic.co/u/Saurab_Dahal)\
**Replies:** 0\
**Last updated:** [January 2, 2018, 8:51am UTC](https://discuss.elastic.co/t/elasticsearch-on-nested-datatype-mapperparsingexception/113744 "2018-01-02T08:51:39Z")

</div>

this is my mapping { "mappings": { "data\_test": { "properties": { "type": { "type": "keyword" }, "geometry": { "type": "geo\_point" }, "proper": …

---

## [Why my search slow?](https://discuss.elastic.co/t/why-my-search-slow/113736)

<div class="topic-metadata">

**Author:** [@ganle\_hu](https://discuss.elastic.co/u/ganle_hu)\
**Replies:** 1\
**Last updated:** [January 2, 2018, 8:37am UTC](https://discuss.elastic.co/t/why-my-search-slow/113736 "2018-01-02T08:37:47Z")

</div>

I upgrade my es cluster to 5.5 and have following mapping: "append": { "type": "short" }, "comment": { "type": "text", "index": "analyzed" }, "create\_time": { "type": "date" …

---

## [Terms aggregation shows up irrevelant data](https://discuss.elastic.co/t/terms-aggregation-shows-up-irrevelant-data/111287)

<div class="topic-metadata">

**Author:** [@fvilpoix](https://discuss.elastic.co/u/fvilpoix)\
**Replies:** 5\
**Last updated:** [January 2, 2018, 8:25am UTC](https://discuss.elastic.co/t/terms-aggregation-shows-up-irrevelant-data/111287 "2018-01-02T08:25:25Z")

</div>

Hi, I've a weird behaviour, using terms aggregation on integer field, with ES 6 (migrated from 5.x) on Debian 9. Here is a first request I do, in order to assert that I do not have any data \> 60: { "query": { "b…

---

## [Java high level rest client: how to deal with aggregations?](https://discuss.elastic.co/t/java-high-level-rest-client-how-to-deal-with-aggregations/112667)

<div class="topic-metadata">

**Author:** [@asp](https://discuss.elastic.co/u/asp)\
**Replies:** 9\
**Last updated:** [January 2, 2018, 7:20am UTC](https://discuss.elastic.co/t/java-high-level-rest-client-how-to-deal-with-aggregations/112667 "2018-01-02T07:20:58Z")

</div>

Hi, I am trying out the high level java client for elasticsearch. I managed on a simple test to query some records, but I do not get the aggregations running. As I understand I need to put a query and the aggregation …

---

## [Delete specific data from elastic search index](https://discuss.elastic.co/t/delete-specific-data-from-elastic-search-index/113718)

<div class="topic-metadata">

**Author:** [@Vivek\_Nigam](https://discuss.elastic.co/u/Vivek_Nigam)\
**Replies:** 1\
**Last updated:** [January 2, 2018, 6:44am UTC](https://discuss.elastic.co/t/delete-specific-data-from-elastic-search-index/113718 "2018-01-02T06:44:50Z")

</div>

Delete specific data from elastic search data i want to delete specific data like , want to delete data where date is 01012018 from index "mydata" please help

---

## [Active Directory Realm Performance](https://discuss.elastic.co/t/active-directory-realm-performance/113547)

<div class="topic-metadata">

**Author:** [@DaveyDevOps](https://discuss.elastic.co/u/DaveyDevOps)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 6:43am UTC](https://discuss.elastic.co/t/active-directory-realm-performance/113547 "2018-01-02T06:43:01Z")

</div>

We have an Active Directory Realm configured to use ldaps (SSL/TLS). Does anyone know if the system uses pooled connections to the AD server vs creating a new connection for each authentication request? Also wondering …

---

## [Cannot set up email alert in Watcher](https://discuss.elastic.co/t/cannot-set-up-email-alert-in-watcher/113081)

<div class="topic-metadata">

**Author:** [@SIJIA\_CHEN](https://discuss.elastic.co/u/SIJIA_CHEN)\
**Replies:** 7\
**Last updated:** [January 2, 2018, 3:11am UTC](https://discuss.elastic.co/t/cannot-set-up-email-alert-in-watcher/113081 "2018-01-02T03:11:44Z")

</div>

Hi， I installed x-pack (both in Elasticsearch and Kibana, and also restarted all services) and tried to set an email alert by using watcher. However, when I clicked "test fire email", it gave me error showing " Watcher:…

---

## [Understanding allocation\_id](https://discuss.elastic.co/t/understanding-allocation-id/113709)

<div class="topic-metadata">

**Author:** [@itarch](https://discuss.elastic.co/u/itarch)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 1:47am UTC](https://discuss.elastic.co/t/understanding-allocation-id/113709 "2018-01-02T01:47:01Z")

</div>

Hi I'm new to elastic search and I would like to know if there is any relationship between (allocation\_id) GET /\_shard\_stores?status=green ... ... "allocation\_id": "\*\*40ymWcrHSWSARPNdO8mLfA\*\*" and the directories I fi…

---

## [Prevent Elasticsearch re-index on update by query](https://discuss.elastic.co/t/prevent-elasticsearch-re-index-on-update-by-query/113446)

<div class="topic-metadata">

**Author:** [@Adriano](https://discuss.elastic.co/u/Adriano)\
**Replies:** 1\
**Last updated:** [January 1, 2018, 7:31pm UTC](https://discuss.elastic.co/t/prevent-elasticsearch-re-index-on-update-by-query/113446 "2018-01-01T19:31:19Z")

</div>

I am using Elasticsearch 5 with Nest 5 on C#. I have an entity like this: public class Visitor { ... public List\<ESRecipient\> RecipientOf { get; set; } ... A mapping like this .Index(ESIndexName) .Settings(s =\> …

---

## [Strange indices](https://discuss.elastic.co/t/strange-indices/113585)

<div class="topic-metadata">

**Author:** [@Tamizh](https://discuss.elastic.co/u/Tamizh)\
**Replies:** 11\
**Last updated:** [January 1, 2018, 7:09pm UTC](https://discuss.elastic.co/t/strange-indices/113585 "2018-01-01T19:09:18Z")

</div>

I have already checked these two threads, But they did scanning and other things. But I never did anything. and moreover, i use Nginx for reverse proxy. so it is not open to the internet. I want to know what these ind…

---

## [Strange Polish Stempel Analysis](https://discuss.elastic.co/t/strange-polish-stempel-analysis/113705)

<div class="topic-metadata">

**Author:** [@Maciej\_Sek](https://discuss.elastic.co/u/Maciej_Sek)\
**Replies:** 0\
**Last updated:** [January 1, 2018, 6:24pm UTC](https://discuss.elastic.co/t/strange-polish-stempel-analysis/113705 "2018-01-01T18:24:56Z")

</div>

Hi, I have a problem with Polish Stempel Add-in analyzer. It converts "5531" number to "c" letter. This causing strange search results.. Example: GET products\_10\_pl\_1/\_analyze { "analyzer" : "polish", "text" : "5531…

---

## [Exception caught on transport layer](https://discuss.elastic.co/t/exception-caught-on-transport-layer/113655)

<div class="topic-metadata">

**Author:** [@Koustav\_Chatterjee](https://discuss.elastic.co/u/Koustav_Chatterjee)\
**Replies:** 11\
**Last updated:** [January 1, 2018, 1:56pm UTC](https://discuss.elastic.co/t/exception-caught-on-transport-layer/113655 "2018-01-01T13:56:14Z")

</div>

I am using ElasticSearch 2.3 on ec2(ubuntu). I had run sudo apt-get update and upgrade.Then restart the box. When i start the ES,this is what i run into. \[2017-12-31 11:33:21,605\]\[WARN \]\[transport.netty \] \[Qua…

---

## [When will elasticsearch 6.2 release?](https://discuss.elastic.co/t/when-will-elasticsearch-6-2-release/113672)

<div class="topic-metadata">

**Author:** [@prakharjain17](https://discuss.elastic.co/u/prakharjain17)\
**Replies:** 2\
**Last updated:** [January 1, 2018, 9:01am UTC](https://discuss.elastic.co/t/when-will-elasticsearch-6-2-release/113672 "2018-01-01T09:01:17Z")

</div>

Hi, We currently have dependency on multi search API of Java High Level Rest Client. Multi Search will be released in Java High Level Rest Client in 6.2 We need this. Any idea when 6.2 will be released?

---

## [Bool Query with multiple term queries inside should OR MultiSearch Queries](https://discuss.elastic.co/t/bool-query-with-multiple-term-queries-inside-should-or-multisearch-queries/113385)

<div class="topic-metadata">

**Author:** [@prakharjain17](https://discuss.elastic.co/u/prakharjain17)\
**Replies:** 2\
**Last updated:** [January 1, 2018, 6:06am UTC](https://discuss.elastic.co/t/bool-query-with-multiple-term-queries-inside-should-or-multisearch-queries/113385 "2018-01-01T06:06:29Z")

</div>

I have bool query which is perfectly satisfying my request which is like: GET product/product/\_search?pretty { "query" : { "bool": { "should": \[ { "term": { "field1" : "xxxx1" …

---

## [Multiple core cpu](https://discuss.elastic.co/t/multiple-core-cpu/113648)

<div class="topic-metadata">

**Author:** [@hoang2117](https://discuss.elastic.co/u/hoang2117)\
**Replies:** 5\
**Last updated:** [December 31, 2017, 4:33pm UTC](https://discuss.elastic.co/t/multiple-core-cpu/113648 "2017-12-31T16:33:34Z")

</div>

I have problems with multiple cpu cores use. My server have 12cores and available everytime, but on the peak time it be stuck because Elasticserach cannot use more than one core. I check process by top command and see …

---

## [ElasticSearch - MongoDB sync](https://discuss.elastic.co/t/elasticsearch-mongodb-sync/113663)

<div class="topic-metadata">

**Author:** [@Koustav\_Chatterjee](https://discuss.elastic.co/u/Koustav_Chatterjee)\
**Replies:** 1\
**Last updated:** [December 31, 2017, 5:39pm UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-sync/113663 "2017-12-31T17:39:47Z")

</div>

I have a elasticSearch server and mongodb Server.Data is feed into mongodb which needs to in turn pushed into ElasticSearch.I am looking for realtime updates into the ES server. I evaluated logstash using logstash-inpu…

---

## [Bootstrap checks failed \[1\]: max virtual memory areas vm.max\_map\_count \[65530\] is too low, increase to at least \[262144\]](https://discuss.elastic.co/t/bootstrap-checks-failed-1-max-virtual-memory-areas-vm-max-map-count-65530-is-too-low-increase-to-at-least-262144/113374)

<div class="topic-metadata">

**Author:** [@itplayer](https://discuss.elastic.co/u/itplayer)\
**Replies:** 1\
**Last updated:** [December 31, 2017, 1:41pm UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-1-max-virtual-memory-areas-vm-max-map-count-65530-is-too-low-increase-to-at-least-262144/113374 "2017-12-31T13:41:06Z")

</div>

Hi, i got this error when starting ES service, I know we can set this value to 26144 by executing command sysctl -w vm.max\_map\_count=261244. But this command will affect whole system, and my production machine has many…

---

## [Old generation of the heap space stuck at 100% after request circuit breaker](https://discuss.elastic.co/t/old-generation-of-the-heap-space-stuck-at-100-after-request-circuit-breaker/113566)

<div class="topic-metadata">

**Author:** [@dumplings](https://discuss.elastic.co/u/dumplings)\
**Replies:** 1\
**Last updated:** [December 31, 2017, 10:00am UTC](https://discuss.elastic.co/t/old-generation-of-the-heap-space-stuck-at-100-after-request-circuit-breaker/113566 "2017-12-31T10:00:24Z")

</div>

Our cluster always execute some aggregations queries , in order to keep the memory usable, indices.breaker.request.limit set to 10% of the heap space, others like this: indices.breaker.fielddata.limit: 15% indices.brea…

---

## [License upgrade failed on windows](https://discuss.elastic.co/t/license-upgrade-failed-on-windows/113605)

<div class="topic-metadata">

**Author:** [@Francesca\_P](https://discuss.elastic.co/u/Francesca_P)\
**Replies:** 1\
**Last updated:** [December 31, 2017, 2:40am UTC](https://discuss.elastic.co/t/license-upgrade-failed-on-windows/113605 "2017-12-31T02:40:10Z")

</div>

Hi, I get the following message, when I go to install the update on windows7: { "acknowledged": false, "license\_status": "valid", "acknowledge": { "message": """This license update requires acknowledgement. To ack…

---

## [Elastalert on windows](https://discuss.elastic.co/t/elastalert-on-windows/113632)

<div class="topic-metadata">

**Author:** [@ssi](https://discuss.elastic.co/u/ssi)\
**Replies:** 3\
**Last updated:** [December 30, 2017, 10:17pm UTC](https://discuss.elastic.co/t/elastalert-on-windows/113632 "2017-12-30T22:17:46Z")

</div>

hi i've installed all the needed python files etc but when i do a pip install elastalert i get this, I suspect this is because the python environment can not "see" the visual c ++ installation ? how do i fix this (EA2…

---

## [Get unique of date in data](https://discuss.elastic.co/t/get-unique-of-date-in-data/113494)

<div class="topic-metadata">

**Author:** [@ankur\_singla](https://discuss.elastic.co/u/ankur_singla)\
**Replies:** 6\
**Last updated:** [December 30, 2017, 2:01pm UTC](https://discuss.elastic.co/t/get-unique-of-date-in-data/113494 "2017-12-30T14:01:52Z")

</div>

I am having data with date field value in "dd-mm-yyyy" format in my index. I try to find the unique of date with cardinality aggregation but i am getting wrong result. POST /index/\_search?size=-0 { "aggs" : { …

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

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