# Elasticsearch

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

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

**Page:** 1293

---

## [Decode update \_doc response](https://discuss.elastic.co/t/decode-update-doc-response/182123)

<div class="topic-metadata">

**Author:** [@singla\_02](https://discuss.elastic.co/u/singla_02)\
**Replies:** 2\
**Last updated:** [May 22, 2019, 6:47am UTC](https://discuss.elastic.co/t/decode-update-doc-response/182123 "2019-05-22T06:47:39Z")

</div>

Updating a document using following query. Document gets updated successfully but I would like to know what are the various fields in response represents ? Query: POST test-square/test-square/bz773WoBVFIuuuSKDD\_Q/\_upda…

---

## [Is there any way we can tell ES query to pick the scripted value for the field specified?](https://discuss.elastic.co/t/is-there-any-way-we-can-tell-es-query-to-pick-the-scripted-value-for-the-field-specified/182019)

<div class="topic-metadata">

**Author:** [@Nav18](https://discuss.elastic.co/u/Nav18)\
**Replies:** 2\
**Last updated:** [May 22, 2019, 6:34am UTC](https://discuss.elastic.co/t/is-there-any-way-we-can-tell-es-query-to-pick-the-scripted-value-for-the-field-specified/182019 "2019-05-22T06:34:31Z")

</div>

Hi. I am using below query in kibana POST cars/\_search {"size":10000,"query":{"bool":{"should":\[{"query\_string":{"fields":\["car\_name","car\_description"\],"query":"\*765\*"}},{"regexp":{"car\_model":"(765)\[0-9\]\*"}}\]}}} Fab…

---

## [Failed to create query](https://discuss.elastic.co/t/failed-to-create-query/182125)

<div class="topic-metadata">

**Author:** [@Poonam1](https://discuss.elastic.co/u/Poonam1)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 5:49am UTC](https://discuss.elastic.co/t/failed-to-create-query/182125 "2019-05-22T05:49:14Z")

</div>

Hi All, I am getting the following exception. Can anyone help with the possible reason? org.elasticsearch.transport.RemoteTransportException: \[EI3\_UVO\]\[127.0.0.1:9300\]\[indices:data/read/search\[phase/dfs\]\] Caused by: …

---

## [CutOff\_Frequency query combined with Fuzzy query](https://discuss.elastic.co/t/cutoff-frequency-query-combined-with-fuzzy-query/182122)

<div class="topic-metadata">

**Author:** [@ddos](https://discuss.elastic.co/u/ddos)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 5:00am UTC](https://discuss.elastic.co/t/cutoff-frequency-query-combined-with-fuzzy-query/182122 "2019-05-22T05:00:39Z")

</div>

Hi, As design combining cutoff\_frequency parameter with fuzziness parameter will bring no effect - cutoff\_frequency parameter will be omitted. The right query that I am looking for is the same as generate by cutoff\_par…

---

## [How to use MR to import nested data into ES？](https://discuss.elastic.co/t/how-to-use-mr-to-import-nested-data-into-es/182114)

<div class="topic-metadata">

**Author:** [@zhentao\_wang](https://discuss.elastic.co/u/zhentao_wang)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 2:13am UTC](https://discuss.elastic.co/t/how-to-use-mr-to-import-nested-data-into-es/182114 "2019-05-22T02:13:08Z")

</div>

My Trying： public class Hadoop2ElasticsearchWithJSON extends Configured implements Tool { public static void main(String args) throws Exception { int res = ToolRunner.run(new Configuration(), new Hadoop2ElasticsearchW…

---

## [Elasticsearch rejecting records because of parsing error](https://discuss.elastic.co/t/elasticsearch-rejecting-records-because-of-parsing-error/180040)

<div class="topic-metadata">

**Author:** [@vijayakrishna.rg](https://discuss.elastic.co/u/vijayakrishna.rg)\
**Replies:** 3\
**Last updated:** [May 22, 2019, 1:11am UTC](https://discuss.elastic.co/t/elasticsearch-rejecting-records-because-of-parsing-error/180040 "2019-05-22T01:11:18Z")

</div>

Elastic version: 6.7.0 Kibana version: 6.7.0 Source to send data to elasticsearch: kubernetes, fluentd I am having an issue while parsing message and forwarding from kubernetes cluster to elasticsearch it's rejecting…

---

## [Optimistic Concurrency on new documents](https://discuss.elastic.co/t/optimistic-concurrency-on-new-documents/182110)

<div class="topic-metadata">

**Author:** [@dferretti3](https://discuss.elastic.co/u/dferretti3)\
**Replies:** 1\
**Last updated:** [May 22, 2019, 1:01am UTC](https://discuss.elastic.co/t/optimistic-concurrency-on-new-documents/182110 "2019-05-22T01:01:24Z")

</div>

I have a process that will perform the following steps in response to a message being received: Attempt to get a document, include seq\_no and primary\_term if found Create a new document, based on the results of some in…

---

## [How to apply index templates by using config/templates dir](https://discuss.elastic.co/t/how-to-apply-index-templates-by-using-config-templates-dir/181668)

<div class="topic-metadata">

**Author:** [@codequokka](https://discuss.elastic.co/u/codequokka)\
**Replies:** 6\
**Last updated:** [May 22, 2019, 12:46am UTC](https://discuss.elastic.co/t/how-to-apply-index-templates-by-using-config-templates-dir/181668 "2019-05-22T00:46:43Z")

</div>

Hi community! I want to apply index templates in config/templates dir in es docker container. I tried it in following way , but it did not works well. Please tell me how to do this. Mount local templates dir to es c…

---

## [Forward logs to a new instance of Elasticsearch](https://discuss.elastic.co/t/forward-logs-to-a-new-instance-of-elasticsearch/181916)

<div class="topic-metadata">

**Author:** [@Camilo\_Diaz](https://discuss.elastic.co/u/Camilo_Diaz)\
**Replies:** 3\
**Last updated:** [May 22, 2019, 12:37am UTC](https://discuss.elastic.co/t/forward-logs-to-a-new-instance-of-elasticsearch/181916 "2019-05-22T00:37:43Z")

</div>

Hi, I am fairly new to Elasticsearch and I am seeking some advice. I have inherited an ELK stack which is processing logs from several sources and I am looking into forwarding some of those logs to another instance of …

---

## [Index associated with ILM policy is later disassociated](https://discuss.elastic.co/t/index-associated-with-ilm-policy-is-later-disassociated/181878)

<div class="topic-metadata">

**Author:** [@justinw](https://discuss.elastic.co/u/justinw)\
**Replies:** 4\
**Last updated:** [May 21, 2019, 11:27pm UTC](https://discuss.elastic.co/t/index-associated-with-ilm-policy-is-later-disassociated/181878 "2019-05-21T23:27:29Z")

</div>

Hi, I'm using ILM, and currently when I created the index it is associted with the ILM policy. I can see the current phase, status, etc. Currently I: Write the index template Write the ILM policy Create the index, wi…

---

## [Automatic ES startup](https://discuss.elastic.co/t/automatic-es-startup/181953)

<div class="topic-metadata">

**Author:** [@wrozan](https://discuss.elastic.co/u/wrozan)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 10:48pm UTC](https://discuss.elastic.co/t/automatic-es-startup/181953 "2019-05-21T22:48:56Z")

</div>

Hi, i have on an ElasticSearch server 3 different instances. Each of them is configured with a service so i can start them with commands like "systemctl start servicename" service are configured like below : \[Unit\] …

---

## [Scaling ES for search](https://discuss.elastic.co/t/scaling-es-for-search/182050)

<div class="topic-metadata">

**Author:** [@surya2](https://discuss.elastic.co/u/surya2)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 10:38pm UTC](https://discuss.elastic.co/t/scaling-es-for-search/182050 "2019-05-21T22:38:17Z")

</div>

Hello, I have 30 node elasticsearch cluster (3 master and 27 data) with 400gb of primary data with 2 replicas. with 27 shards, Each shard is 15gb of primary data, Right now we are getting 900 searches per second and we…

---

## [How can I update a certain number of documents](https://discuss.elastic.co/t/how-can-i-update-a-certain-number-of-documents/181205)

<div class="topic-metadata">

**Author:** [@jpaz93](https://discuss.elastic.co/u/jpaz93)\
**Replies:** 4\
**Last updated:** [May 21, 2019, 10:16pm UTC](https://discuss.elastic.co/t/how-can-i-update-a-certain-number-of-documents/181205 "2019-05-21T22:16:28Z")

</div>

Hi, I need help with the following: In Sql server I can update like this update top (100) table1 set field1 = 1 in elasticsearch how can I do something similar?

---

## [Help me to Activate X-Pack security on Elasticsearch 5.6.15](https://discuss.elastic.co/t/help-me-to-activate-x-pack-security-on-elasticsearch-5-6-15/182040)

<div class="topic-metadata">

**Author:** [@amitmjadav](https://discuss.elastic.co/u/amitmjadav)\
**Replies:** 5\
**Last updated:** [May 21, 2019, 9:50pm UTC](https://discuss.elastic.co/t/help-me-to-activate-x-pack-security-on-elasticsearch-5-6-15/182040 "2019-05-21T21:50:32Z")

</div>

Hi, I have installed elasticsearch 5.6.15 on one of my node. I want to secure my elasticsearch. I have also installed the same version of x-pack plugin. and I have chenged the following in elasticsearch.yml file xpack…

---

## [Error when using Java REST Client in Android Studio](https://discuss.elastic.co/t/error-when-using-java-rest-client-in-android-studio/180904)

<div class="topic-metadata">

**Author:** [@fmisso](https://discuss.elastic.co/u/fmisso)\
**Replies:** 2\
**Last updated:** [May 21, 2019, 9:44pm UTC](https://discuss.elastic.co/t/error-when-using-java-rest-client-in-android-studio/180904 "2019-05-21T21:44:25Z")

</div>

Hello, I'm trying your Java REST client API in Android Studio. But i have this error Caused by: java.lang.NoSuchFieldError: No field INSTANCE of type Lorg/apache/http/message/BasicLineFormatter; in class Lorg/apache/…

---

## [Exclude specific fields from multimatch query](https://discuss.elastic.co/t/exclude-specific-fields-from-multimatch-query/182091)

<div class="topic-metadata">

**Author:** [@dpiemonte](https://discuss.elastic.co/u/dpiemonte)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 9:34pm UTC](https://discuss.elastic.co/t/exclude-specific-fields-from-multimatch-query/182091 "2019-05-21T21:34:57Z")

</div>

Hello everyone, Is there a way to perform a multi match query in all fields but exclude only certain fields from being considered in the clause? We have a structure with dynamic indexes and we don't know the fields at …

---

## [One to Many table relationship pre-processing](https://discuss.elastic.co/t/one-to-many-table-relationship-pre-processing/182007)

<div class="topic-metadata">

**Author:** [@jdemp0913](https://discuss.elastic.co/u/jdemp0913)\
**Replies:** 4\
**Last updated:** [May 21, 2019, 9:26pm UTC](https://discuss.elastic.co/t/one-to-many-table-relationship-pre-processing/182007 "2019-05-21T21:26:30Z")

</div>

We have a use case where we need to query and join two database tables in a 1-to-many relationship and upload and index those documents (records) to ElasticSearch every 3 minutes for use by a Kibana dashboard. The total…

---

## [Elasticsearch 7.0.1 throws error in ML in bootstrap ( Windows 2012 Server)](https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667)

<div class="topic-metadata">

**Author:** [@YahooRK](https://discuss.elastic.co/u/YahooRK)\
**Replies:** 4\
**Last updated:** [May 21, 2019, 9:16pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-1-throws-error-in-ml-in-bootstrap-windows-2012-server/181667 "2019-05-21T21:16:45Z")

</div>

I have installed ES 7.0.1 on Windows 2012 Server. And i get following error in the logs when trying to start the ES Service. If i disable the "ml pack" via configuration it works, but i want to use ml pack. \[2019-05-17…

---

## [Rally test failed with SSL error](https://discuss.elastic.co/t/rally-test-failed-with-ssl-error/181650)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 6\
**Last updated:** [May 21, 2019, 8:43pm UTC](https://discuss.elastic.co/t/rally-test-failed-with-ssl-error/181650 "2019-05-21T20:43:02Z")

</div>

Installed rally today to setup benchmarking test. but it fails with some kind of SSL certificate error. I do not have any security setup on my elasticsearch. but going out from this machine to internet need http proxy w…

---

## [General Guidance on mapping type replacement](https://discuss.elastic.co/t/general-guidance-on-mapping-type-replacement/182078)

<div class="topic-metadata">

**Author:** [@spyder007](https://discuss.elastic.co/u/spyder007)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 6:29pm UTC](https://discuss.elastic.co/t/general-guidance-on-mapping-type-replacement/182078 "2019-05-21T18:29:48Z")

</div>

I have a product that uses ElasticSearch (ES) primarily to improve search performance. It’s currently running version 2.3.1, but we are planning on moving to version 7.0.0 for a variety of reasons, not the least of which…

---

## [Custom score in fuzzy matching query](https://discuss.elastic.co/t/custom-score-in-fuzzy-matching-query/182070)

<div class="topic-metadata">

**Author:** [@charmiShipmnts](https://discuss.elastic.co/u/charmiShipmnts)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 5:21pm UTC](https://discuss.elastic.co/t/custom-score-in-fuzzy-matching-query/182070 "2019-05-21T17:21:24Z")

</div>

given a full address, give more weightage to the name of the company and less to the whole address and match using the fuzziness example: if following is the query string, XYZ WORLDWIDE LTD 123 W. 180TH STREET TORRANC…

---

## [How to send Dynamic Object to Elastic Search](https://discuss.elastic.co/t/how-to-send-dynamic-object-to-elastic-search/182065)

<div class="topic-metadata">

**Author:** [@raghuram\_bhagawatula](https://discuss.elastic.co/u/raghuram_bhagawatula)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 4:28pm UTC](https://discuss.elastic.co/t/how-to-send-dynamic-object-to-elastic-search/182065 "2019-05-21T16:28:32Z")

</div>

Requirement is to log a dynamic Transaction object from AWS Lambda to ElasticSearch. The same Lambda can pass different Transaction object to ElasticSearch for which individual Indexes have been created. I need a way to…

---

## [Location doesn't match any of the locations specified by path.repo because this setting is empty](https://discuss.elastic.co/t/location-doesnt-match-any-of-the-locations-specified-by-path-repo-because-this-setting-is-empty/182061)

<div class="topic-metadata">

**Author:** [@Hanneu](https://discuss.elastic.co/u/Hanneu)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 4:17pm UTC](https://discuss.elastic.co/t/location-doesnt-match-any-of-the-locations-specified-by-path-repo-because-this-setting-is-empty/182061 "2019-05-21T16:17:55Z")

</div>

Hi, I am trying to create snapshot and hence I set path.repo as /data/backup-5.6.3-prod-052019 in elasticsearch.yml configuration. While running below command to create snapshot PUT /\_snapshot/my\_backup { "type" : "f…

---

## [Why ElasticSearch was written in Java?](https://discuss.elastic.co/t/why-elasticsearch-was-written-in-java/182035)

<div class="topic-metadata">

**Author:** [@chughpiyush](https://discuss.elastic.co/u/chughpiyush)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 4:00pm UTC](https://discuss.elastic.co/t/why-elasticsearch-was-written-in-java/182035 "2019-05-21T16:00:47Z")

</div>

I am exploring other languages than Java. What I have learnt till date is that there is no silver bullet to solve each kind of use case and one needs to choose a language on the basis of what problem they are trying to s…

---

## [To cluster or not to cluster?](https://discuss.elastic.co/t/to-cluster-or-not-to-cluster/181724)

<div class="topic-metadata">

**Author:** [@nandrik](https://discuss.elastic.co/u/nandrik)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 3:55pm UTC](https://discuss.elastic.co/t/to-cluster-or-not-to-cluster/181724 "2019-05-21T15:55:51Z")

</div>

Hi, I have the following setup with two apps running on two servers, both on the same subnet: app\_1 \> filebeat\_1 \> logstash\_1 \> elasticsearch\_1 (es\_1) \> kibana\_1 app\_2 \> filebeat\_2 \> logstash\_2 \> elasticsearch\_2 (es\_2)…

---

## [Curator delete indices action stops intermittently](https://discuss.elastic.co/t/curator-delete-indices-action-stops-intermittently/181984)

<div class="topic-metadata">

**Author:** [@Nikhil\_Pillai](https://discuss.elastic.co/u/Nikhil_Pillai)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 3:27pm UTC](https://discuss.elastic.co/t/curator-delete-indices-action-stops-intermittently/181984 "2019-05-21T15:27:55Z")

</div>

Hi, I am able to delete indices using curator but i am getting below error intermittently and then the process stops. 2019-05-21 16:08:22,022 ERROR curator.actions.delete\_indices \_verify\_result:489 The fol…

---

## [Update\_mapping causes index.blocks.write to go to true](https://discuss.elastic.co/t/update-mapping-causes-index-blocks-write-to-go-to-true/182049)

<div class="topic-metadata">

**Author:** [@KevSex](https://discuss.elastic.co/u/KevSex)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 3:26pm UTC](https://discuss.elastic.co/t/update-mapping-causes-index-blocks-write-to-go-to-true/182049 "2019-05-21T15:26:00Z")

</div>

At random times, I am seeing the cluster fail to index new documents. From logstash I am seeing the following: \[2019-05-21T09:53:02,716\]\[INFO \]\[logstash.outputs.elasticsearch\] retrying failed action with response code: …

---

## [ES 7.0.1: GeoIp processor and geo\_point mapping troubles](https://discuss.elastic.co/t/es-7-0-1-geoip-processor-and-geo-point-mapping-troubles/180919)

<div class="topic-metadata">

**Author:** [@Amit\_Saha](https://discuss.elastic.co/u/Amit_Saha)\
**Replies:** 19\
**Last updated:** [May 21, 2019, 3:06pm UTC](https://discuss.elastic.co/t/es-7-0-1-geoip-processor-and-geo-point-mapping-troubles/180919 "2019-05-21T15:06:23Z")

</div>

hi all, I am using fluent-bit to feed data into ES. I have the GeoIP processor "activated". My index mapping is here. The Geo IP processor is doing it's job correctly, but on the ES side, I am getting this error: {"type…

---

## [ESRally Not Responding Search Queries if it exceeds from 280 Clients](https://discuss.elastic.co/t/esrally-not-responding-search-queries-if-it-exceeds-from-280-clients/181809)

<div class="topic-metadata">

**Author:** [@Balmukund](https://discuss.elastic.co/u/Balmukund)\
**Replies:** 8\
**Last updated:** [May 21, 2019, 2:43pm UTC](https://discuss.elastic.co/t/esrally-not-responding-search-queries-if-it-exceeds-from-280-clients/181809 "2019-05-21T14:43:12Z")

</div>

Hi, I am doing the Elasticsearch -6.6.2 Search Queries Benchmark on NVMe device(Non-Volatile Memory). I am having mixed queries of Simple, Complex and moderate. But ESRally not responding if it exceeds 280 clients. Be…

---

## [Highlight events with only one value for a field](https://discuss.elastic.co/t/highlight-events-with-only-one-value-for-a-field/181861)

<div class="topic-metadata">

**Author:** [@Fabio-sama](https://discuss.elastic.co/u/Fabio-sama)\
**Replies:** 13\
**Last updated:** [May 21, 2019, 1:40pm UTC](https://discuss.elastic.co/t/highlight-events-with-only-one-value-for-a-field/181861 "2019-05-21T13:40:58Z")

</div>

Hi there! I'm trying to visualize in a data table only the documents which have never had a certain value for a specific field. Let's say I have fields USERNAME and OUTCOME. I'd like to find all those docs which have o…

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

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