# Elasticsearch

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

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

**Page:** 1715

---

## [Timestamp field](https://discuss.elastic.co/t/timestamp-field/128414)

<div class="topic-metadata">

**Author:** [@las](https://discuss.elastic.co/u/las)\
**Replies:** 2\
**Last updated:** [April 20, 2018, 1:52am UTC](https://discuss.elastic.co/t/timestamp-field/128414 "2018-04-20T01:52:57Z")

</div>

I have json messages with timestamp in kafka that gets indexed in elasticsearch. I dont want to have multiple timestamp fields and only the timestamp in json is the only timestamp i want. I tried adding jsonproperty(“@ti…

---

## [Curator Allocation Filters](https://discuss.elastic.co/t/curator-allocation-filters/128437)

<div class="topic-metadata">

**Author:** [@FatalGlitch](https://discuss.elastic.co/u/FatalGlitch)\
**Replies:** 3\
**Last updated:** [April 20, 2018, 1:40am UTC](https://discuss.elastic.co/t/curator-allocation-filters/128437 "2018-04-20T01:40:29Z")

</div>

Running into a bit of a stumper. Using curator to change the replicas to 1 on indices, but the filters don't seem to be working correctly. Indices to be changed all have the following attributes in \_settings "settings"…

---

## [Daylight Savings Time with only weekday and time range](https://discuss.elastic.co/t/daylight-savings-time-with-only-weekday-and-time-range/128779)

<div class="topic-metadata">

**Author:** [@agruttner](https://discuss.elastic.co/u/agruttner)\
**Replies:** 0\
**Last updated:** [April 20, 2018, 12:22am UTC](https://discuss.elastic.co/t/daylight-savings-time-with-only-weekday-and-time-range/128779 "2018-04-20T00:22:13Z")

</div>

Hi All, We're trying to index some date ranges that only use a weekday and time, and running into issues with daylight savings time. For example if we have the following mapping: "properties": { "time": { "type"…

---

## [6.2.1: Unrecognized option: -server](https://discuss.elastic.co/t/6-2-1-unrecognized-option-server/128017)

<div class="topic-metadata">

**Author:** [@bitva77](https://discuss.elastic.co/u/bitva77)\
**Replies:** 7\
**Last updated:** [April 20, 2018, 12:04am UTC](https://discuss.elastic.co/t/6-2-1-unrecognized-option-server/128017 "2018-04-20T00:04:59Z")

</div>

Hi! Trying to upgrade from 6.1.2 to 6.2.3 on Windows. We have JAVA\_HOME and am using jre 1.8.0.111 ES\_PATH\_CONF is set to a directory outside of the Elastic installation directory. Getting this error when trying to s…

---

## [Use lucene query within ES-API](https://discuss.elastic.co/t/use-lucene-query-within-es-api/126575)

<div class="topic-metadata">

**Author:** [@Tobsucht](https://discuss.elastic.co/u/Tobsucht)\
**Replies:** 5\
**Last updated:** [April 19, 2018, 10:35pm UTC](https://discuss.elastic.co/t/use-lucene-query-within-es-api/126575 "2018-04-19T22:35:43Z")

</div>

I'm building up complex queries within my application which involves that token streams are mapped to queries using a custom querybuilder sub-classed from "org.apache.lucene.util.Querybuilder". This produces lucene quer…

---

## [ThreadLocal use for exchanging some variable between RestHandlerWrapper and ActionFilter](https://discuss.elastic.co/t/threadlocal-use-for-exchanging-some-variable-between-resthandlerwrapper-and-actionfilter/128601)

<div class="topic-metadata">

**Author:** [@avnbajwa](https://discuss.elastic.co/u/avnbajwa)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 10:27pm UTC](https://discuss.elastic.co/t/threadlocal-use-for-exchanging-some-variable-between-resthandlerwrapper-and-actionfilter/128601 "2018-04-19T22:27:03Z")

</div>

I am developing a security plugin for our use where we intercept all Rest Action through a RestHandlerWrapper and authenticate user based on the given criteria. Once Authenticated we want perform some authorization late…

---

## [Index Migration to Slower Media](https://discuss.elastic.co/t/index-migration-to-slower-media/128767)

<div class="topic-metadata">

**Author:** [@gehogan3](https://discuss.elastic.co/u/gehogan3)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 9:25pm UTC](https://discuss.elastic.co/t/index-migration-to-slower-media/128767 "2018-04-19T21:25:52Z")

</div>

Hello, I was just wondering if it is possible to migrate older data to slower media, possibly using "curator." Basically, I want the most current data on the fast SSDs, then as the data gets older, I want it moved down…

---

## [V 2.4.6 with Shield Authorization Problem](https://discuss.elastic.co/t/v-2-4-6-with-shield-authorization-problem/128729)

<div class="topic-metadata">

**Author:** [@alchalade](https://discuss.elastic.co/u/alchalade)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 8:46pm UTC](https://discuss.elastic.co/t/v-2-4-6-with-shield-authorization-problem/128729 "2018-04-19T20:46:47Z")

</div>

Hi together, I'm facing a Problem with the authentication. I'm using a search-plugin so I'm strictly bound to Version 2.4. My Setup: Elasticsearch is running in a Docker After I install shield, I add a user bin/shie…

---

## [Hot / Warm by shards](https://discuss.elastic.co/t/hot-warm-by-shards/128365)

<div class="topic-metadata">

**Author:** [@Exocomp](https://discuss.elastic.co/u/Exocomp)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 8:32pm UTC](https://discuss.elastic.co/t/hot-warm-by-shards/128365 "2018-04-19T20:32:50Z")

</div>

With the hot / warm architecture it is possible to route an index based on the box type. However, is it possible to route some shards of an index only. For example, with a 4 shard index, is it possible to have 2 primar…

---

## [Data nodes failed to send join request to master](https://discuss.elastic.co/t/data-nodes-failed-to-send-join-request-to-master/128588)

<div class="topic-metadata">

**Author:** [@ELK\_GB](https://discuss.elastic.co/u/ELK_GB)\
**Replies:** 1\
**Last updated:** [April 19, 2018, 8:31pm UTC](https://discuss.elastic.co/t/data-nodes-failed-to-send-join-request-to-master/128588 "2018-04-19T20:31:42Z")

</div>

Hi, I have an Elastic cluster and been running with no problems for the past year or so. We are using version 5.4 and running in an Openstack environment. We had an outage and looks like some nodes didn't shut-down pr…

---

## [Performance isse after serach](https://discuss.elastic.co/t/performance-isse-after-serach/128600)

<div class="topic-metadata">

**Author:** [@brunoof1](https://discuss.elastic.co/u/brunoof1)\
**Replies:** 1\
**Last updated:** [April 19, 2018, 6:34pm UTC](https://discuss.elastic.co/t/performance-isse-after-serach/128600 "2018-04-19T18:34:37Z")

</div>

I Have a 4 node cluster, node1 ingestor node2 master, data node3 master, data node4 master, data I have an 379.4gb Index, with 5 shards and 2 replicas, each shard has 25gb, so i have some points to clarify: Will el…

---

## [Big document or plenty of small documents](https://discuss.elastic.co/t/big-document-or-plenty-of-small-documents/128688)

<div class="topic-metadata">

**Author:** [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Replies:** 4\
**Last updated:** [April 19, 2018, 4:48pm UTC](https://discuss.elastic.co/t/big-document-or-plenty-of-small-documents/128688 "2018-04-19T16:48:47Z")

</div>

Question about data model, I am using elasticsearch as a pure "JSON storage", no search, just index/update/get, with big document (JSON of 10 Mb), that contains a big nested array: {"cars" : \[ { "name" : ..., "model" : …

---

## [Manual creation of an index with the date pattern name-YYYY.MM.DD](https://discuss.elastic.co/t/manual-creation-of-an-index-with-the-date-pattern-name-yyyy-mm-dd/128730)

<div class="topic-metadata">

**Author:** [@chapmantrain](https://discuss.elastic.co/u/chapmantrain)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 4:22pm UTC](https://discuss.elastic.co/t/manual-creation-of-an-index-with-the-date-pattern-name-yyyy-mm-dd/128730 "2018-04-19T16:22:07Z")

</div>

I have an application that will be feeding data to my cluster via the API. I would like to have the index rolled like a logstash feed, index-YYYY.MM.DD. I cannot figure out how to create the index for that pattern? I don…

---

## [HighLevelRestClient log4j configuration](https://discuss.elastic.co/t/highlevelrestclient-log4j-configuration/128577)

<div class="topic-metadata">

**Author:** [@seibelj](https://discuss.elastic.co/u/seibelj)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 4:12pm UTC](https://discuss.elastic.co/t/highlevelrestclient-log4j-configuration/128577 "2018-04-19T16:12:13Z")

</div>

Hi. New to Elasticsearch and have a question about logging in the HighLevelRestClient. I wrote a java client that uses the Rest Client but everytime I crank it up to insert records into Elasticsearch I get the following…

---

## [ElasticSearchv6.2.2 - Warning](https://discuss.elastic.co/t/elasticsearchv6-2-2-warning/128739)

<div class="topic-metadata">

**Author:** [@aswinikumari](https://discuss.elastic.co/u/aswinikumari)\
**Replies:** 1\
**Last updated:** [April 19, 2018, 3:53pm UTC](https://discuss.elastic.co/t/elasticsearchv6-2-2-warning/128739 "2018-04-19T15:53:33Z")

</div>

Hi, I've ES 6.2.2 installed and while running the following error comes out. Any help will be much appreciated. I've tried to set highlighter value using the following curl command, which gave error as well \[2018-04-1…

---

## [Completion Suggester on nested property returns nested object only](https://discuss.elastic.co/t/completion-suggester-on-nested-property-returns-nested-object-only/127706)

<div class="topic-metadata">

**Author:** [@dankellett](https://discuss.elastic.co/u/dankellett)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 11:33pm UTC](https://discuss.elastic.co/t/completion-suggester-on-nested-property-returns-nested-object-only/127706 "2018-04-11T23:33:22Z")

</div>

I'm having some trouble getting the completion suggester to return the parent object when using a nested suggestion field. The following query will return a set of nestedField1 objects, which is a nested field. I would …

---

## [Semantic search](https://discuss.elastic.co/t/semantic-search/128718)

<div class="topic-metadata">

**Author:** [@asmael](https://discuss.elastic.co/u/asmael)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 3:20pm UTC](https://discuss.elastic.co/t/semantic-search/128718 "2018-04-19T15:20:01Z")

</div>

hello is thier any plugin that helps to do semantic search with elasticsearch thank you

---

## [Low level client vs High level client?](https://discuss.elastic.co/t/low-level-client-vs-high-level-client/128704)

<div class="topic-metadata">

**Author:** [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 2:11pm UTC](https://discuss.elastic.co/t/low-level-client-vs-high-level-client/128704 "2018-04-19T14:11:34Z")

</div>

I am using elasticsearch in c# web api, so I need to make decision to use high level client or low level client.My question is which one I need to prefer and can you explain me performance wise impact for both the clien…

---

## [Full Text search in nested and normal Object](https://discuss.elastic.co/t/full-text-search-in-nested-and-normal-object/127962)

<div class="topic-metadata">

**Author:** [@surajdalvi](https://discuss.elastic.co/u/surajdalvi)\
**Replies:** 5\
**Last updated:** [April 19, 2018, 1:19pm UTC](https://discuss.elastic.co/t/full-text-search-in-nested-and-normal-object/127962 "2018-04-19T13:19:21Z")

</div>

Hi My documents contain the normal and nested object and I need to perform a full-text search on it. So How I can perform a full-text search on such documents Can any one help me in this?

---

## [Planning to move search functionality to elasticsearch](https://discuss.elastic.co/t/planning-to-move-search-functionality-to-elasticsearch/128495)

<div class="topic-metadata">

**Author:** [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 1:18pm UTC](https://discuss.elastic.co/t/planning-to-move-search-functionality-to-elasticsearch/128495 "2018-04-19T13:18:59Z")

</div>

Hi All, we are building an application with c# web api ,sql server and Angular 5 .So we need to move search functionality to elasticsearch.Actually I have seen Nested objects and Parent child relationship.Which one is …

---

## [Getting data from Cosmos DB to Elasticsearch](https://discuss.elastic.co/t/getting-data-from-cosmos-db-to-elasticsearch/128695)

<div class="topic-metadata">

**Author:** [@Kjartan\_Andreassen](https://discuss.elastic.co/u/Kjartan_Andreassen)\
**Replies:** 0\
**Last updated:** [April 19, 2018, 12:23pm UTC](https://discuss.elastic.co/t/getting-data-from-cosmos-db-to-elasticsearch/128695 "2018-04-19T12:23:37Z")

</div>

Hi, We are creating a highly dynamic system that uses Cosmos DB as the main database. But with growing number of records, the search in Cosmos DB is way too slow. How would we get the data from Cosmos DB to Elasticsear…

---

## [Scoring based on the field(s) results were matched](https://discuss.elastic.co/t/scoring-based-on-the-field-s-results-were-matched/128658)

<div class="topic-metadata">

**Author:** [@xan\_ps](https://discuss.elastic.co/u/xan_ps)\
**Replies:** 0\
**Last updated:** [April 19, 2018, 8:30am UTC](https://discuss.elastic.co/t/scoring-based-on-the-field-s-results-were-matched/128658 "2018-04-19T08:30:44Z")

</div>

Currently, I'm trying to put a constant score according to the fields that have matched. So, I want to assign a particular score if: the query matches in a particular field + boolean value on another field. for it wou…

---

## [Named Queries Contributions](https://discuss.elastic.co/t/named-queries-contributions/128439)

<div class="topic-metadata">

**Author:** [@NewHere](https://discuss.elastic.co/u/NewHere)\
**Replies:** 4\
**Last updated:** [April 19, 2018, 10:27am UTC](https://discuss.elastic.co/t/named-queries-contributions/128439 "2018-04-19T10:27:52Z")

</div>

Hi is there any way to get the contribution (in percentage or score) to the final score of each named queries in a hit? Thank you.

---

## [Elastica PHP filter multiple values for the same field](https://discuss.elastic.co/t/elastica-php-filter-multiple-values-for-the-same-field/128647)

<div class="topic-metadata">

**Author:** [@Islam\_Elshobokshy](https://discuss.elastic.co/u/Islam_Elshobokshy)\
**Replies:** 3\
**Last updated:** [April 19, 2018, 10:09am UTC](https://discuss.elastic.co/t/elastica-php-filter-multiple-values-for-the-same-field/128647 "2018-04-19T10:09:24Z")

</div>

I'm not able to use Elastica to filter multiple values for the same field. Single value for a field works : $filtre = array(); array\_push($filtre, $qb-\>filter()-\>term(array('id' =\> '60'))); $elastica\_query-\>setQuery( …

---

## [Index delete by x-pack](https://discuss.elastic.co/t/index-delete-by-x-pack/128663)

<div class="topic-metadata">

**Author:** [@Gaurav\_Agarwal](https://discuss.elastic.co/u/Gaurav_Agarwal)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 10:08am UTC](https://discuss.elastic.co/t/index-delete-by-x-pack/128663 "2018-04-19T10:08:24Z")

</div>

Hello I am new to the ELK stack and using version 5.6.8 for my tool development. Would like to know is there a feature in x-pack to automatically delete the older indexes and can that be customized according to the user…

---

## [Kibana Plugin error - UI Status red](https://discuss.elastic.co/t/kibana-plugin-error-ui-status-red/128535)

<div class="topic-metadata">

**Author:** [@satkumvnr](https://discuss.elastic.co/u/satkumvnr)\
**Replies:** 6\
**Last updated:** [April 19, 2018, 9:17am UTC](https://discuss.elastic.co/t/kibana-plugin-error-ui-status-red/128535 "2018-04-19T09:17:35Z")

</div>

HI, I installed x-pack plugin on Elastic search & Kibana for displaying objects and arrays of objects. URL : https://github.com/istresearch/kibana-object-format. I I am using a single node elasticsearch and have disab…

---

## [Simple prediction](https://discuss.elastic.co/t/simple-prediction/128363)

<div class="topic-metadata">

**Author:** [@data\_scientist](https://discuss.elastic.co/u/data_scientist)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 9:08am UTC](https://discuss.elastic.co/t/simple-prediction/128363 "2018-04-19T09:08:57Z")

</div>

Hello everybody, Please, I want to know how I can predict the variable "W\_BLG" according to the two variables "W\_BLG" and "TemI\_BLG" ? I did not understand how to use the parameters Split Data and Key Fields (Influenc…

---

## [Curator for elk stack hosted on docker](https://discuss.elastic.co/t/curator-for-elk-stack-hosted-on-docker/128659)

<div class="topic-metadata">

**Author:** [@Gaurav\_Agarwal](https://discuss.elastic.co/u/Gaurav_Agarwal)\
**Replies:** 0\
**Last updated:** [April 19, 2018, 9:01am UTC](https://discuss.elastic.co/t/curator-for-elk-stack-hosted-on-docker/128659 "2018-04-19T09:01:06Z")

</div>

Hello, I am prettty new to elk stack and also docker. I m trying to use curator to delete my old index but I m not able to figure out how to make it work on docker. I m using elk version 5.6.8 Please help me out. Reg…

---

## [Creating watch with webhook without params fails](https://discuss.elastic.co/t/creating-watch-with-webhook-without-params-fails/128534)

<div class="topic-metadata">

**Author:** [@dandrestor](https://discuss.elastic.co/u/dandrestor)\
**Replies:** 4\
**Last updated:** [April 19, 2018, 8:08am UTC](https://discuss.elastic.co/t/creating-watch-with-webhook-without-params-fails/128534 "2018-04-19T08:08:30Z")

</div>

I'm trying to create a watcher with a webhook action. I'm using the following: { ... "actions": { "some-webhook": { "webhook": { "scheme": "http", "host": "some\_host", "port": some\_…

---

## [Use the same query return different hits total](https://discuss.elastic.co/t/use-the-same-query-return-different-hits-total/128330)

<div class="topic-metadata">

**Author:** [@Aleishus](https://discuss.elastic.co/u/Aleishus)\
**Replies:** 3\
**Last updated:** [April 19, 2018, 7:49am UTC](https://discuss.elastic.co/t/use-the-same-query-return-different-hits-total/128330 "2018-04-19T07:49:23Z")

</div>

Hi： I use a very simple query to search a index which is last day and has no documents income. but I got a different hits total , I don't know why? The query: GET app-wechat-2018.04.16/\_search?preference=\_primary {…

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

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