# Elasticsearch

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

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

**Page:** 1677

---

## [Translog Durability](https://discuss.elastic.co/t/translog-durability/132856)

<div class="topic-metadata">

**Author:** [@kurtiskurtis](https://discuss.elastic.co/u/kurtiskurtis)\
**Replies:** 1\
**Last updated:** [May 25, 2018, 2:29pm UTC](https://discuss.elastic.co/t/translog-durability/132856 "2018-05-25T14:29:47Z")

</div>

If you set translog durability to be async with a default 5 seconds, are documents searchable before the async "fsync" has been committed?

---

## [Index name, type name and field name rules](https://discuss.elastic.co/t/index-name-type-name-and-field-name-rules/133039)

<div class="topic-metadata">

**Author:** [@Prathap\_BN](https://discuss.elastic.co/u/Prathap_BN)\
**Replies:** 3\
**Last updated:** [May 25, 2018, 2:24pm UTC](https://discuss.elastic.co/t/index-name-type-name-and-field-name-rules/133039 "2018-05-25T14:24:21Z")

</div>

I am using ES 6. What are exact rules regarding formation of index name, type name and field name strings.. I know ES only takes lower case.. Does it apply to field names too? Is this documented officially somewhere? I …

---

## [Any documentation on test framework?](https://discuss.elastic.co/t/any-documentation-on-test-framework/132948)

<div class="topic-metadata">

**Author:** [@piddie](https://discuss.elastic.co/u/piddie)\
**Replies:** 1\
**Last updated:** [May 25, 2018, 2:24pm UTC](https://discuss.elastic.co/t/any-documentation-on-test-framework/132948 "2018-05-25T14:24:13Z")

</div>

I am trying to use the test framework from Elastic. But documentation on how to use it doesn't seem to exist - and what's on the official website is extremely thin on details. So apart from going to the source code in G…

---

## [Elasticsearch get snapshots details failed](https://discuss.elastic.co/t/elasticsearch-get-snapshots-details-failed/132655)

<div class="topic-metadata">

**Author:** [@shlomo](https://discuss.elastic.co/u/shlomo)\
**Replies:** 1\
**Last updated:** [May 25, 2018, 2:03pm UTC](https://discuss.elastic.co/t/elasticsearch-get-snapshots-details-failed/132655 "2018-05-25T14:03:58Z")

</div>

When I run the command: curl -XGET localhost:9200/\_snapshot/some\_repo/\_all?pretty I get the error: { "error" : "RemoteTransportException\[\[PROD-537-USW1-CL1-MasterES21\]\[inet\[/10.0.2.245:9300\]\]\[cluster:admin/snapsh…

---

## [Difference between "Missing Values" and "Unmapped Fields"](https://discuss.elastic.co/t/difference-between-missing-values-and-unmapped-fields/132382)

<div class="topic-metadata">

**Author:** [@magict4](https://discuss.elastic.co/u/magict4)\
**Replies:** 1\
**Last updated:** [May 25, 2018, 1:54pm UTC](https://discuss.elastic.co/t/difference-between-missing-values-and-unmapped-fields/132382 "2018-05-25T13:54:39Z")

</div>

Hi, I need to sort my documents based on an optional field, "completionDate". Some documents will have this attribute while others won't. For documents which don't have "completionDate", I want to put them last in the s…

---

## [Master node and data node configuration](https://discuss.elastic.co/t/master-node-and-data-node-configuration/132259)

<div class="topic-metadata">

**Author:** [@remo](https://discuss.elastic.co/u/remo)\
**Replies:** 6\
**Last updated:** [May 25, 2018, 1:47pm UTC](https://discuss.elastic.co/t/master-node-and-data-node-configuration/132259 "2018-05-25T13:47:40Z")

</div>

I have made changes in elasticsearch.yml for the instance running on my machine and I have set the instance as master node . Similarly I have setup the instances running on other two machines as data nodes. what should b…

---

## [Benchmarking results investigation](https://discuss.elastic.co/t/benchmarking-results-investigation/133309)

<div class="topic-metadata">

**Author:** [@AdamBoi](https://discuss.elastic.co/u/AdamBoi)\
**Replies:** 3\
**Last updated:** [May 25, 2018, 1:16pm UTC](https://discuss.elastic.co/t/benchmarking-results-investigation/133309 "2018-05-25T13:16:03Z")

</div>

Hello. I'd like to discuss an issue. I've got some results after running custom track on elasticsearch index. Custom track used for benchmarking Lap Metric Task Value Unit All Indexing time 0.0715 min All I…

---

## [Help with Elasticsearch Cluster](https://discuss.elastic.co/t/help-with-elasticsearch-cluster/132885)

<div class="topic-metadata">

**Author:** [@jast](https://discuss.elastic.co/u/jast)\
**Replies:** 6\
**Last updated:** [May 25, 2018, 1:15pm UTC](https://discuss.elastic.co/t/help-with-elasticsearch-cluster/132885 "2018-05-25T13:15:47Z")

</div>

I'm trying to create a master cluster to connect to a dedicated coordinate node with dockers, In the two master nodes("nodeMaster1", "nodeMaster2"\]) I have the following: cluster.name: "docker-cluster" network.host: 0…

---

## [High Number of Operations Possibly Killing Write?](https://discuss.elastic.co/t/high-number-of-operations-possibly-killing-write/133210)

<div class="topic-metadata">

**Author:** [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Replies:** 4\
**Last updated:** [May 25, 2018, 12:47pm UTC](https://discuss.elastic.co/t/high-number-of-operations-possibly-killing-write/133210 "2018-05-25T12:47:35Z")

</div>

Hello - Can someone help me understand what the OPERATIONS metrics below signify? we are facing read timeouts whilst POSTING to this specific index. We noticed a lot of Flush/Refresh/Merges (see below) on this index! Co…

---

## [Geo Bounding Box/Polygon Queries getting slow in ES 6.2 than ES 2.3](https://discuss.elastic.co/t/geo-bounding-box-polygon-queries-getting-slow-in-es-6-2-than-es-2-3/132481)

<div class="topic-metadata">

**Author:** [@reetam.nath](https://discuss.elastic.co/u/reetam.nath)\
**Replies:** 3\
**Last updated:** [May 25, 2018, 12:50pm UTC](https://discuss.elastic.co/t/geo-bounding-box-polygon-queries-getting-slow-in-es-6-2-than-es-2-3/132481 "2018-05-25T12:50:54Z")

</div>

Hi, I am doing a migration from Elasticsearch 2.3 to elasticesearch 6.2. The index migration was done successfully but i am facing a performance issue after the migration in Bounding box/polygon queries when used with t…

---

## [S3 Repository Config](https://discuss.elastic.co/t/s3-repository-config/132345)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 20\
**Last updated:** [May 25, 2018, 12:19pm UTC](https://discuss.elastic.co/t/s3-repository-config/132345 "2018-05-25T12:19:59Z")

</div>

Hi, I'm getting an error provisioning an s3 repo on elasticsearch 5.6.3 via repository-s3. Can you assist? config json: { "type": "s3", "settings": { "endpoint": "s3-server", "bucket": "elasticsearch", …

---

## [Do I need to turn analyzer off for match all query?](https://discuss.elastic.co/t/do-i-need-to-turn-analyzer-off-for-match-all-query/132546)

<div class="topic-metadata">

**Author:** [@Hooman\_Bahreini](https://discuss.elastic.co/u/Hooman_Bahreini)\
**Replies:** 1\
**Last updated:** [May 25, 2018, 9:25am UTC](https://discuss.elastic.co/t/do-i-need-to-turn-analyzer-off-for-match-all-query/132546 "2018-05-25T09:25:25Z")

</div>

I want to get the latest record added to ElasticSearch. If I use a query like this: { "query": { "match\_all": {} }, "size": 1, "sort": \[ { "\_timestamp": { "order": "desc" } } \]…

---

## [Java client : VersionConflictEngineException changed to ElasticsearchException?](https://discuss.elastic.co/t/java-client-versionconflictengineexception-changed-to-elasticsearchexception/132672)

<div class="topic-metadata">

**Author:** [@lionelgervaud](https://discuss.elastic.co/u/lionelgervaud)\
**Replies:** 1\
**Last updated:** [May 25, 2018, 9:16am UTC](https://discuss.elastic.co/t/java-client-versionconflictengineexception-changed-to-elasticsearchexception/132672 "2018-05-25T09:16:29Z")

</div>

Hi everyone ! We recently moved from version 2.x to 6.x and we noticed one unexcepted impact on our java code. We were catching a VersionConflictEngineException like this : BulkResponse bulkReponses = bulkRequest.exec…

---

## [All bulk Indexing batches are not getting Indexed in elastic search using NEST](https://discuss.elastic.co/t/all-bulk-indexing-batches-are-not-getting-indexed-in-elastic-search-using-nest/132496)

<div class="topic-metadata">

**Author:** [@SatishReddem](https://discuss.elastic.co/u/SatishReddem)\
**Replies:** 1\
**Last updated:** [May 25, 2018, 9:05am UTC](https://discuss.elastic.co/t/all-bulk-indexing-batches-are-not-getting-indexed-in-elastic-search-using-nest/132496 "2018-05-25T09:05:57Z")

</div>

Hi, I am trying to Index in ElasticSearch 6.2 using NEST 6.2, All Bulk indexing batches are not getting Indexed. Not getting any error in response. Response.IsValid True for all responses. Response.ItemsWithErrors is…

---

## [Translate](https://discuss.elastic.co/t/translate/133284)

<div class="topic-metadata">

**Author:** [@Fredriksen10](https://discuss.elastic.co/u/Fredriksen10)\
**Replies:** 4\
**Last updated:** [May 25, 2018, 8:59am UTC](https://discuss.elastic.co/t/translate/133284 "2018-05-25T08:59:52Z")

</div>

I need to translate Java (HTPL) to norwegian or english. Can you do that. I will pay for it. Best Regard Fredriksen

---

## [Math calculation on different fields? How to?](https://discuss.elastic.co/t/math-calculation-on-different-fields-how-to/133269)

<div class="topic-metadata">

**Author:** [@asp](https://discuss.elastic.co/u/asp)\
**Replies:** 3\
**Last updated:** [May 25, 2018, 8:46am UTC](https://discuss.elastic.co/t/math-calculation-on-different-fields-how-to/133269 "2018-05-25T08:46:11Z")

</div>

Hi, our system which we monitor with elastic stack is queuing messages in different parts of the application. Unfortunately they are stored in different fields. THere are some example field names where the values are s…

---

## [Temperature sensor data to send DAC signals using elastic](https://discuss.elastic.co/t/temperature-sensor-data-to-send-dac-signals-using-elastic/132816)

<div class="topic-metadata">

**Author:** [@deek46](https://discuss.elastic.co/u/deek46)\
**Replies:** 3\
**Last updated:** [May 25, 2018, 8:22am UTC](https://discuss.elastic.co/t/temperature-sensor-data-to-send-dac-signals-using-elastic/132816 "2018-05-25T08:22:08Z")

</div>

Hey I am working working in IOT factory in which we were able to send the digital values of temperature sensor to DAC converter by connecting and interfacing it with raspberry pi But is it possible to fetch the digital …

---

## [Scaling and Optimisation advices](https://discuss.elastic.co/t/scaling-and-optimisation-advices/133192)

<div class="topic-metadata">

**Author:** [@Jeremie\_Vallee](https://discuss.elastic.co/u/Jeremie_Vallee)\
**Replies:** 5\
**Last updated:** [May 25, 2018, 8:20am UTC](https://discuss.elastic.co/t/scaling-and-optimisation-advices/133192 "2018-05-25T08:20:27Z")

</div>

Hello, I would like to get advices about scaling up an Elasticsearch cluster I currently manage. The cluster is used to store logs from many different environments (dev, staging, ...). Each environment gets its own inde…

---

## [Error while using spring-data-elasticsearch : 3.1.0.M3](https://discuss.elastic.co/t/error-while-using-spring-data-elasticsearch-3-1-0-m3/133152)

<div class="topic-metadata">

**Author:** [@RRSR](https://discuss.elastic.co/u/RRSR)\
**Replies:** 2\
**Last updated:** [May 25, 2018, 6:41am UTC](https://discuss.elastic.co/t/error-while-using-spring-data-elasticsearch-3-1-0-m3/133152 "2018-05-25T06:41:35Z")

</div>

Hi, I'm getting an error for the ElasticsearchRepository using the below pom.xml : \<?xml version="1.0" encoding="UTF-8"?\> \<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/…

---

## [Java High Level REST Client how to solve index\_not\_found\_exception to elasticsearch](https://discuss.elastic.co/t/java-high-level-rest-client-how-to-solve-index-not-found-exception-to-elasticsearch/133143)

<div class="topic-metadata">

**Author:** [@xiaojiang](https://discuss.elastic.co/u/xiaojiang)\
**Replies:** 1\
**Last updated:** [May 25, 2018, 6:37am UTC](https://discuss.elastic.co/t/java-high-level-rest-client-how-to-solve-index-not-found-exception-to-elasticsearch/133143 "2018-05-25T06:37:54Z")

</div>

I refer to this url to start my code: https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high.html But I got a exception: ElasticsearchStatusException\[Elasticsearch exception \[type=index\_…

---

## [Snapshot data reliability](https://discuss.elastic.co/t/snapshot-data-reliability/133264)

<div class="topic-metadata">

**Author:** [@piingluo](https://discuss.elastic.co/u/piingluo)\
**Replies:** 0\
**Last updated:** [May 25, 2018, 6:35am UTC](https://discuss.elastic.co/t/snapshot-data-reliability/133264 "2018-05-25T06:35:01Z")

</div>

hi guys: there is a case, i want to store snapshots of the entire cluster in a snapshot repository, use sshfs as file system. and also use ceph block storage, worked as a HDD, to store the snapshot. i was in doubt …

---

## [Elastic 5.6.4 allocated primary and replica shard to same data node causing ES health check issue](https://discuss.elastic.co/t/elastic-5-6-4-allocated-primary-and-replica-shard-to-same-data-node-causing-es-health-check-issue/130068)

<div class="topic-metadata">

**Author:** [@Gangadhar\_Mahadevan](https://discuss.elastic.co/u/Gangadhar_Mahadevan)\
**Replies:** 5\
**Last updated:** [May 25, 2018, 6:31am UTC](https://discuss.elastic.co/t/elastic-5-6-4-allocated-primary-and-replica-shard-to-same-data-node-causing-es-health-check-issue/130068 "2018-05-25T06:31:49Z")

</div>

Recently for the first time we hit the scenario where ES health was yellow because of shards allocated to same data node Summary: ES Version: 5.6.4 Cluster has 14 nodes, 2 gw and 11 data and 1 utility node New indexe…

---

## [Modeling indices to mimic many to one relationships](https://discuss.elastic.co/t/modeling-indices-to-mimic-many-to-one-relationships/133237)

<div class="topic-metadata">

**Author:** [@andyhoang](https://discuss.elastic.co/u/andyhoang)\
**Replies:** 2\
**Last updated:** [May 25, 2018, 6:28am UTC](https://discuss.elastic.co/t/modeling-indices-to-mimic-many-to-one-relationships/133237 "2018-05-25T06:28:44Z")

</div>

Hi, I doing sync data to es 6.2 from postgres database and got some trouble modeling it. I have this situation: 3 models A, B, C We want to search field from that 3 model and has result as model B look alike. Those are…

---

## [Elasticsearch Structured streaming api for bulk insert json documents](https://discuss.elastic.co/t/elasticsearch-structured-streaming-api-for-bulk-insert-json-documents/133245)

<div class="topic-metadata">

**Author:** [@marut.launch](https://discuss.elastic.co/u/marut.launch)\
**Replies:** 0\
**Last updated:** [May 25, 2018, 4:09am UTC](https://discuss.elastic.co/t/elasticsearch-structured-streaming-api-for-bulk-insert-json-documents/133245 "2018-05-25T04:09:23Z")

</div>

Hi, I am reading data from kafka apply some transformation, update data schema and push it to elastic search. I am using spark (2.2.0), elasticsearch-spark (6.2.3). There is a api with spark streaming which can accept…

---

## [Customize IndexWriter/Reader/etc within ElasticSearch](https://discuss.elastic.co/t/customize-indexwriter-reader-etc-within-elasticsearch/132910)

<div class="topic-metadata">

**Author:** [@cecoke](https://discuss.elastic.co/u/cecoke)\
**Replies:** 4\
**Last updated:** [May 25, 2018, 12:57am UTC](https://discuss.elastic.co/t/customize-indexwriter-reader-etc-within-elasticsearch/132910 "2018-05-25T00:57:04Z")

</div>

Hello, Is there a way for me to customize Lucene Index when using ElasticSearch? For example, I might replace text-based search with numerical/image-based search.

---

## ["Alternatively use a keyword field instead." error for keyword field](https://discuss.elastic.co/t/alternatively-use-a-keyword-field-instead-error-for-keyword-field/133205)

<div class="topic-metadata">

**Author:** [@orogvany](https://discuss.elastic.co/u/orogvany)\
**Replies:** 4\
**Last updated:** [May 24, 2018, 10:20pm UTC](https://discuss.elastic.co/t/alternatively-use-a-keyword-field-instead-error-for-keyword-field/133205 "2018-05-24T22:20:57Z")

</div>

Hi, I'm attempting to sort on a keyword field, and I get "Fielddata is disabled on text fields by default. Set fielddata=true on \[guid\] in order to load fielddata in memory by uninverting the inverted index. Note that th…

---

## [How to Compare two different fields value of two different index?](https://discuss.elastic.co/t/how-to-compare-two-different-fields-value-of-two-different-index/132533)

<div class="topic-metadata">

**Author:** [@addanuj](https://discuss.elastic.co/u/addanuj)\
**Replies:** 17\
**Last updated:** [May 24, 2018, 9:44pm UTC](https://discuss.elastic.co/t/how-to-compare-two-different-fields-value-of-two-different-index/132533 "2018-05-24T21:44:18Z")

</div>

please guide me.. please guide me to the following problem, I have two different index and i want to compare two fields value and get result which exist in different index for example :- Index 1: threatintel fields :…

---

## [Possible to perform "Constant Score Query" with "Percolate"?](https://discuss.elastic.co/t/possible-to-perform-constant-score-query-with-percolate/133049)

<div class="topic-metadata">

**Author:** [@Aravind](https://discuss.elastic.co/u/Aravind)\
**Replies:** 1\
**Last updated:** [May 24, 2018, 9:22pm UTC](https://discuss.elastic.co/t/possible-to-perform-constant-score-query-with-percolate/133049 "2018-05-24T21:22:19Z")

</div>

My requirement is to perform bulk matching via "Percolate". Since its bulk and my requirement being exact match I don't want to pay the cost for scoring. Is it possible to perform "Constant Score Query" in percolate as …

---

## [Creating index mappings with nested fields](https://discuss.elastic.co/t/creating-index-mappings-with-nested-fields/133224)

<div class="topic-metadata">

**Author:** [@mehdi-gital](https://discuss.elastic.co/u/mehdi-gital)\
**Replies:** 0\
**Last updated:** [May 24, 2018, 8:54pm UTC](https://discuss.elastic.co/t/creating-index-mappings-with-nested-fields/133224 "2018-05-24T20:54:58Z")

</div>

Hey guys, I've been using Elastic for about two weeks and today I ran into some issues that don't make sense. I'm going to ask multiple questions to build up toward my main question. Warning: long question! I write m…

---

## [Stored field not showing for updated profile](https://discuss.elastic.co/t/stored-field-not-showing-for-updated-profile/133220)

<div class="topic-metadata">

**Author:** [@telebh](https://discuss.elastic.co/u/telebh)\
**Replies:** 0\
**Last updated:** [May 24, 2018, 8:16pm UTC](https://discuss.elastic.co/t/stored-field-not-showing-for-updated-profile/133220 "2018-05-24T20:16:43Z")

</div>

Hi there, I am running through an issue for populating a new field in existing ES index. I had ES V 5.3, then migrated to ES 6.0 cluster using snapshot from index of older version. now i modified mappings of ES V6.0 b…

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

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