# Elasticsearch

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

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

**Page:** 1309

---

## [NEST 6 QueryContainer JSON serialization](https://discuss.elastic.co/t/nest-6-querycontainer-json-serialization/179873)

<div class="topic-metadata">

**Author:** [@keithpeck](https://discuss.elastic.co/u/keithpeck)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 9:06pm UTC](https://discuss.elastic.co/t/nest-6-querycontainer-json-serialization/179873 "2019-05-07T21:06:59Z")

</div>

Our entity classes have a QueryContainer property on them which we use for storing percolate queries. Serialization of ElasticSearch request/response works fine, but when the object is then returned from our API controll…

---

## [How to query/rank documents with individual matches and a shared key/parent](https://discuss.elastic.co/t/how-to-query-rank-documents-with-individual-matches-and-a-shared-key-parent/180060)

<div class="topic-metadata">

**Author:** [@carmechanic](https://discuss.elastic.co/u/carmechanic)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 8:45pm UTC](https://discuss.elastic.co/t/how-to-query-rank-documents-with-individual-matches-and-a-shared-key-parent/180060 "2019-05-07T20:45:32Z")

</div>

Hi! I am trying to figure out how to solve a particular use case. I have blog posts and comments. I want to be able to find blog posts that have text matches ACROSS comments. e.g. if I search for "pizza, beer", I want t…

---

## [Failed to parse mapping \[\_doc\]: Root mapping definition has unsupported parameters](https://discuss.elastic.co/t/failed-to-parse-mapping-doc-root-mapping-definition-has-unsupported-parameters/176492)

<div class="topic-metadata">

**Author:** [@atik\_sarker](https://discuss.elastic.co/u/atik_sarker)\
**Replies:** 14\
**Last updated:** [May 7, 2019, 8:07pm UTC](https://discuss.elastic.co/t/failed-to-parse-mapping-doc-root-mapping-definition-has-unsupported-parameters/176492 "2019-05-07T20:07:02Z")

</div>

Hi i am new in Elasticsearch, I am getting the following error : Invalid NEST response built from a unsuccessful low level call on PUT: /idxcomparatornt # Audit trail of this API call: - \[1\] BadResponse: Node: http://…

---

## [Count number of times a field has a particular value](https://discuss.elastic.co/t/count-number-of-times-a-field-has-a-particular-value/179854)

<div class="topic-metadata">

**Author:** [@Corey\_F](https://discuss.elastic.co/u/Corey_F)\
**Replies:** 3\
**Last updated:** [May 7, 2019, 7:43pm UTC](https://discuss.elastic.co/t/count-number-of-times-a-field-has-a-particular-value/179854 "2019-05-07T19:43:06Z")

</div>

Hi there, I have a query like this: "query": { "multi\_match" : { "fields" : \["form.\*"\], "lenient": true, "query" : "Ineligible" } } This is essentially what I want,…

---

## [Mapper parsing exception for date at elastic search version 6.2.0](https://discuss.elastic.co/t/mapper-parsing-exception-for-date-at-elastic-search-version-6-2-0/179995)

<div class="topic-metadata">

**Author:** [@rvyas](https://discuss.elastic.co/u/rvyas)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 7:41pm UTC](https://discuss.elastic.co/t/mapper-parsing-exception-for-date-at-elastic-search-version-6-2-0/179995 "2019-05-07T19:41:29Z")

</div>

I am getting mapper parsing exception while indexing dates at ES : { "type": "mapper\_parsing\_exception", "reason": "failed to parse \[completionTime\]", "caused\_by": { "type": "illegal\_argument\_exception", "reason": …

---

## [Accessing parsed date values in Update by Query script](https://discuss.elastic.co/t/accessing-parsed-date-values-in-update-by-query-script/178980)

<div class="topic-metadata">

**Author:** [@Jeff\_Bolle](https://discuss.elastic.co/u/Jeff_Bolle)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 7:08pm UTC](https://discuss.elastic.co/t/accessing-parsed-date-values-in-update-by-query-script/178980 "2019-05-07T19:08:39Z")

</div>

Inside of the script context for an Update By Query, is there any way (other than parsing the raw strings), to access the doc values for date fields? I'm trying to write a script to handle some dates on some of our obje…

---

## [Rolling indices on daily basis](https://discuss.elastic.co/t/rolling-indices-on-daily-basis/179994)

<div class="topic-metadata">

**Author:** [@abrasat](https://discuss.elastic.co/u/abrasat)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 3:54pm UTC](https://discuss.elastic.co/t/rolling-indices-on-daily-basis/179994 "2019-05-07T15:54:25Z")

</div>

We are thinking about storing the events generated from our system for the last 2 weeks into elasticsearch. How exactly shoud be configured elesticsearch to get such a functionality, to "automatically" create a new index…

---

## [Problems using Elastic Search 7.0.1 with Nest](https://discuss.elastic.co/t/problems-using-elastic-search-7-0-1-with-nest/179436)

<div class="topic-metadata">

**Author:** [@Samantha\_Molina\_Sier](https://discuss.elastic.co/u/Samantha_Molina_Sier)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 3:23pm UTC](https://discuss.elastic.co/t/problems-using-elastic-search-7-0-1-with-nest/179436 "2019-05-07T15:23:52Z")

</div>

Hi all, I am using ElasticSearch 7.0.1 and Nest 6.6.0. During a multi match query I am getting the next error: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Int64' because the typ…

---

## [Match phrase prefix is not working as expectet with numeric tokens](https://discuss.elastic.co/t/match-phrase-prefix-is-not-working-as-expectet-with-numeric-tokens/180002)

<div class="topic-metadata">

**Author:** [@harrallo](https://discuss.elastic.co/u/harrallo)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 2:14pm UTC](https://discuss.elastic.co/t/match-phrase-prefix-is-not-working-as-expectet-with-numeric-tokens/180002 "2019-05-07T14:14:53Z")

</div>

I have a tricky problem: If I search for a prefix that ends with a partial number, the search does not return any results. ES version: 6.1 for .NET Index settings { "document\_idx": { "settings": { "index": { "provided…

---

## [Performant query from several indices](https://discuss.elastic.co/t/performant-query-from-several-indices/179996)

<div class="topic-metadata">

**Author:** [@abrasat](https://discuss.elastic.co/u/abrasat)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 2:03pm UTC](https://discuss.elastic.co/t/performant-query-from-several-indices/179996 "2019-05-07T14:03:37Z")

</div>

We are planning to define 2 kind of indices for our event logging system based on elasticsearch. The first one would contain the actually generated event logs, containing the timestamp of the event occurence, as well as …

---

## [Query\_string not applying synonyms filter](https://discuss.elastic.co/t/query-string-not-applying-synonyms-filter/179758)

<div class="topic-metadata">

**Author:** [@ankur\_singla](https://discuss.elastic.co/u/ankur_singla)\
**Replies:** 11\
**Last updated:** [May 7, 2019, 1:45pm UTC](https://discuss.elastic.co/t/query-string-not-applying-synonyms-filter/179758 "2019-05-07T13:45:36Z")

</div>

Hi I am facing one issue while using query\_string. For strings having space it's not applying synonyms filter but same thing is working with match query . index creation script- PUT my\_index1 { "settings…

---

## [Canvas is part of xpack security (ELK 7.0.0 )](https://discuss.elastic.co/t/canvas-is-part-of-xpack-security-elk-7-0-0/179944)

<div class="topic-metadata">

**Author:** [@sharath\_1245](https://discuss.elastic.co/u/sharath_1245)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 1:39pm UTC](https://discuss.elastic.co/t/canvas-is-part-of-xpack-security-elk-7-0-0/179944 "2019-05-07T13:39:48Z")

</div>

ELK 7.0.0 Canvas is part of xpack security? i.e Canvas for free for ELK 7.0.0 Thanks in Advance,

---

## [Multiple queries - action on second query if not met after x timeframe](https://discuss.elastic.co/t/multiple-queries-action-on-second-query-if-not-met-after-x-timeframe/179815)

<div class="topic-metadata">

**Author:** [@lgordnier](https://discuss.elastic.co/u/lgordnier)\
**Replies:** 2\
**Last updated:** [May 7, 2019, 12:34pm UTC](https://discuss.elastic.co/t/multiple-queries-action-on-second-query-if-not-met-after-x-timeframe/179815 "2019-05-07T12:34:09Z")

</div>

Forgive me if this is already answered somewhere else on this forum, but I haven't had much luck finding it. I'm trying to create a watcher to check for events (ie: down node). From within this watcher, i ONLY want to m…

---

## [Unable to assign roles to groups in active directory using elasticsearch](https://discuss.elastic.co/t/unable-to-assign-roles-to-groups-in-active-directory-using-elasticsearch/177355)

<div class="topic-metadata">

**Author:** [@Vishnu\_mk](https://discuss.elastic.co/u/Vishnu_mk)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 12:26pm UTC](https://discuss.elastic.co/t/unable-to-assign-roles-to-groups-in-active-directory-using-elasticsearch/177355 "2019-05-07T12:26:24Z")

</div>

GoodDay, I have Finance group in my active directory and I want to assign roles to the Finance group so that all users present in the Finance group are assigned same role. Below is my role\_mapping.yml configuration F…

---

## [Separate fields from one document to create one document per field](https://discuss.elastic.co/t/separate-fields-from-one-document-to-create-one-document-per-field/179964)

<div class="topic-metadata">

**Author:** [@RemiFreret](https://discuss.elastic.co/u/RemiFreret)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 12:06pm UTC](https://discuss.elastic.co/t/separate-fields-from-one-document-to-create-one-document-per-field/179964 "2019-05-07T12:06:38Z")

</div>

Hello, Sorry if the title isn't really speaking but I don't know how to explain my problem in other way than giving a concrete example. So here is what I want to do : I have an index where the document contains data l…

---

## [Is the host field data being stored in an efficient manner?](https://discuss.elastic.co/t/is-the-host-field-data-being-stored-in-an-efficient-manner/179751)

<div class="topic-metadata">

**Author:** [@elasticSmash](https://discuss.elastic.co/u/elasticSmash)\
**Replies:** 2\
**Last updated:** [May 7, 2019, 11:56am UTC](https://discuss.elastic.co/t/is-the-host-field-data-being-stored-in-an-efficient-manner/179751 "2019-05-07T11:56:37Z")

</div>

I'm using the tradition method of filebeat -\> logstash -\> elasticsearch -\> view in kibana. When I look in Kibana at the log entries I see that the "host" field has data like the following for EVERY log entry: { "name…

---

## [How to Calling 3 node elastic-search cluster url from application](https://discuss.elastic.co/t/how-to-calling-3-node-elastic-search-cluster-url-from-application/179957)

<div class="topic-metadata">

**Author:** [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 11:49am UTC](https://discuss.elastic.co/t/how-to-calling-3-node-elastic-search-cluster-url-from-application/179957 "2019-05-07T11:49:38Z")

</div>

Hi, We have 2+1 Elastic search Clustering setup on windows server. we need to know which URL should we call in our application to have a proper Fail over. if one node is down how the application identify that and swit…

---

## [ElasticSearch 5.5.2 dockerfile based on ubuntu 16.04 as base image](https://discuss.elastic.co/t/elasticsearch-5-5-2-dockerfile-based-on-ubuntu-16-04-as-base-image/179951)

<div class="topic-metadata">

**Author:** [@Ganesh\_Puli](https://discuss.elastic.co/u/Ganesh_Puli)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 11:32am UTC](https://discuss.elastic.co/t/elasticsearch-5-5-2-dockerfile-based-on-ubuntu-16-04-as-base-image/179951 "2019-05-07T11:32:44Z")

</div>

Hi everyone, please help me in building the ubuntu based docker image for elasticsearch 5.5.2 , I have also tried with it, but am getting the issue as elasticsearch cannot run as a root user

---

## [Filter by any field](https://discuss.elastic.co/t/filter-by-any-field/179940)

<div class="topic-metadata">

**Author:** [@vijayaraj](https://discuss.elastic.co/u/vijayaraj)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 11:03am UTC](https://discuss.elastic.co/t/filter-by-any-field/179940 "2019-05-07T11:03:09Z")

</div>

I have an elasticsearch Document that has around 15 fields. I should be able to target every field for filtering. But sometimes, I need to filter documents by CategoryName and MerchantID, While other time I need to fi…

---

## [Order by a non timestamp parameter](https://discuss.elastic.co/t/order-by-a-non-timestamp-parameter/179926)

<div class="topic-metadata">

**Author:** [@mtanzi](https://discuss.elastic.co/u/mtanzi)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 10:49am UTC](https://discuss.elastic.co/t/order-by-a-non-timestamp-parameter/179926 "2019-05-07T10:49:32Z")

</div>

Hi, I am replacing our current search service based on MySQL query with a new service using Elasticsearch. I am running an integration test to make sure that all the existing query match with the new query using Elastic…

---

## [Results from different nodes with custom (string) value for preference=](https://discuss.elastic.co/t/results-from-different-nodes-with-custom-string-value-for-preference/178493)

<div class="topic-metadata">

**Author:** [@Thijs](https://discuss.elastic.co/u/Thijs)\
**Replies:** 6\
**Last updated:** [May 7, 2019, 10:47am UTC](https://discuss.elastic.co/t/results-from-different-nodes-with-custom-string-value-for-preference/178493 "2019-05-07T10:47:50Z")

</div>

Hi, When passing a custom (string) value as a preference parameter to a search request, we get results from different nodes after repeating the same query (with the same custom value). It looks like the custom value is…

---

## [Configuring Phonetic Matching?](https://discuss.elastic.co/t/configuring-phonetic-matching/179640)

<div class="topic-metadata">

**Author:** [@apremgeorge](https://discuss.elastic.co/u/apremgeorge)\
**Replies:** 3\
**Last updated:** [May 7, 2019, 9:34am UTC](https://discuss.elastic.co/t/configuring-phonetic-matching/179640 "2019-05-07T09:34:16Z")

</div>

I have the below logstash config file(windows) to index a csv, i have the address field and i want to use the phonetic matching in address field, may i know how to configure phonetic analyzer and define phonetic field vi…

---

## [Getting 504 Gateway Timeout while fetching data If I am using High-level client?](https://discuss.elastic.co/t/getting-504-gateway-timeout-while-fetching-data-if-i-am-using-high-level-client/179592)

<div class="topic-metadata">

**Author:** [@aashrithVarikuti](https://discuss.elastic.co/u/aashrithVarikuti)\
**Replies:** 3\
**Last updated:** [May 7, 2019, 9:33am UTC](https://discuss.elastic.co/t/getting-504-gateway-timeout-while-fetching-data-if-i-am-using-high-level-client/179592 "2019-05-07T09:33:01Z")

</div>

I am using elastic search high-level client version 6.3.1in my project. My goal is single request needs to get data from multiple indexes. I implemented query using NestedQueryBuilder. But I am seeing lot of performanc…

---

## [Whether Nest5.2.0 and ElasticSearch.Net 5.2.0 can support elasticsearch6.7.1 query,aggregation,sort?](https://discuss.elastic.co/t/whether-nest5-2-0-and-elasticsearch-net-5-2-0-can-support-elasticsearch6-7-1-query-aggregation-sort/177750)

<div class="topic-metadata">

**Author:** [@sunweiconfidence](https://discuss.elastic.co/u/sunweiconfidence)\
**Replies:** 5\
**Last updated:** [May 7, 2019, 8:54am UTC](https://discuss.elastic.co/t/whether-nest5-2-0-and-elasticsearch-net-5-2-0-can-support-elasticsearch6-7-1-query-aggregation-sort/177750 "2019-05-07T08:54:14Z")

</div>

currently i use elasticsearch.net 5.2.0 and Nest5.2.0 to call elasticsearch5.4.3 to get the search result, now i prepare to upgrade elasticsearch to version 6.7.1, whether i can use current elasticsearch.net5.2.0 and Nes…

---

## [What is the dataset size of elasticlogs-1bn-load in rally-eventdata-track](https://discuss.elastic.co/t/what-is-the-dataset-size-of-elasticlogs-1bn-load-in-rally-eventdata-track/179885)

<div class="topic-metadata">

**Author:** [@suvarna](https://discuss.elastic.co/u/suvarna)\
**Replies:** 2\
**Last updated:** [May 7, 2019, 8:42am UTC](https://discuss.elastic.co/t/what-is-the-dataset-size-of-elasticlogs-1bn-load-in-rally-eventdata-track/179885 "2019-05-07T08:42:18Z")

</div>

Hi Can anyone please help me out .. that what is the dataset size of elasticlogs-1bn-load in rally-eventdata-track.

---

## [Import bulk from TXT file to ES via Elasticsearch-PHP not duplicate](https://discuss.elastic.co/t/import-bulk-from-txt-file-to-es-via-elasticsearch-php-not-duplicate/179922)

<div class="topic-metadata">

**Author:** [@hatienkma](https://discuss.elastic.co/u/hatienkma)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 8:34am UTC](https://discuss.elastic.co/t/import-bulk-from-txt-file-to-es-via-elasticsearch-php-not-duplicate/179922 "2019-05-07T08:34:04Z")

</div>

Hello, I have problem when import content in text file to ES via bulk function. I used Elasticsearch-PHP lib but it duplicate content. Any way to import data ES via bulk and not duplicate document? Thanks so much. M…

---

## [Cluster High-Availability](https://discuss.elastic.co/t/cluster-high-availability/179915)

<div class="topic-metadata">

**Author:** [@fim](https://discuss.elastic.co/u/fim)\
**Replies:** 3\
**Last updated:** [May 7, 2019, 8:33am UTC](https://discuss.elastic.co/t/cluster-high-availability/179915 "2019-05-07T08:33:51Z")

</div>

I suppose to have a problem in my configuration that the master node is not switching properly. We operate a two node cluster (test environment), later it will be a three-node cluster (production environment). For testi…

---

## [To search document by id using elasticseach JS API](https://discuss.elastic.co/t/to-search-document-by-id-using-elasticseach-js-api/179916)

<div class="topic-metadata">

**Author:** [@Sumit\_Kumar1](https://discuss.elastic.co/u/Sumit_Kumar1)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 8:03am UTC](https://discuss.elastic.co/t/to-search-document-by-id-using-elasticseach-js-api/179916 "2019-05-07T08:03:52Z")

</div>

I have checked the elasticsearch js API to fetch document of particular index . I have checked in search field - id is not accepted as a searchable field.

---

## [Elasticsearch, ingest API and summation two numbers in field of the document](https://discuss.elastic.co/t/elasticsearch-ingest-api-and-summation-two-numbers-in-field-of-the-document/179913)

<div class="topic-metadata">

**Author:** [@unix196](https://discuss.elastic.co/u/unix196)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 7:47am UTC](https://discuss.elastic.co/t/elasticsearch-ingest-api-and-summation-two-numbers-in-field-of-the-document/179913 "2019-05-07T07:47:12Z")

</div>

Good day. We use elasticsearch 6.7.1 and Ingest API for receiving logs from filebeats. We set this pipeline (some processors removed for clarity): { "description": "balancer pipeline", "processors": \[ { "split": { "fie…

---

## [Elastic Upgrade 5.6.16 not starting the service in Centos 7](https://discuss.elastic.co/t/elastic-upgrade-5-6-16-not-starting-the-service-in-centos-7/179910)

<div class="topic-metadata">

**Author:** [@620528](https://discuss.elastic.co/u/620528)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 7:37am UTC](https://discuss.elastic.co/t/elastic-upgrade-5-6-16-not-starting-the-service-in-centos-7/179910 "2019-05-07T07:37:41Z")

</div>

Recently upgraded elasticsearch from 2.3.1 to 5.6.16 in my dev machine. Java and elastic installation went fine. Now while i am trying to start the service it is not starting the service at all. below is the error messag…

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

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