# Elasticsearch

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

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

**Page:** 1697

---

## [About the \_all field and full-text search](https://discuss.elastic.co/t/about-the-all-field-and-full-text-search/130742)

<div class="topic-metadata">

**Author:** [@terrasacer](https://discuss.elastic.co/u/terrasacer)\
**Replies:** 7\
**Last updated:** [May 7, 2018, 8:32pm UTC](https://discuss.elastic.co/t/about-the-all-field-and-full-text-search/130742 "2018-05-07T20:32:16Z")

</div>

Hi guys, You know, \_all field is deprecated. I wonder, how is still full-text search provide by ElasticSearch? The \_all field was providing full-text search. Is this not that right?

---

## [Nested Query inner\_hits: why do I only get one under a bool's must?](https://discuss.elastic.co/t/nested-query-inner-hits-why-do-i-only-get-one-under-a-bools-must/130899)

<div class="topic-metadata">

**Author:** [@jerboa](https://discuss.elastic.co/u/jerboa)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 8:02pm UTC](https://discuss.elastic.co/t/nested-query-inner-hits-why-do-i-only-get-one-under-a-bools-must/130899 "2018-05-07T20:02:06Z")

</div>

Hi all, I'm trying to use inner\_hits in my bool must query. The query is conceptually MUST: \[NESTED, NESTED\] ie, two separate nested queries must match to score a hit. I believe I always get the second inner\_hits res…

---

## [Cluster pending tasks API end point not responding](https://discuss.elastic.co/t/cluster-pending-tasks-api-end-point-not-responding/130895)

<div class="topic-metadata">

**Author:** [@shankarps](https://discuss.elastic.co/u/shankarps)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 6:42pm UTC](https://discuss.elastic.co/t/cluster-pending-tasks-api-end-point-not-responding/130895 "2018-05-07T18:42:09Z")

</div>

I am trying to check the progress of my reindex tasks which is taking more than 2 hours. can see the results of the "/\_nodes/\_local" API. There is one cluster. But when I try any request on my cluster like "\_cluster/hea…

---

## [X-pack questions on installation](https://discuss.elastic.co/t/x-pack-questions-on-installation/129849)

<div class="topic-metadata">

**Author:** [@irb7501](https://discuss.elastic.co/u/irb7501)\
**Replies:** 36\
**Last updated:** [May 7, 2018, 6:37pm UTC](https://discuss.elastic.co/t/x-pack-questions-on-installation/129849 "2018-05-07T18:37:22Z")

</div>

Greetings - I have just installed x-pack 6.2.4 with ELK versions 6.2.4. I created the user passwords for elastic, kibana, and logstash-system. Kibana is running and I'm able to login - however I am not receiving any ne…

---

## [Elasticsearch UpdateByQuery index refresh issue](https://discuss.elastic.co/t/elasticsearch-updatebyquery-index-refresh-issue/130893)

<div class="topic-metadata">

**Author:** [@Adriano](https://discuss.elastic.co/u/Adriano)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 6:35pm UTC](https://discuss.elastic.co/t/elasticsearch-updatebyquery-index-refresh-issue/130893 "2018-05-07T18:35:54Z")

</div>

I am working with Elasticsearch(ES) 5 and NEST 5 on C# I have a workflow implemented using ES. Simplifiying the workflow has 2 steps. Step 1: I generate the recipients for a message using an UpdateByQuery statement bas…

---

## [Search slows down when moving from 6.0.0 to 6.2.4](https://discuss.elastic.co/t/search-slows-down-when-moving-from-6-0-0-to-6-2-4/130888)

<div class="topic-metadata">

**Author:** [@Sheker](https://discuss.elastic.co/u/Sheker)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 6:15pm UTC](https://discuss.elastic.co/t/search-slows-down-when-moving-from-6-0-0-to-6-2-4/130888 "2018-05-07T18:15:04Z")

</div>

Hi all, I have a data base of 1.3m docs, ~8gb. I have recently moved from 6.0.0 to 6.2.4 and had a terrible slow down of 2-5 times in searches. From around 300-500ms per search to 1000-2000ms. My cluster has one node,…

---

## [Indexing a document](https://discuss.elastic.co/t/indexing-a-document/130884)

<div class="topic-metadata">

**Author:** [@john\_g](https://discuss.elastic.co/u/john_g)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 5:49pm UTC](https://discuss.elastic.co/t/indexing-a-document/130884 "2018-05-07T17:49:12Z")

</div>

Hi I am new to Elasticsearch. We are planning to a database that has the following columns. \[USER-ID USER-NAME GROUP PARENT-GROUP GROUP-JOIN-DATE\] The database would have billions of entries. An user belonging…

---

## [Find all parents with 0 children](https://discuss.elastic.co/t/find-all-parents-with-0-children/130864)

<div class="topic-metadata">

**Author:** [@bberk](https://discuss.elastic.co/u/bberk)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 3:53pm UTC](https://discuss.elastic.co/t/find-all-parents-with-0-children/130864 "2018-05-07T15:53:43Z")

</div>

I am running Elasticsearch 5.5 and have an index with 2 types in it (type1 & type2). type1 is a parent to type2. I need to find all parent (type1) documents that have exactly ZERO children documents.

---

## [Split phrase to search](https://discuss.elastic.co/t/split-phrase-to-search/130797)

<div class="topic-metadata">

**Author:** [@Michal\_Pietrasz](https://discuss.elastic.co/u/Michal_Pietrasz)\
**Replies:** 1\
**Last updated:** [May 7, 2018, 3:26pm UTC](https://discuss.elastic.co/t/split-phrase-to-search/130797 "2018-05-07T15:26:13Z")

</div>

Hello, I need to do search mechanism when customer type "My custom phrase" in search then I need to search by: "My custom phrase" "My" "custom" "phrase" and in same hierarchic result should be shown. Should I use …

---

## [Container logs not parsed fully by fluentd](https://discuss.elastic.co/t/container-logs-not-parsed-fully-by-fluentd/130858)

<div class="topic-metadata">

**Author:** [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 3:18pm UTC](https://discuss.elastic.co/t/container-logs-not-parsed-fully-by-fluentd/130858 "2018-05-07T15:18:41Z")

</div>

fluentd version: 0.12.47 elastic version: 5.4.2 I have recently configured logging driver to rotate the container log files once it reaches 2G size and keep last 10 log files. When I push bulk messages to the applicat…

---

## [Watchers: moustache expressions syntax](https://discuss.elastic.co/t/watchers-moustache-expressions-syntax/130839)

<div class="topic-metadata">

**Author:** [@jetnet](https://discuss.elastic.co/u/jetnet)\
**Replies:** 5\
**Last updated:** [May 7, 2018, 2:55pm UTC](https://discuss.elastic.co/t/watchers-moustache-expressions-syntax/130839 "2018-05-07T14:55:48Z")

</div>

Hi again! one more question regarding Watchers: I've been using such syntax for long time already: "range": { "modification": { "gte": "{{ctx.trigger.scheduled\_time}}||-60m", "lte": null } } The variable…

---

## [Question on boost mapping type](https://discuss.elastic.co/t/question-on-boost-mapping-type/130517)

<div class="topic-metadata">

**Author:** [@Jagannath\_Kondapalli](https://discuss.elastic.co/u/Jagannath_Kondapalli)\
**Replies:** 3\
**Last updated:** [May 7, 2018, 2:38pm UTC](https://discuss.elastic.co/t/question-on-boost-mapping-type/130517 "2018-05-07T14:38:51Z")

</div>

I was going through the documentation for boolean datatype and I saw that boost is an allowed parameter for boolean. However, when I go to boost documentation, Index time boost is deprecated and query time boost is recom…

---

## [Query for specific geo\_shape types](https://discuss.elastic.co/t/query-for-specific-geo-shape-types/130671)

<div class="topic-metadata">

**Author:** [@Brian\_Hudson](https://discuss.elastic.co/u/Brian_Hudson)\
**Replies:** 4\
**Last updated:** [May 7, 2018, 11:49am UTC](https://discuss.elastic.co/t/query-for-specific-geo-shape-types/130671 "2018-05-07T11:49:30Z")

</div>

Is it possible to query a geo\_shape field for shapes of a particular type?

---

## [Bulk update is too slow elasticsearch 6.2](https://discuss.elastic.co/t/bulk-update-is-too-slow-elasticsearch-6-2/129213)

<div class="topic-metadata">

**Author:** [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Replies:** 24\
**Last updated:** [May 7, 2018, 11:24am UTC](https://discuss.elastic.co/t/bulk-update-is-too-slow-elasticsearch-6-2/129213 "2018-05-07T11:24:16Z")

</div>

Hi guys, Hers is my configuration: ES version = 6.2 JVM = 30gb Ram = 128gb CPU = 24core SDK = PHP I am experiencing Bulk update is too slow. I tried given solution which not working. Any suggestion will be apprec…

---

## [How do I declare nested inside another nested object?](https://discuss.elastic.co/t/how-do-i-declare-nested-inside-another-nested-object/130821)

<div class="topic-metadata">

**Author:** [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 11:14am UTC](https://discuss.elastic.co/t/how-do-i-declare-nested-inside-another-nested-object/130821 "2018-05-07T11:14:25Z")

</div>

Can any one tell me how to create mapping for nested objects inside another nested object

---

## [Docker Volume driver choice with docker swarm](https://discuss.elastic.co/t/docker-volume-driver-choice-with-docker-swarm/130817)

<div class="topic-metadata">

**Author:** [@sharongur](https://discuss.elastic.co/u/sharongur)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 11:05am UTC](https://discuss.elastic.co/t/docker-volume-driver-choice-with-docker-swarm/130817 "2018-05-07T11:05:28Z")

</div>

Hello, Im trying to use ElasticSearch 6.1.1 with docker swarm. I noticed that it is impossible to use local volume on the host ( as the swarm can create many ES containers on the same host and they cant have the same v…

---

## [Identify the KEY to which pattern got a match](https://discuss.elastic.co/t/identify-the-key-to-which-pattern-got-a-match/130810)

<div class="topic-metadata">

**Author:** [@NormalGuy](https://discuss.elastic.co/u/NormalGuy)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 10:17am UTC](https://discuss.elastic.co/t/identify-the-key-to-which-pattern-got-a-match/130810 "2018-05-07T10:17:48Z")

</div>

How do I make a similar query using QueryBuilders in Java? I am looking for a way to identify which key , the pattern got a matched. { "should": \[ { "match": { "description": { "query": "p…

---

## [Analyser doesn't remove English stopwords](https://discuss.elastic.co/t/analyser-doesnt-remove-english-stopwords/130639)

<div class="topic-metadata">

**Author:** [@randomuser](https://discuss.elastic.co/u/randomuser)\
**Replies:** 2\
**Last updated:** [May 7, 2018, 10:11am UTC](https://discuss.elastic.co/t/analyser-doesnt-remove-english-stopwords/130639 "2018-05-07T10:11:28Z")

</div>

Hello guys, I'm trying to reindex to add an English stopwords filter, but after running a simple terms aggregation, words like "the" or "a" are still on top of the list. What might be the problem? This is my mapping: P…

---

## [LDAP Authentication Failed](https://discuss.elastic.co/t/ldap-authentication-failed/130558)

<div class="topic-metadata">

**Author:** [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Replies:** 12\
**Last updated:** [May 7, 2018, 10:04am UTC](https://discuss.elastic.co/t/ldap-authentication-failed/130558 "2018-05-07T10:04:18Z")

</div>

Hi, Am trying to get the LDAP authentication using X-pack security feature, I had provided LDAP details and generated the cacert.pem using openssl and mapped it in the elasticsearch.yml, below is my elasticsearch.yml se…

---

## [Nested field query](https://discuss.elastic.co/t/nested-field-query/130803)

<div class="topic-metadata">

**Author:** [@prasad.ram1431](https://discuss.elastic.co/u/prasad.ram1431)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 9:29am UTC](https://discuss.elastic.co/t/nested-field-query/130803 "2018-05-07T09:29:29Z")

</div>

Hi All, Could someone please help me on below requirement, "industryCodes": { "industryCodeTypes": \[ { "typeCode": "1016", "typeDescription": "xxxx", "industryCode": { "code": "6111", "description": true } }, …

---

## [Rejected execution during search](https://discuss.elastic.co/t/rejected-execution-during-search/130800)

<div class="topic-metadata">

**Author:** [@asp](https://discuss.elastic.co/u/asp)\
**Replies:** 1\
**Last updated:** [May 7, 2018, 8:43am UTC](https://discuss.elastic.co/t/rejected-execution-during-search/130800 "2018-05-07T08:43:11Z")

</div>

Hi all, I am running a single instance of elastic stack in version 6.2.3 on a single server (8 CPU, 128 GB RAM). When I am loading a complex kibana dashboard for 30 days I have following issues: kibana (where I quer…

---

## [Where to find examples of bulk indexing for ES6?](https://discuss.elastic.co/t/where-to-find-examples-of-bulk-indexing-for-es6/127212)

<div class="topic-metadata">

**Author:** [@timogoosen](https://discuss.elastic.co/u/timogoosen)\
**Replies:** 7\
**Last updated:** [May 7, 2018, 8:31am UTC](https://discuss.elastic.co/t/where-to-find-examples-of-bulk-indexing-for-es6/127212 "2018-05-07T08:31:34Z")

</div>

I have a bunch of notes on bulk indexing with examples and code that I used to use to use for indexing data into Elasticsearch via the bulk index API. None of the examples seem to work and I run into all kinds of errors.…

---

## [Looking for working example data set to bulk index into ES6](https://discuss.elastic.co/t/looking-for-working-example-data-set-to-bulk-index-into-es6/128678)

<div class="topic-metadata">

**Author:** [@timogoosen](https://discuss.elastic.co/u/timogoosen)\
**Replies:** 3\
**Last updated:** [May 7, 2018, 8:30am UTC](https://discuss.elastic.co/t/looking-for-working-example-data-set-to-bulk-index-into-es6/128678 "2018-05-07T08:30:29Z")

</div>

I created a thread before, which I then closed, you can view it here: I'm looking for a sample dataset that I can index into Elasticsearch 6 using bulk indexing. I tried using this example: I downloaded the dataset,…

---

## [Elastic search cluster restart](https://discuss.elastic.co/t/elastic-search-cluster-restart/130786)

<div class="topic-metadata">

**Author:** [@gangireddy\_l](https://discuss.elastic.co/u/gangireddy_l)\
**Replies:** 7\
**Last updated:** [May 7, 2018, 8:22am UTC](https://discuss.elastic.co/t/elastic-search-cluster-restart/130786 "2018-05-07T08:22:29Z")

</div>

Hi, I configured elastic search cluster with 2 nodes one is master and data node , second node is data node.Node 1 contains primary shards and Node 2 contains replica shards. my question is If node2 is restarted acc…

---

## [Poor Query Performance using nested document structure](https://discuss.elastic.co/t/poor-query-performance-using-nested-document-structure/130781)

<div class="topic-metadata">

**Author:** [@Jagdish\_agarwal](https://discuss.elastic.co/u/Jagdish_agarwal)\
**Replies:** 6\
**Last updated:** [May 7, 2018, 8:20am UTC](https://discuss.elastic.co/t/poor-query-performance-using-nested-document-structure/130781 "2018-05-07T08:20:23Z")

</div>

We are building a search feature for our existing product . The document structure is like { "\_index" : "apr-2018-feed", "\_type" : "product", "\_id" : "8102637039f76d20a0adc1257c14ee08", "\_source" : { "id" : "8102…

---

## [Generic method for Document Properties creation](https://discuss.elastic.co/t/generic-method-for-document-properties-creation/130792)

<div class="topic-metadata">

**Author:** [@arpansahoo](https://discuss.elastic.co/u/arpansahoo)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 7:46am UTC](https://discuss.elastic.co/t/generic-method-for-document-properties-creation/130792 "2018-05-07T07:46:51Z")

</div>

Hi, For multi fields creation in NEST, I am using below approach (ElasticSearchProperties - is a class file having City, Email as strings) :- .Mappings(ms =\> ms.Map(m1 =\> m1 .AutoMap() .AllField(af =\> af.Enabled(fals…

---

## [What is alternative for JsonConverter in Nest.JsonNetSerializer](https://discuss.elastic.co/t/what-is-alternative-for-jsonconverter-in-nest-jsonnetserializer/130787)

<div class="topic-metadata">

**Author:** [@anjireddy543](https://discuss.elastic.co/u/anjireddy543)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 7:12am UTC](https://discuss.elastic.co/t/what-is-alternative-for-jsonconverter-in-nest-jsonnetserializer/130787 "2018-05-07T07:12:19Z")

</div>

In 5.5 am using JsonConverter for serializing date. Recently i moved to 6.0 Nest but i didnt find any alternate for this. public class MyDateConverter : IsoDateTimeConverter { public MyDateConverter() { DateTimeFo…

---

## [IndexExistsAsync in NEST 6.0](https://discuss.elastic.co/t/indexexistsasync-in-nest-6-0/129447)

<div class="topic-metadata">

**Author:** [@arpansahoo](https://discuss.elastic.co/u/arpansahoo)\
**Replies:** 6\
**Last updated:** [May 7, 2018, 6:50am UTC](https://discuss.elastic.co/t/indexexistsasync-in-nest-6-0/129447 "2018-05-07T06:50:20Z")

</div>

Hi, I am new to Elastic search, and was trying to check an Index before creating a new one. I am able to check it through IndexExists method but not by IndexExistsAsync. I have followed some of articles here in Elastic…

---

## [Performance of terms aggregation based on the number of indices/shards](https://discuss.elastic.co/t/performance-of-terms-aggregation-based-on-the-number-of-indices-shards/130772)

<div class="topic-metadata">

**Author:** [@vangap](https://discuss.elastic.co/u/vangap)\
**Replies:** 0\
**Last updated:** [May 7, 2018, 3:16am UTC](https://discuss.elastic.co/t/performance-of-terms-aggregation-based-on-the-number-of-indices-shards/130772 "2018-05-07T03:16:56Z")

</div>

I understand that a terms aggregation(with some sorting) request would get fired to each shard. Let's say If I specify size to 100k, Coordinating node will get 100k buckets from each shard and reduce,sort. If the search…

---

## [Server migration recommendation? 3 nodes to 4 nodes](https://discuss.elastic.co/t/server-migration-recommendation-3-nodes-to-4-nodes/130731)

<div class="topic-metadata">

**Author:** [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Replies:** 3\
**Last updated:** [May 6, 2018, 9:48pm UTC](https://discuss.elastic.co/t/server-migration-recommendation-3-nodes-to-4-nodes/130731 "2018-05-06T21:48:03Z")

</div>

Hi, right now my production servers consist of 3 nodes: A, B, C. I would like to add E, D and then get rid of A. What’s the best way to achieve this? If I simply add E, D with the existing config and then remove A from …

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

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