# Elasticsearch

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

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

**Page:** 1757

---

## [Maven.elasticsearch.org is not available](https://discuss.elastic.co/t/maven-elasticsearch-org-is-not-available/121180)

<div class="topic-metadata">

**Author:** [@melonCoder](https://discuss.elastic.co/u/melonCoder)\
**Replies:** 6\
**Last updated:** [March 12, 2018, 10:23pm UTC](https://discuss.elastic.co/t/maven-elasticsearch-org-is-not-available/121180 "2018-03-12T22:23:29Z")

</div>

I tried to get shield for transport client, but found that maven.elasticsearch.org is available? Anyone have similar problem?

---

## [How to do nested sorting with NEST?](https://discuss.elastic.co/t/how-to-do-nested-sorting-with-nest/123626)

<div class="topic-metadata">

**Author:** [@togakangaroo](https://discuss.elastic.co/u/togakangaroo)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 8:18pm UTC](https://discuss.elastic.co/t/how-to-do-nested-sorting-with-nest/123626 "2018-03-12T20:18:31Z")

</div>

According to this page There should be some sort of Mode method inside of NEST's .Sort(...) nested closure. I'm not seeing anything though

---

## [Analyze Prefix Query](https://discuss.elastic.co/t/analyze-prefix-query/123621)

<div class="topic-metadata">

**Author:** [@han1](https://discuss.elastic.co/u/han1)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 7:36pm UTC](https://discuss.elastic.co/t/analyze-prefix-query/123621 "2018-03-12T19:36:01Z")

</div>

We require assistance in creating the required query in Elasticsearch using the NEST library. We have managed to correctly index the data using a custom analyzer (character filters, Tokenizer and Token filters), but are …

---

## [Get logs from multiple windows servers](https://discuss.elastic.co/t/get-logs-from-multiple-windows-servers/123603)

<div class="topic-metadata">

**Author:** [@rohitg](https://discuss.elastic.co/u/rohitg)\
**Replies:** 1\
**Last updated:** [March 12, 2018, 7:32pm UTC](https://discuss.elastic.co/t/get-logs-from-multiple-windows-servers/123603 "2018-03-12T19:32:54Z")

</div>

Hi, I am doing a setup of Elastic stack to get logs from 10 windows servers. Could you please let me know if am i doing right way. On one Server i will install Elasticsearch + Logstash + Kibana = my cluster and to…

---

## [Missing results in aggregations](https://discuss.elastic.co/t/missing-results-in-aggregations/123404)

<div class="topic-metadata">

**Author:** [@pixelrebel](https://discuss.elastic.co/u/pixelrebel)\
**Replies:** 1\
**Last updated:** [March 12, 2018, 7:29pm UTC](https://discuss.elastic.co/t/missing-results-in-aggregations/123404 "2018-03-12T19:29:13Z")

</div>

I have raspberry pis sending temperature data to elasticsearch. Each host has two temperature sensors (high and low). I have a query that groups by host and by sensor into four, 6-hour periods (morning, afternoon, even…

---

## [Are there any tools to facilitate changing a mapping?](https://discuss.elastic.co/t/are-there-any-tools-to-facilitate-changing-a-mapping/123447)

<div class="topic-metadata">

**Author:** [@David9](https://discuss.elastic.co/u/David9)\
**Replies:** 2\
**Last updated:** [March 12, 2018, 7:22pm UTC](https://discuss.elastic.co/t/are-there-any-tools-to-facilitate-changing-a-mapping/123447 "2018-03-12T19:22:28Z")

</div>

I have to modify an index mapping and I feel like when doing this in the past it feels more difficult and error-prone than it should be. Specifically I have to modify a geopoint field. I'm going to use a json text edit…

---

## [Best design to index and search temporary documents](https://discuss.elastic.co/t/best-design-to-index-and-search-temporary-documents/123616)

<div class="topic-metadata">

**Author:** [@abii](https://discuss.elastic.co/u/abii)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 6:59pm UTC](https://discuss.elastic.co/t/best-design-to-index-and-search-temporary-documents/123616 "2018-03-12T18:59:24Z")

</div>

Let's say I have 50 million documents and I need to group matched documents together (i.e) form multiple groups of documents and all documents in a group are almost similar. Before even doing the actual matches, I groupe…

---

## [Aggregations for multiple keywords and date ranges (histogram)](https://discuss.elastic.co/t/aggregations-for-multiple-keywords-and-date-ranges-histogram/123618)

<div class="topic-metadata">

**Author:** [@eshlox](https://discuss.elastic.co/u/eshlox)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 7:14pm UTC](https://discuss.elastic.co/t/aggregations-for-multiple-keywords-and-date-ranges-histogram/123618 "2018-03-12T19:14:29Z")

</div>

Hi, I have a single index with data (let's say about 20 millions of documents for last month), example mapping: { "date-aggregation": { "mappings": { "doc": { "properties": { "source\_date": { "type"…

---

## [Term aggrigation with partition not working](https://discuss.elastic.co/t/term-aggrigation-with-partition-not-working/123533)

<div class="topic-metadata">

**Author:** [@tushar\_chevulkar](https://discuss.elastic.co/u/tushar_chevulkar)\
**Replies:** 7\
**Last updated:** [March 12, 2018, 5:22pm UTC](https://discuss.elastic.co/t/term-aggrigation-with-partition-not-working/123533 "2018-03-12T17:22:26Z")

</div>

when I am running the below query the partition is not working the query executes but the partition filter dose not work. I really don't know where am I going wrong. Can any one help me with this ? { "query": { "boo…

---

## [Aggregations bucket filters - must contain \_type logic](https://discuss.elastic.co/t/aggregations-bucket-filters-must-contain-type-logic/123593)

<div class="topic-metadata">

**Author:** [@joemewes](https://discuss.elastic.co/u/joemewes)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 4:15pm UTC](https://discuss.elastic.co/t/aggregations-bucket-filters-must-contain-type-logic/123593 "2018-03-12T16:15:50Z")

</div>

Im trying to filter my aggs results buckets to only ones that contain both types of \_docs being searched. I'm new to ES, and am querying http://localhost:4571/\_all/example\_1,example\_2/\_search, and setting size: 0, as Im…

---

## [Rejected documents in error log sometimes does not contain source document](https://discuss.elastic.co/t/rejected-documents-in-error-log-sometimes-does-not-contain-source-document/123302)

<div class="topic-metadata">

**Author:** [@weiishann](https://discuss.elastic.co/u/weiishann)\
**Replies:** 8\
**Last updated:** [March 12, 2018, 4:11pm UTC](https://discuss.elastic.co/t/rejected-documents-in-error-log-sometimes-does-not-contain-source-document/123302 "2018-03-12T16:11:38Z")

</div>

In the elasticsearch node logs, we can see error logs about rejected documents. That's fine because we can see the source and reindex the document. However, sometimes the error logs do not contain the source document. D…

---

## [Sort on multiple nested values](https://discuss.elastic.co/t/sort-on-multiple-nested-values/123587)

<div class="topic-metadata">

**Author:** [@k7n2](https://discuss.elastic.co/u/k7n2)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 3:54pm UTC](https://discuss.elastic.co/t/sort-on-multiple-nested-values/123587 "2018-03-12T15:54:16Z")

</div>

Hi, how could I sort based on multiple values? This works fine: POST testindex/default/\_search { "sort": \[{ "product.rating" : { "nested\_path": "product", "order" : "asc", "nested\_filter":…

---

## [Hibernate search + elastics search are on the same boat, but this boat flow](https://discuss.elastic.co/t/hibernate-search-elastics-search-are-on-the-same-boat-but-this-boat-flow/122927)

<div class="topic-metadata">

**Author:** [@alexis-puska](https://discuss.elastic.co/u/alexis-puska)\
**Replies:** 3\
**Last updated:** [March 12, 2018, 3:52pm UTC](https://discuss.elastic.co/t/hibernate-search-elastics-search-are-on-the-same-boat-but-this-boat-flow/122927 "2018-03-12T15:52:17Z")

</div>

Hi, elastic is great but elastic HttpRestClientApi is very too dependent of Lucene ! why did you include all server in the RestApiClient (lucene include) for request an external elasticsearch node ? My probleme is that…

---

## [X-pack security module for a cluster on internet](https://discuss.elastic.co/t/x-pack-security-module-for-a-cluster-on-internet/123519)

<div class="topic-metadata">

**Author:** [@dao](https://discuss.elastic.co/u/dao)\
**Replies:** 6\
**Last updated:** [March 12, 2018, 3:44pm UTC](https://discuss.elastic.co/t/x-pack-security-module-for-a-cluster-on-internet/123519 "2018-03-12T15:44:42Z")

</div>

Continuing the discussion from Deploy elasticsearch cluster over internet: Hey, I'd like to know if security takes care of the security of the cluster if the nodes are communicating on internet: I have 3 nodes, each o…

---

## [Reindex and partial updates](https://discuss.elastic.co/t/reindex-and-partial-updates/123579)

<div class="topic-metadata">

**Author:** [@pvanderlinden](https://discuss.elastic.co/u/pvanderlinden)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 3:33pm UTC](https://discuss.elastic.co/t/reindex-and-partial-updates/123579 "2018-03-12T15:33:31Z")

</div>

I'm trying to solve a problem when reindexing an index. We are trying to reindex an index while at the same time we write and search. While the reindex api supports this if you use aliases (to point the writers and sear…

---

## [Create new Language Analyzer](https://discuss.elastic.co/t/create-new-language-analyzer/123550)

<div class="topic-metadata">

**Author:** [@LONGMAN](https://discuss.elastic.co/u/LONGMAN)\
**Replies:** 3\
**Last updated:** [March 12, 2018, 3:26pm UTC](https://discuss.elastic.co/t/create-new-language-analyzer/123550 "2018-03-12T15:26:10Z")

</div>

Hi How can I create new language analyzer? I want to create Georgian (ქართული) analyzer. I did not find the code on Github for current analyzers.

---

## [Get only a field](https://discuss.elastic.co/t/get-only-a-field/123554)

<div class="topic-metadata">

**Author:** [@akml\_kk](https://discuss.elastic.co/u/akml_kk)\
**Replies:** 6\
**Last updated:** [March 12, 2018, 3:22pm UTC](https://discuss.elastic.co/t/get-only-a-field/123554 "2018-03-12T15:22:48Z")

</div>

Hello, i need to get just a field from an index how to do that using elasticsearch ?

---

## [Using shingles after delimiter\_graph returns weird results](https://discuss.elastic.co/t/using-shingles-after-delimiter-graph-returns-weird-results/123572)

<div class="topic-metadata">

**Author:** [@byronvoorbach](https://discuss.elastic.co/u/byronvoorbach)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 3:11pm UTC](https://discuss.elastic.co/t/using-shingles-after-delimiter-graph-returns-weird-results/123572 "2018-03-12T15:11:56Z")

</div>

Hi! :smiley: When using a combination of delimiter\_graph and shingles, I do not get the results that I expect. Consider the following use case: DELETE test PUT test { "settings": { "number\_of\_replicas": 0, "…

---

## [Sorting mechanism](https://discuss.elastic.co/t/sorting-mechanism/123552)

<div class="topic-metadata">

**Author:** [@adityaril](https://discuss.elastic.co/u/adityaril)\
**Replies:** 1\
**Last updated:** [March 12, 2018, 2:41pm UTC](https://discuss.elastic.co/t/sorting-mechanism/123552 "2018-03-12T14:41:58Z")

</div>

Hi, M using elastic search for searching, I want to know which sorting algorithm is used by elastic search by default.

---

## [Change a source alias during reindex on the background](https://discuss.elastic.co/t/change-a-source-alias-during-reindex-on-the-background/123565)

<div class="topic-metadata">

**Author:** [@Bican](https://discuss.elastic.co/u/Bican)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 2:28pm UTC](https://discuss.elastic.co/t/change-a-source-alias-during-reindex-on-the-background/123565 "2018-03-12T14:28:59Z")

</div>

Hi, I need help with the following scenario. Let's say we have following indices and aliases. index A - has an alias C and holds data index B - has no alias and has no data I start reindex and define the source inde…

---

## [How to cast incorrectly detected schema. Pyspark-ES](https://discuss.elastic.co/t/how-to-cast-incorrectly-detected-schema-pyspark-es/123467)

<div class="topic-metadata">

**Author:** [@Pramod\_Sripada](https://discuss.elastic.co/u/Pramod_Sripada)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 2:20am UTC](https://discuss.elastic.co/t/how-to-cast-incorrectly-detected-schema-pyspark-es/123467 "2018-03-12T02:20:46Z")

</div>

Hi, I am reading in geo point data from ElasticSearch index using Pyspark. I am creating my DataFrame using the following command. us\_df = spark.read.format('es').option('es.query', us\_q).option('es.read.field.as.array…

---

## [How to set passwords for built-in users in batch mode?](https://discuss.elastic.co/t/how-to-set-passwords-for-built-in-users-in-batch-mode/119655)

<div class="topic-metadata">

**Author:** [@Vitaly\_il](https://discuss.elastic.co/u/Vitaly_il)\
**Replies:** 11\
**Last updated:** [March 12, 2018, 1:15pm UTC](https://discuss.elastic.co/t/how-to-set-passwords-for-built-in-users-in-batch-mode/119655 "2018-03-12T13:15:52Z")

</div>

I'd like to use "setup-passwords interactive" for settings passwords in my setup script. This command works nice in manual mode, but for some reason fails with Exception in thread "main" java.lang.NullPointerException …

---

## [Skip\_duplicates in Nest C# client](https://discuss.elastic.co/t/skip-duplicates-in-nest-c-client/123544)

<div class="topic-metadata">

**Author:** [@a.korshunov](https://discuss.elastic.co/u/a.korshunov)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 12:30pm UTC](https://discuss.elastic.co/t/skip-duplicates-in-nest-c-client/123544 "2018-03-12T12:30:18Z")

</div>

Hi, guys! Do you plan to add skip\_duplicates parameter to the completion suggester in C# Nest client?

---

## [Pooled storage vs individual mountpoints](https://discuss.elastic.co/t/pooled-storage-vs-individual-mountpoints/123540)

<div class="topic-metadata">

**Author:** [@aidofitz](https://discuss.elastic.co/u/aidofitz)\
**Replies:** 1\
**Last updated:** [March 12, 2018, 12:13pm UTC](https://discuss.elastic.co/t/pooled-storage-vs-individual-mountpoints/123540 "2018-03-12T12:13:18Z")

</div>

Hi, I'm setting up a new ES cluster on a set of RHEL servers, each of which 5 x 1Tb disks. I'm trying to work out the best way to configure the storage. Our RHEL admin has described two main options: Mount each of th…

---

## [Default ingest pipeline for index?](https://discuss.elastic.co/t/default-ingest-pipeline-for-index/123511)

<div class="topic-metadata">

**Author:** [@Fluorescence](https://discuss.elastic.co/u/Fluorescence)\
**Replies:** 6\
**Last updated:** [March 12, 2018, 11:41am UTC](https://discuss.elastic.co/t/default-ingest-pipeline-for-index/123511 "2018-03-12T11:41:34Z")

</div>

Hi there, about a year ago there was a topic raised in this forum for getting a default ingest pipeline option as described here: Does someone has any news on this or any alternative? Background on this question is,…

---

## [Profiling : "took" is much higher than all breakdown times](https://discuss.elastic.co/t/profiling-took-is-much-higher-than-all-breakdown-times/122951)

<div class="topic-metadata">

**Author:** [@Retenodus](https://discuss.elastic.co/u/Retenodus)\
**Replies:** 1\
**Last updated:** [March 12, 2018, 11:27am UTC](https://discuss.elastic.co/t/profiling-took-is-much-higher-than-all-breakdown-times/122951 "2018-03-12T11:27:05Z")

</div>

Hello, I have some kibana queries which take a very long time (it timeouts) and I struggle to see why, with Elasticsearch/Kibana 6.1. My indice is 50Go in 10 hosts For testing, I try a query on a very narrow timeframe…

---

## [Is it possible to change the default value of max\_expansions?](https://discuss.elastic.co/t/is-it-possible-to-change-the-default-value-of-max-expansions/123536)

<div class="topic-metadata">

**Author:** [@Bernt\_Rostad](https://discuss.elastic.co/u/Bernt_Rostad)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 11:21am UTC](https://discuss.elastic.co/t/is-it-possible-to-change-the-default-value-of-max-expansions/123536 "2018-03-12T11:21:37Z")

</div>

Match Phrase Prefix queries has an optional parameter max\_expansions which controls how many suffixes the last term will be expanded to. The problem is that the default value of 50 is not high enough for us to match all …

---

## [Elasticsearch across all fields with fuzzy and wildcard searching](https://discuss.elastic.co/t/elasticsearch-across-all-fields-with-fuzzy-and-wildcard-searching/123529)

<div class="topic-metadata">

**Author:** [@palaniichukdmytro](https://discuss.elastic.co/u/palaniichukdmytro)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 11:03am UTC](https://discuss.elastic.co/t/elasticsearch-across-all-fields-with-fuzzy-and-wildcard-searching/123529 "2018-03-12T11:03:52Z")

</div>

I use elasticsearch to match all fields in the query when typing text in the input field. I use query\_string to match all fields that match a search value with a wildcard( search for any word that starts with search valu…

---

## [How to store huge amount of complex data?](https://discuss.elastic.co/t/how-to-store-huge-amount-of-complex-data/123521)

<div class="topic-metadata">

**Author:** [@boeledi01](https://discuss.elastic.co/u/boeledi01)\
**Replies:** 1\
**Last updated:** [March 12, 2018, 10:29am UTC](https://discuss.elastic.co/t/how-to-store-huge-amount-of-complex-data/123521 "2018-03-12T10:29:18Z")

</div>

Hi, I need to figure out the best way of storing the information and I would appreciate your advice. I am receiving 250,000,000 messages. Each message contains: up to 7 traders up to 999 good items other data (but I…

---

## [Python with elasticsearch](https://discuss.elastic.co/t/python-with-elasticsearch/123503)

<div class="topic-metadata">

**Author:** [@akml\_kk](https://discuss.elastic.co/u/akml_kk)\
**Replies:** 8\
**Last updated:** [March 12, 2018, 10:04am UTC](https://discuss.elastic.co/t/python-with-elasticsearch/123503 "2018-03-12T10:04:31Z")

</div>

Hi, How to use python with elasticsearch. i've just understand this line of installation pip install elasticsearch but how to write python scripts and connect them to elasticsearch

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

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