# Elasticsearch

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

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

**Page:** 1520

---

## [User Authentication](https://discuss.elastic.co/t/user-authentication/151897)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 6\
**Last updated:** [October 12, 2018, 7:53pm UTC](https://discuss.elastic.co/t/user-authentication/151897 "2018-10-12T19:53:44Z")

</div>

Can I use NIS authentication for Kibana using x-pack? I don't see a that as an option in document.

---

## [Using constant\_score to avoid TF-IDF](https://discuss.elastic.co/t/using-constant-score-to-avoid-tf-idf/152239)

<div class="topic-metadata">

**Author:** [@madhurtelang](https://discuss.elastic.co/u/madhurtelang)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 7:43pm UTC](https://discuss.elastic.co/t/using-constant-score-to-avoid-tf-idf/152239 "2018-10-12T19:43:09Z")

</div>

Hi, I have a use case of resume screening candidates based on job description keywords. Since I cannot afford change in score each time a new candidate profile is added to the content list (I assume IDF will change), I …

---

## [BulkAsync with UpdateMany example](https://discuss.elastic.co/t/bulkasync-with-updatemany-example/152294)

<div class="topic-metadata">

**Author:** [@TJ\_Kolev](https://discuss.elastic.co/u/TJ_Kolev)\
**Replies:** 0\
**Last updated:** [October 12, 2018, 7:29pm UTC](https://discuss.elastic.co/t/bulkasync-with-updatemany-example/152294 "2018-10-12T19:29:15Z")

</div>

Greetings, Can anyone please provide a nice example of doing a partial update in bulk using NEST 6.x. Can't find any. And the on-line documentation is exclusively about searching, and there's minimal information about t…

---

## [Standard set of Analyzers & Tokens](https://discuss.elastic.co/t/standard-set-of-analyzers-tokens/151119)

<div class="topic-metadata">

**Author:** [@arjunp](https://discuss.elastic.co/u/arjunp)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 5:49pm UTC](https://discuss.elastic.co/t/standard-set-of-analyzers-tokens/151119 "2018-10-12T17:49:50Z")

</div>

Hi All, I just started learning elastic search and trying to choose the appropriate analyzers and tokens for my search. I have the customer reviews & comments data where I need to perform the search. After analyzing th…

---

## [Elasticsearch aggregation bucket filter](https://discuss.elastic.co/t/elasticsearch-aggregation-bucket-filter/152275)

<div class="topic-metadata">

**Author:** [@pavanputhra](https://discuss.elastic.co/u/pavanputhra)\
**Replies:** 0\
**Last updated:** [October 12, 2018, 4:56pm UTC](https://discuss.elastic.co/t/elasticsearch-aggregation-bucket-filter/152275 "2018-10-12T16:56:01Z")

</div>

Let's say I have following documents. { productId: 1, month: 'oct', sales: 3455 } { productId: 1, month: 'nov', sales: 123 } { productId: 1, month: 'dec', sales: 34213 } { productId: 2, month: 'oct', sales: 342 } { pr…

---

## [Difference in Primary and Replica Shards](https://discuss.elastic.co/t/difference-in-primary-and-replica-shards/152167)

<div class="topic-metadata">

**Author:** [@Sagar\_Arora](https://discuss.elastic.co/u/Sagar_Arora)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 4:37pm UTC](https://discuss.elastic.co/t/difference-in-primary-and-replica-shards/152167 "2018-10-12T16:37:07Z")

</div>

Stack Details: ElasticSearch/logstash/kibana/X-pack Version : 6.2.3 Cluster Details : 3 Master node , 4 Hot data node , 1 Warm data node Master Node Conf : Master Node : cluster.name:ELK node.name: ELK-ES7 path.…

---

## [Log time doesnot match the @timestamp](https://discuss.elastic.co/t/log-time-doesnot-match-the-timestamp/151015)

<div class="topic-metadata">

**Author:** [@souravtyson](https://discuss.elastic.co/u/souravtyson)\
**Replies:** 4\
**Last updated:** [October 12, 2018, 2:59pm UTC](https://discuss.elastic.co/t/log-time-doesnot-match-the-timestamp/151015 "2018-10-12T14:59:38Z")

</div>

Hi team, I am trying to send the log from filebeat to elasticsearch. The log format is 0 0 37096 1198332 0 5635848 0 0 0 0 346 332 0 0 100 0 0 2018-09-28 15:52:100 POST \_ingest/pipeline/\_…

---

## [Isolation levels](https://discuss.elastic.co/t/isolation-levels/152242)

<div class="topic-metadata">

**Author:** [@Jacob\_Bogers](https://discuss.elastic.co/u/Jacob_Bogers)\
**Replies:** 5\
**Last updated:** [October 12, 2018, 2:33pm UTC](https://discuss.elastic.co/t/isolation-levels/152242 "2018-10-12T14:33:54Z")

</div>

hi, I am comming from the oracle database space and i have a question about "isolaton levels" In order of low to highest degree of isolation READ UNCOMMITTED READ COMMITTED REPEATABLE READ SERIALIZABLE Which one(s)…

---

## [Understanding Aliases](https://discuss.elastic.co/t/understanding-aliases/152255)

<div class="topic-metadata">

**Author:** [@jlixfeld](https://discuss.elastic.co/u/jlixfeld)\
**Replies:** 0\
**Last updated:** [October 12, 2018, 2:06pm UTC](https://discuss.elastic.co/t/understanding-aliases/152255 "2018-10-12T14:06:07Z")

</div>

Hi! I have an application that is talking to an index which I need to re-index with an additional shard. I understand that aliasing can help here, but I'm fuzzy on some stuff... The index name is elastiflow-3.3.0-2018…

---

## [Add ignore\_above mapping when creating documents with Python elasticsearch\_dsl](https://discuss.elastic.co/t/add-ignore-above-mapping-when-creating-documents-with-python-elasticsearch-dsl/152253)

<div class="topic-metadata">

**Author:** [@eCalle](https://discuss.elastic.co/u/eCalle)\
**Replies:** 0\
**Last updated:** [October 12, 2018, 1:56pm UTC](https://discuss.elastic.co/t/add-ignore-above-mapping-when-creating-documents-with-python-elasticsearch-dsl/152253 "2018-10-12T13:56:46Z")

</div>

Hi I'm on elasticsearch 6.4.2 using elasticsearch\_dsl 6.2.1 with Python. if I define a field like this: instance = Text(fields={'raw': Keyword()}) I'll get this mapping: "instance" : { "type" : "text",…

---

## [Why curator\_cli is not supporting aws\_sign\_request option?](https://discuss.elastic.co/t/why-curator-cli-is-not-supporting-aws-sign-request-option/152150)

<div class="topic-metadata">

**Author:** [@r-plus](https://discuss.elastic.co/u/r-plus)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 1:31pm UTC](https://discuss.elastic.co/t/why-curator-cli-is-not-supporting-aws-sign-request-option/152150 "2018-10-12T13:31:43Z")

</div>

Looks like curator\_cli is not supporting aws\_sign\_request option, why? $ curator\_cli --version curator\_cli, version 5.5.4 $ curator\_cli Usage: curator\_cli \[OPTIONS\] COMMAND \[ARGS\]... Options: --config PATH Pat…

---

## [Help to add new field from @timestamp](https://discuss.elastic.co/t/help-to-add-new-field-from-timestamp/152202)

<div class="topic-metadata">

**Author:** [@florentmair](https://discuss.elastic.co/u/florentmair)\
**Replies:** 2\
**Last updated:** [October 12, 2018, 1:19pm UTC](https://discuss.elastic.co/t/help-to-add-new-field-from-timestamp/152202 "2018-10-12T13:19:24Z")

</div>

Hello, i am not able to add new field, i want to date the hourofday value on a new field, but i have this error I don't find into the documentation why it doesn't work POST logstash-eno-2018.10\_v2/\_update\_by\_query { …

---

## [Dynamic scoring based on doc field](https://discuss.elastic.co/t/dynamic-scoring-based-on-doc-field/151458)

<div class="topic-metadata">

**Author:** [@guess11](https://discuss.elastic.co/u/guess11)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 12:47pm UTC](https://discuss.elastic.co/t/dynamic-scoring-based-on-doc-field/151458 "2018-10-12T12:47:58Z")

</div>

Hi I am using elasticsearch 6.4 and I was trying to find any workable solution for my problem. So my problem is I have doc and I am trying to score depending on id from query: { "rates": \[ { "id": 1, "score\_rate": 4.0}…

---

## [Return alias-id instead of index-id](https://discuss.elastic.co/t/return-alias-id-instead-of-index-id/151883)

<div class="topic-metadata">

**Author:** [@jasl](https://discuss.elastic.co/u/jasl)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 11:56am UTC](https://discuss.elastic.co/t/return-alias-id-instead-of-index-id/151883 "2018-10-12T11:56:37Z")

</div>

When doing a suggestion query to multiple index, I need to know which index is returning the suggestions to display it properly. When using aliases, it works as expected except the ruslts include "realname" instead of "…

---

## [Elasticsea start error](https://discuss.elastic.co/t/elasticsea-start-error/151569)

<div class="topic-metadata">

**Author:** [@pikaqiu](https://discuss.elastic.co/u/pikaqiu)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 11:54am UTC](https://discuss.elastic.co/t/elasticsea-start-error/151569 "2018-10-12T11:54:37Z")

</div>

\[2018-10-09T15:36:36,829\]\[DEBUG\]\[o.e.a.s.TransportSearchAction\] \[node-1\] All shards failed for phase: \[query\] \[2018-10-09T15:36:36,829\]\[WARN \]\[r.suppressed \] path: /.kibana/\_search, params: {ignore\_unavail…

---

## [Default sort for same score documents](https://discuss.elastic.co/t/default-sort-for-same-score-documents/151076)

<div class="topic-metadata">

**Author:** [@vvelichkovich](https://discuss.elastic.co/u/vvelichkovich)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 11:45am UTC](https://discuss.elastic.co/t/default-sort-for-same-score-documents/151076 "2018-10-12T11:45:57Z")

</div>

If I do search and all documents have score of 1, what is the default order elasticsearch use to give me results back? I am looking at the case where we re-indexed data and just doing GET index/\_search in those two indi…

---

## [Shard Request Cache and Scripts](https://discuss.elastic.co/t/shard-request-cache-and-scripts/151273)

<div class="topic-metadata">

**Author:** [@luissantos](https://discuss.elastic.co/u/luissantos)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 11:38am UTC](https://discuss.elastic.co/t/shard-request-cache-and-scripts/151273 "2018-10-12T11:38:48Z")

</div>

Hi everyone, I'm new to Elasticsearch and I've been trying to understand why my query is not being cached. I've read the documentation (Shard request cache settings | Elasticsearch Guide \[8.11\] | Elastic ) several time…

---

## [Performance Comparison between Terms Query and Constant Score Query](https://discuss.elastic.co/t/performance-comparison-between-terms-query-and-constant-score-query/151349)

<div class="topic-metadata">

**Author:** [@Gaurav\_Kumar1](https://discuss.elastic.co/u/Gaurav_Kumar1)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 11:36am UTC](https://discuss.elastic.co/t/performance-comparison-between-terms-query-and-constant-score-query/151349 "2018-10-12T11:36:03Z")

</div>

Hi All, We need to just fetch the records by putting a filter condition. Score of query is not relevant to us. Currently we are using terms query as mentioned below:- GET test/\_search {"query": {"terms": { "userId": …

---

## [Not enough master nodes discovered during pinging (found \[\[\]\], but needed \[1\]), pinging again](https://discuss.elastic.co/t/not-enough-master-nodes-discovered-during-pinging-found-but-needed-1-pinging-again/152043)

<div class="topic-metadata">

**Author:** [@Ganesh2303](https://discuss.elastic.co/u/Ganesh2303)\
**Replies:** 4\
**Last updated:** [October 12, 2018, 11:05am UTC](https://discuss.elastic.co/t/not-enough-master-nodes-discovered-during-pinging-found-but-needed-1-pinging-again/152043 "2018-10-12T11:05:51Z")

</div>

HI Team, I have 5 server and i want to form cluster. Initially i'm working around 2 server cluster formation. my idea is 1 master and 4 data node. when i try to form cluster formation between 2 server i'm getting mast…

---

## [Setting type in index or within an array?](https://discuss.elastic.co/t/setting-type-in-index-or-within-an-array/152214)

<div class="topic-metadata">

**Author:** [@JamesTh](https://discuss.elastic.co/u/JamesTh)\
**Replies:** 0\
**Last updated:** [October 12, 2018, 9:59am UTC](https://discuss.elastic.co/t/setting-type-in-index-or-within-an-array/152214 "2018-10-12T09:59:03Z")

</div>

hi, we have an array using Ruby that looks like this: def filter(event) mymessage = event.get("message") lineArray = mymessage.scan(/LIN+(\\d\*)++(\\d\*).\\nQTY+21:(\\d).\\nPRI+\[A-Z\]:(\\d\*.?\\d\*)'/) finalArray = Array.new(li…

---

## [5.3.x to 6.x - org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available](https://discuss.elastic.co/t/5-3-x-to-6-x-org-elasticsearch-client-transport-nonodeavailableexception-none-of-the-configured-nodes-are-available/151108)

<div class="topic-metadata">

**Author:** [@Vivek\_Bairy](https://discuss.elastic.co/u/Vivek_Bairy)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 10:00am UTC](https://discuss.elastic.co/t/5-3-x-to-6-x-org-elasticsearch-client-transport-nonodeavailableexception-none-of-the-configured-nodes-are-available/151108 "2018-10-12T10:00:33Z")

</div>

We are upgrading elasticsearch from 5.3.1 to 6.4.0. Tomcat application is not able to connect elastic with https URL even after installing per format of cert in JDK cacerts. Error while application is trying to connect…

---

## [Exception caught on transport layer : javax.net.ssl.SSLHandshakeException: null cert chain](https://discuss.elastic.co/t/exception-caught-on-transport-layer-javax-net-ssl-sslhandshakeexception-null-cert-chain/151274)

<div class="topic-metadata">

**Author:** [@Vivek\_Bairy](https://discuss.elastic.co/u/Vivek_Bairy)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 9:55am UTC](https://discuss.elastic.co/t/exception-caught-on-transport-layer-javax-net-ssl-sslhandshakeexception-null-cert-chain/151274 "2018-10-12T09:55:17Z")

</div>

I have enabled TLS/SSL in 6.4.0 elastic instance. After installing self signed ca cert in my local work station, I can securely invoke elastic & kibana URLs. When trying to access transport.tcp port from my application,…

---

## [Set minimum\_master\_nodes](https://discuss.elastic.co/t/set-minimum-master-nodes/152187)

<div class="topic-metadata">

**Author:** [@bert\_vervaele](https://discuss.elastic.co/u/bert_vervaele)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 9:43am UTC](https://discuss.elastic.co/t/set-minimum-master-nodes/152187 "2018-10-12T09:43:32Z")

</div>

Hey, I was wondering if I had to set the "discovery.zen.minimum\_master\_nodes" setting in the yml of all my nodes in the cluster or only the master eligible ones? Kind regards Bert

---

## [Elastic How to retrieve such 'JT221\_20180101, A98068\_20180321' product information](https://discuss.elastic.co/t/elastic-how-to-retrieve-such-jt221-20180101-a98068-20180321-product-information/151817)

<div class="topic-metadata">

**Author:** [@Zhen\_Zhang](https://discuss.elastic.co/u/Zhen_Zhang)\
**Replies:** 2\
**Last updated:** [October 12, 2018, 9:10am UTC](https://discuss.elastic.co/t/elastic-how-to-retrieve-such-jt221-20180101-a98068-20180321-product-information/151817 "2018-10-12T09:10:08Z")

</div>

This field stores multiple product information using the letter "," where "\_" is preceded by the product code," \_" followed by the purchase time, and how to retrieve the customer information that matches the results base…

---

## [Restore from s3\_repository stops part way through](https://discuss.elastic.co/t/restore-from-s3-repository-stops-part-way-through/151414)

<div class="topic-metadata">

**Author:** [@Martin\_Stevens](https://discuss.elastic.co/u/Martin_Stevens)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 9:08am UTC](https://discuss.elastic.co/t/restore-from-s3-repository-stops-part-way-through/151414 "2018-10-12T09:08:24Z")

</div>

Hi, We are trying to recover from an s3\_repository however some of the indexes never get past a certain point, we install es with ansible and then packer the ami, then spin up a new box with a larger disk. The restore …

---

## [Elastic search 1.7](https://discuss.elastic.co/t/elastic-search-1-7/152173)

<div class="topic-metadata">

**Author:** [@saranjeet](https://discuss.elastic.co/u/saranjeet)\
**Replies:** 2\
**Last updated:** [October 12, 2018, 8:15am UTC](https://discuss.elastic.co/t/elastic-search-1-7/152173 "2018-10-12T08:15:43Z")

</div>

Hi , can anybody tell me whether elastic search 1.7 is supported with java 10 or not ,if yes then what extra things we need to upgrade to work with elastic search 1.7 using java 10 Thanks in advance

---

## [Garbage collector issue on elasticsearch 2.2.4](https://discuss.elastic.co/t/garbage-collector-issue-on-elasticsearch-2-2-4/152115)

<div class="topic-metadata">

**Author:** [@mauro\_segreto](https://discuss.elastic.co/u/mauro_segreto)\
**Replies:** 3\
**Last updated:** [October 12, 2018, 7:27am UTC](https://discuss.elastic.co/t/garbage-collector-issue-on-elasticsearch-2-2-4/152115 "2018-10-12T07:27:00Z")

</div>

Hi , we are facing some garbage collector issues during write batch procedures in our Production environment composed by 8 nodes with elastic 2.2.4 and 1.8.0\_121-b13, below some related gc logs: 2018-10-10T19:36:02.046…

---

## [Get insight in email whitelist](https://discuss.elastic.co/t/get-insight-in-email-whitelist/152175)

<div class="topic-metadata">

**Author:** [@DennisSnoek](https://discuss.elastic.co/u/DennisSnoek)\
**Replies:** 0\
**Last updated:** [October 12, 2018, 7:13am UTC](https://discuss.elastic.co/t/get-insight-in-email-whitelist/152175 "2018-10-12T07:13:11Z")

</div>

Dear sir/madam, We use ElasticCloud with ElasticSearch v6.4.0 and Kibana v6.4.0 (windows 10, google chrome). Currently I have several email adresses added to our "email whitelist" via our "profile" page in our elastic …

---

## [Query String Query boosting](https://discuss.elastic.co/t/query-string-query-boosting/151561)

<div class="topic-metadata">

**Author:** [@kumpelblase](https://discuss.elastic.co/u/kumpelblase)\
**Replies:** 2\
**Last updated:** [October 12, 2018, 6:50am UTC](https://discuss.elastic.co/t/query-string-query-boosting/151561 "2018-10-12T06:50:38Z")

</div>

Hello I have 5 different indices on which I would like to do a full text search. The mappings of the indices are all different from another, but they all have a common field on which I can join them on the client side. …

---

## [Fuzzy searching on shingles filter getting problem for search](https://discuss.elastic.co/t/fuzzy-searching-on-shingles-filter-getting-problem-for-search/152154)

<div class="topic-metadata">

**Author:** [@vishalg](https://discuss.elastic.co/u/vishalg)\
**Replies:** 0\
**Last updated:** [October 12, 2018, 4:41am UTC](https://discuss.elastic.co/t/fuzzy-searching-on-shingles-filter-getting-problem-for-search/152154 "2018-10-12T04:41:09Z")

</div>

Query: How to apply fuzziness on every token produced by shingles filter? Below is my created mapping: { "settings":{ "index":{ "number\_of\_shards" : 1, "number\_of\_replicas" : 0 , "analysis":{ "filter": { "my\_syn…

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

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