# Elasticsearch

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

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

**Page:** 1815

---

## [Indexing buffer size](https://discuss.elastic.co/t/indexing-buffer-size/116989)

<div class="topic-metadata">

**Author:** [@cemremengu](https://discuss.elastic.co/u/cemremengu)\
**Replies:** 1\
**Last updated:** [January 26, 2018, 9:55am UTC](https://discuss.elastic.co/t/indexing-buffer-size/116989 "2018-01-26T09:55:45Z")

</div>

https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-indexing-speed.html#\_indexing\_buffer\_size Is it 512MB for per all shards or per all primary shards? Docs say: indices.memory.index\_buffer\_size …

---

## [Where does elasticsearch writes the logs when run in service](https://discuss.elastic.co/t/where-does-elasticsearch-writes-the-logs-when-run-in-service/117156)

<div class="topic-metadata">

**Author:** [@inhinyera16](https://discuss.elastic.co/u/inhinyera16)\
**Replies:** 6\
**Last updated:** [January 26, 2018, 9:41am UTC](https://discuss.elastic.co/t/where-does-elasticsearch-writes-the-logs-when-run-in-service/117156 "2018-01-26T09:41:49Z")

</div>

Hi all, I wanted to know where does elasticsearch writes the log when run as service. I tried starting the elasticsearch as service and it fails. Theres no data in /var/log/elasticsearch/elasticsearch.log \[root@sample…

---

## [Determine success of call to High Level Rest Client synchronous method](https://discuss.elastic.co/t/determine-success-of-call-to-high-level-rest-client-synchronous-method/116086)

<div class="topic-metadata">

**Author:** [@Kevin\_Bourne](https://discuss.elastic.co/u/Kevin_Bourne)\
**Replies:** 1\
**Last updated:** [January 26, 2018, 9:27am UTC](https://discuss.elastic.co/t/determine-success-of-call-to-high-level-rest-client-synchronous-method/116086 "2018-01-26T09:27:36Z")

</div>

I am beginning to use the 5.6.4 High Level Rest Client. With respect to using for example the index(indexRequest) method, it returns an IndexResponse. I see the methods available like status and shards, etc... My questi…

---

## [Search\_after doesn't work as expected](https://discuss.elastic.co/t/search-after-doesnt-work-as-expected/116841)

<div class="topic-metadata">

**Author:** [@doritn](https://discuss.elastic.co/u/doritn)\
**Replies:** 1\
**Last updated:** [January 26, 2018, 9:12am UTC](https://discuss.elastic.co/t/search-after-doesnt-work-as-expected/116841 "2018-01-26T09:12:07Z")

</div>

Hi, I'm trying to use polling on an index in order to retrieve the latest state (my document contain state) per managed entity. I can't use the timestamp since the same timestamp can be used for multiple documents. In …

---

## [Out of memory of data nodes](https://discuss.elastic.co/t/out-of-memory-of-data-nodes/117169)

<div class="topic-metadata">

**Author:** [@Evgeniy\_Ivlev](https://discuss.elastic.co/u/Evgeniy_Ivlev)\
**Replies:** 4\
**Last updated:** [January 26, 2018, 9:06am UTC](https://discuss.elastic.co/t/out-of-memory-of-data-nodes/117169 "2018-01-26T09:06:19Z")

</div>

Hi, I have cluster with 5 nodes: 3 master and 2 data nodes. Data nodes have 24 Gb heap, 12Gb Xmx. I use daily indexes which automatically created at midnight. Each index is about 30Gb. Index has 5 shards and 1 replic…

---

## [Any way to change uid of elasticsearch user in docker image?](https://discuss.elastic.co/t/any-way-to-change-uid-of-elasticsearch-user-in-docker-image/117043)

<div class="topic-metadata">

**Author:** [@anonymouslemming](https://discuss.elastic.co/u/anonymouslemming)\
**Replies:** 1\
**Last updated:** [January 26, 2018, 8:26am UTC](https://discuss.elastic.co/t/any-way-to-change-uid-of-elasticsearch-user-in-docker-image/117043 "2018-01-26T08:26:32Z")

</div>

Hi all, Is there any way to change the uid of the elasticsearch user in the oss elasticsearch docker image without rebuilding the image ? I'm using docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.2, and I can see…

---

## [Nesting Ingested CSV data into a single document](https://discuss.elastic.co/t/nesting-ingested-csv-data-into-a-single-document/117147)

<div class="topic-metadata">

**Author:** [@george\_assan](https://discuss.elastic.co/u/george_assan)\
**Replies:** 0\
**Last updated:** [January 26, 2018, 5:22am UTC](https://discuss.elastic.co/t/nesting-ingested-csv-data-into-a-single-document/117147 "2018-01-26T05:22:14Z")

</div>

I am building webapp that allows users to search for charts and data. I have a number of csv files to be ingested. Each file contains data that will be processed and visualized as a chart on the front end of my web app. …

---

## [Google sheets to elasticsearch missing data in 'successful' push](https://discuss.elastic.co/t/google-sheets-to-elasticsearch-missing-data-in-successful-push/116749)

<div class="topic-metadata">

**Author:** [@geoff\_yalo](https://discuss.elastic.co/u/geoff_yalo)\
**Replies:** 7\
**Last updated:** [January 26, 2018, 4:33am UTC](https://discuss.elastic.co/t/google-sheets-to-elasticsearch-missing-data-in-successful-push/116749 "2018-01-26T04:33:52Z")

</div>

Hi, I'm using the Google sheets add-on "Spreadsheets to Elasticsearch" to upload a Google sheet to Elasticsearch. I'm able to "successfully" upload the spreadsheet, however, when looking in Elasticsearch the index appea…

---

## [SQL on ElasticSearch](https://discuss.elastic.co/t/sql-on-elasticsearch/117144)

<div class="topic-metadata">

**Author:** [@premieredigital](https://discuss.elastic.co/u/premieredigital)\
**Replies:** 0\
**Last updated:** [January 26, 2018, 3:41am UTC](https://discuss.elastic.co/t/sql-on-elasticsearch/117144 "2018-01-26T03:41:31Z")

</div>

Hi, I have been following the SQL on Elastic (https://www.elastic.co/elasticon/conf/2017/sf/elasticsearch-sql) now for quite some time, and wanted to see if this was available now? We are looking for read-only queries,…

---

## [My online cluster frequently suffered from A lot many so sucked LockObtainFailedException](https://discuss.elastic.co/t/my-online-cluster-frequently-suffered-from-a-lot-many-so-sucked-lockobtainfailedexception/117141)

<div class="topic-metadata">

**Author:** [@wuyunfeng](https://discuss.elastic.co/u/wuyunfeng)\
**Replies:** 0\
**Last updated:** [January 26, 2018, 2:46am UTC](https://discuss.elastic.co/t/my-online-cluster-frequently-suffered-from-a-lot-many-so-sucked-lockobtainfailedexception/117141 "2018-01-26T02:46:59Z")

</div>

One of my online cluster start Elasticsearch(2.3.3) using the Linux supervise. May be some network reason, or may suffer from FullGC , a lot of LockObtainFailedException happened on some node, a lot of shard created fa…

---

## [Unable to start Elasticsearch-5.6.4](https://discuss.elastic.co/t/unable-to-start-elasticsearch-5-6-4/116927)

<div class="topic-metadata">

**Author:** [@venkat\_venkat](https://discuss.elastic.co/u/venkat_venkat)\
**Replies:** 4\
**Last updated:** [January 25, 2018, 11:57pm UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-5-6-4/116927 "2018-01-25T23:57:24Z")

</div>

I have installed 5.6.4 Zip file. While starting Elasticsearch getting below error ./bin/elasticsearch Error: encountered environment variables that are no longer supported Use jvm.options or ES\_JAVA\_OPTS to configure…

---

## [REST testing scripts](https://discuss.elastic.co/t/rest-testing-scripts/116908)

<div class="topic-metadata">

**Author:** [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Replies:** 5\
**Last updated:** [January 25, 2018, 10:42pm UTC](https://discuss.elastic.co/t/rest-testing-scripts/116908 "2018-01-25T22:42:47Z")

</div>

Working on some code that I would like to test via the REST layer. The default plugins are not loaded during integration testing, so when attempt to use put\_script:, I get the following error: "unable to put stored sc…

---

## [Inject Synonyms Direct Generator in phrase\_suggester](https://discuss.elastic.co/t/inject-synonyms-direct-generator-in-phrase-suggester/117131)

<div class="topic-metadata">

**Author:** [@moy2010](https://discuss.elastic.co/u/moy2010)\
**Replies:** 0\
**Last updated:** [January 25, 2018, 10:24pm UTC](https://discuss.elastic.co/t/inject-synonyms-direct-generator-in-phrase-suggester/117131 "2018-01-25T22:24:56Z")

</div>

Good afternoon, ES community. At the end of the documentation for the phrase suggester, is the following paragraph: "pre\_filter and post\_filter can also be used to inject synonyms after candidates are generated. For ins…

---

## [Multi\_match fuzzy in filter](https://discuss.elastic.co/t/multi-match-fuzzy-in-filter/117122)

<div class="topic-metadata">

**Author:** [@mgvarley](https://discuss.elastic.co/u/mgvarley)\
**Replies:** 1\
**Last updated:** [January 25, 2018, 9:30pm UTC](https://discuss.elastic.co/t/multi-match-fuzzy-in-filter/117122 "2018-01-25T21:30:19Z")

</div>

I am trying to execute an elasticsearch query (I am using 2.4.6) with a bool filter that includes a multimatch query over best\_fields with fuzziness set to 1 however the query only yields a match with exact spelling. As …

---

## [How to filter null objects?](https://discuss.elastic.co/t/how-to-filter-null-objects/116553)

<div class="topic-metadata">

**Author:** [@allansene](https://discuss.elastic.co/u/allansene)\
**Replies:** 4\
**Last updated:** [January 25, 2018, 8:54pm UTC](https://discuss.elastic.co/t/how-to-filter-null-objects/116553 "2018-01-25T20:54:42Z")

</div>

I have to filter payloads like this on an ElasticSearch query: { "bestPrices": { "cia1": {}, "cia2": {} } } I must return only results like: { "bestPrices": { "cia1": { "gol": { "price1…

---

## [ElasticSearch AWS Setup - Nodes and LoadBalancers](https://discuss.elastic.co/t/elasticsearch-aws-setup-nodes-and-loadbalancers/117104)

<div class="topic-metadata">

**Author:** [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Replies:** 4\
**Last updated:** [January 25, 2018, 8:47pm UTC](https://discuss.elastic.co/t/elasticsearch-aws-setup-nodes-and-loadbalancers/117104 "2018-01-25T20:47:06Z")

</div>

Am trying to setup ES on AWS using the following configuration. Wanted to run this by the community to see if I'm doing the right thing. I have approximately 1 million documents to index. 3 Master Only Nodes 2 Data Onl…

---

## [Index discussion - to split or not to split](https://discuss.elastic.co/t/index-discussion-to-split-or-not-to-split/117110)

<div class="topic-metadata">

**Author:** [@dorj1234](https://discuss.elastic.co/u/dorj1234)\
**Replies:** 1\
**Last updated:** [January 25, 2018, 8:37pm UTC](https://discuss.elastic.co/t/index-discussion-to-split-or-not-to-split/117110 "2018-01-25T20:37:47Z")

</div>

Hello, General question here, no problem to solve. Thanks in advance for your insights! Everywhere in the forums I see people creating documents on indexes, and those indexes are date-based. For example: index =\> "b…

---

## [Elastic 2.3.4. Node Startup Quiet Failure](https://discuss.elastic.co/t/elastic-2-3-4-node-startup-quiet-failure/117092)

<div class="topic-metadata">

**Author:** [@deppi](https://discuss.elastic.co/u/deppi)\
**Replies:** 4\
**Last updated:** [January 25, 2018, 7:18pm UTC](https://discuss.elastic.co/t/elastic-2-3-4-node-startup-quiet-failure/117092 "2018-01-25T19:18:50Z")

</div>

We are using a 5 node cluster hosted in Google Cloud (Ubuntu 16.04 LTS) and we noticed that one of the node's disk space was at 90%+ so we shut down the node with: sudo service elasticsearch stop Then stopping the inst…

---

## [\[Elasticsearch Plugin\] AccessControlException on jackson.databind](https://discuss.elastic.co/t/elasticsearch-plugin-accesscontrolexception-on-jackson-databind/116813)

<div class="topic-metadata">

**Author:** [@varundbest](https://discuss.elastic.co/u/varundbest)\
**Replies:** 6\
**Last updated:** [January 25, 2018, 7:01pm UTC](https://discuss.elastic.co/t/elasticsearch-plugin-accesscontrolexception-on-jackson-databind/116813 "2018-01-25T19:01:23Z")

</div>

So as I understand, com.fasterxml.jackson.databind is provided by elasticsearch and we cannot add it in our plugins as it'll lead to jarhell. Now my application is trying to parse JWT tokens but when I try to do so in d…

---

## [Test cases failing with seed option to gradle](https://discuss.elastic.co/t/test-cases-failing-with-seed-option-to-gradle/116978)

<div class="topic-metadata">

**Author:** [@vitt-bagal](https://discuss.elastic.co/u/vitt-bagal)\
**Replies:** 2\
**Last updated:** [January 25, 2018, 6:56pm UTC](https://discuss.elastic.co/t/test-cases-failing-with-seed-option-to-gradle/116978 "2018-01-25T18:56:45Z")

</div>

Hello, Actually I'm running the test cases for Elasticsearch 6.1.1. I have used below command to run a failed test case on ubuntu 17.10. gradle :modules:reindex:test -Dtests.seed=694995B964450E90 - Dtests.class=org.el…

---

## [How to architect/design 3 relational table into elastic serach](https://discuss.elastic.co/t/how-to-architect-design-3-relational-table-into-elastic-serach/116796)

<div class="topic-metadata">

**Author:** [@ffoysal](https://discuss.elastic.co/u/ffoysal)\
**Replies:** 3\
**Last updated:** [January 25, 2018, 6:20pm UTC](https://discuss.elastic.co/t/how-to-architect-design-3-relational-table-into-elastic-serach/116796 "2018-01-25T18:20:57Z")

</div>

I have three tables user, product and order. Order table has user\_id and product\_id in it. one order entry will have exactly one user\_id and one product\_id. So how should I design the data model in ES? Options are: D…

---

## [Rollover max number reached](https://discuss.elastic.co/t/rollover-max-number-reached/116953)

<div class="topic-metadata">

**Author:** [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)\
**Replies:** 2\
**Last updated:** [January 25, 2018, 5:56pm UTC](https://discuss.elastic.co/t/rollover-max-number-reached/116953 "2018-01-25T17:56:08Z")

</div>

What will rollover api do if max rolling numbers are reached? -000001 to -999999

---

## [Jest vs. Elasticsearch Java Rest API Client for Elasticsearch 6.00](https://discuss.elastic.co/t/jest-vs-elasticsearch-java-rest-api-client-for-elasticsearch-6-00/117089)

<div class="topic-metadata">

**Author:** [@rhlarora84](https://discuss.elastic.co/u/rhlarora84)\
**Replies:** 2\
**Last updated:** [January 25, 2018, 5:54pm UTC](https://discuss.elastic.co/t/jest-vs-elasticsearch-java-rest-api-client-for-elasticsearch-6-00/117089 "2018-01-25T17:54:26Z")

</div>

Hi, We are looking forward to use Elasticsearch (6.0) for our search use cases. We have come across the following Java based elastic search clients for api operations - Jest Elastic Search Rest API We plan to use AWS…

---

## [Sorting search results into buckets, and then sorting again](https://discuss.elastic.co/t/sorting-search-results-into-buckets-and-then-sorting-again/116780)

<div class="topic-metadata">

**Author:** [@jswiesner](https://discuss.elastic.co/u/jswiesner)\
**Replies:** 1\
**Last updated:** [January 25, 2018, 5:52pm UTC](https://discuss.elastic.co/t/sorting-search-results-into-buckets-and-then-sorting-again/116780 "2018-01-25T17:52:21Z")

</div>

Hello, I am trying to figure out a way to assemble a query to perform two levels of sorting. My documents have two fields that I'm trying to sort on: { "user": { "type": "keyword" }, "date": { …

---

## [Conditional Clauses not working with Pre-registered template](https://discuss.elastic.co/t/conditional-clauses-not-working-with-pre-registered-template/117094)

<div class="topic-metadata">

**Author:** [@Jack\_Fazackerley](https://discuss.elastic.co/u/Jack_Fazackerley)\
**Replies:** 0\
**Last updated:** [January 25, 2018, 5:41pm UTC](https://discuss.elastic.co/t/conditional-clauses-not-working-with-pre-registered-template/117094 "2018-01-25T17:41:50Z")

</div>

Hi, From the Docs it says that using conditional clauses will cause JSON to be invalid so the JSON would have to be a string but it also says that Pre-registered templates can be used instead with no note of it needing …

---

## [Can't get node to start ( GC out of memory )](https://discuss.elastic.co/t/cant-get-node-to-start-gc-out-of-memory/117088)

<div class="topic-metadata">

**Author:** [@derEremit](https://discuss.elastic.co/u/derEremit)\
**Replies:** 0\
**Last updated:** [January 25, 2018, 5:22pm UTC](https://discuss.elastic.co/t/cant-get-node-to-start-gc-out-of-memory/117088 "2018-01-25T17:22:13Z")

</div>

If got one big storage node for old indexes ( hot-cold architecture) apparently the storage size exceeds my memory limits. I added a new stronger node as second cold node. But how do I get some Indexes to move now, as…

---

## [Ordering bucket aggregations by rescore](https://discuss.elastic.co/t/ordering-bucket-aggregations-by-rescore/117078)

<div class="topic-metadata">

**Author:** [@bwsawyer](https://discuss.elastic.co/u/bwsawyer)\
**Replies:** 0\
**Last updated:** [January 25, 2018, 4:32pm UTC](https://discuss.elastic.co/t/ordering-bucket-aggregations-by-rescore/117078 "2018-01-25T16:32:57Z")

</div>

Hi all, I'm trying to retrieve the top-n buckets of documents that share the same value in a field (terms agg), where the score for each bucket is the maximum scoring document according to a rescore function (order by m…

---

## [\[Painless\] Filtering an entry set has no effect](https://discuss.elastic.co/t/painless-filtering-an-entry-set-has-no-effect/114687)

<div class="topic-metadata">

**Author:** [@cbismuth](https://discuss.elastic.co/u/cbismuth)\
**Replies:** 2\
**Last updated:** [January 25, 2018, 4:26pm UTC](https://discuss.elastic.co/t/painless-filtering-an-entry-set-has-no-effect/114687 "2018-01-25T16:26:24Z")

</div>

Hi, The filter stage in the code below has no effect (i.e. long values are not filtered). Does anyone else encountered this issue with Elasticsearch 6.1.1? long myId = 1; myMap .entrySet() .stream() .filte…

---

## [Empty empty](https://discuss.elastic.co/t/empty-empty/116638)

<div class="topic-metadata">

**Author:** [@laurensdenouden](https://discuss.elastic.co/u/laurensdenouden)\
**Replies:** 0\
**Last updated:** [January 23, 2018, 10:01am UTC](https://discuss.elastic.co/t/empty-empty/116638 "2018-01-23T10:01:25Z")

</div>

empty empty

---

## [Allocation awareness with many VMs per host](https://discuss.elastic.co/t/allocation-awareness-with-many-vms-per-host/117064)

<div class="topic-metadata">

**Author:** [@janhoy](https://discuss.elastic.co/u/janhoy)\
**Replies:** 0\
**Last updated:** [January 25, 2018, 3:23pm UTC](https://discuss.elastic.co/t/allocation-awareness-with-many-vms-per-host/117064 "2018-01-25T15:23:43Z")

</div>

Hi, Deploying ES across four VMWare ESX hosts, with about 3-4 ES VMs per host. I plan to configure allocation awareness based on physical host ID, but since this virtual rig is configured to automatically start a dead V…

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

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