# Elasticsearch

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

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

**Page:** 1647

---

## [How to scroll a particular request?](https://discuss.elastic.co/t/how-to-scroll-a-particular-request/136684)

<div class="topic-metadata">

**Author:** [@BoffinPanda](https://discuss.elastic.co/u/BoffinPanda)\
**Replies:** 4\
**Last updated:** [June 20, 2018, 1:20pm UTC](https://discuss.elastic.co/t/how-to-scroll-a-particular-request/136684 "2018-06-20T13:20:27Z")

</div>

Hello all. I have a request - { "size": 0, "\_source": { "excludes": \[\] }, "aggs": { "2": { "terms": { "field": "netflow.dst\_addr", "size": 100, "order": { "\_count": "desc" } }, "aggs": { "3": { "terms":…

---

## [Accessing \_score of inner hits for further sorting](https://discuss.elastic.co/t/accessing-score-of-inner-hits-for-further-sorting/136687)

<div class="topic-metadata">

**Author:** [@randel\_2](https://discuss.elastic.co/u/randel_2)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 12:28pm UTC](https://discuss.elastic.co/t/accessing-score-of-inner-hits-for-further-sorting/136687 "2018-06-20T12:28:52Z")

</div>

While the documentation of inner hits shows that sort can be used to overwrite the default sorting (by \_score) of my inner hits I can't seem to access \`\_score' itself. The documentation of Sort suggests that I can acces…

---

## [Range query for geolocation in elasticsearch 6.x](https://discuss.elastic.co/t/range-query-for-geolocation-in-elasticsearch-6-x/136688)

<div class="topic-metadata">

**Author:** [@adesai](https://discuss.elastic.co/u/adesai)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 12:30pm UTC](https://discuss.elastic.co/t/range-query-for-geolocation-in-elasticsearch-6-x/136688 "2018-06-20T12:30:17Z")

</div>

Hello, How do I migrate the following range query used for geo location in elasticsearch 2.x to elasticsearch 6.x as it does not return any results in 6.x? BoolQueryBuilder result; result.must(QueryBuilders.rangeQuery…

---

## [What is the better way to input values to completion suggestor?](https://discuss.elastic.co/t/what-is-the-better-way-to-input-values-to-completion-suggestor/136674)

<div class="topic-metadata">

**Author:** [@amaljose123](https://discuss.elastic.co/u/amaljose123)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 11:15am UTC](https://discuss.elastic.co/t/what-is-the-better-way-to-input-values-to-completion-suggestor/136674 "2018-06-20T11:15:14Z")

</div>

is there any way to input multiple values to a completion suggestor dynamically?like taking the shingles generated by a shingle token filter as the input? eg. this is the mapping for completion suggestor field used P…

---

## [What is the most efficient way to insert data to Elasticsearch?](https://discuss.elastic.co/t/what-is-the-most-efficient-way-to-insert-data-to-elasticsearch/136647)

<div class="topic-metadata">

**Author:** [@white\_rabbit](https://discuss.elastic.co/u/white_rabbit)\
**Replies:** 5\
**Last updated:** [June 20, 2018, 11:52am UTC](https://discuss.elastic.co/t/what-is-the-most-efficient-way-to-insert-data-to-elasticsearch/136647 "2018-06-20T11:52:20Z")

</div>

I try to use Python Elasticsearch Client for inserting data to Elasticsearch however performance is terrible. I use Ubuntu 14 with 164 GB RAM and 40 processors Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz. I would like to …

---

## [New ES Instance Unassigned Shards](https://discuss.elastic.co/t/new-es-instance-unassigned-shards/136313)

<div class="topic-metadata">

**Author:** [@Jarrad](https://discuss.elastic.co/u/Jarrad)\
**Replies:** 4\
**Last updated:** [June 20, 2018, 11:31am UTC](https://discuss.elastic.co/t/new-es-instance-unassigned-shards/136313 "2018-06-20T11:31:36Z")

</div>

Hi all I've read several answers on the topic around unassigned shards, from data about thread pools to checking how many replicas are configured but none of those seem to have answers. I've literally just built a bran…

---

## [IP2location In place of GeoIP](https://discuss.elastic.co/t/ip2location-in-place-of-geoip/135210)

<div class="topic-metadata">

**Author:** [@bruno-d](https://discuss.elastic.co/u/bruno-d)\
**Replies:** 3\
**Last updated:** [June 20, 2018, 11:14am UTC](https://discuss.elastic.co/t/ip2location-in-place-of-geoip/135210 "2018-06-20T11:14:49Z")

</div>

Hey, I recently open a thread on the demand to move from GeoIP to IP2location (see GeoIP Lite EOL pipeline filter) and i am now trying. How ever, i failed in my uses cases. I use the GeoIp pipeline filter to fill the …

---

## [Using bundled Xpack (ElasticStack 6.3+) with basic license for monitoring](https://discuss.elastic.co/t/using-bundled-xpack-elasticstack-6-3-with-basic-license-for-monitoring/136653)

<div class="topic-metadata">

**Author:** [@Dheeraj\_Gupta](https://discuss.elastic.co/u/Dheeraj_Gupta)\
**Replies:** 1\
**Last updated:** [June 20, 2018, 10:45am UTC](https://discuss.elastic.co/t/using-bundled-xpack-elasticstack-6-3-with-basic-license-for-monitoring/136653 "2018-06-20T10:45:36Z")

</div>

Hi, I was going through the release notes of 6.3 where you state that X-Pack features are now bundled with ElasticStack individual components (Kibana, Elasticsearch and Logstash etc.). Some of the features are "free" wh…

---

## [ThrowExceptions() and retries in Nest 6](https://discuss.elastic.co/t/throwexceptions-and-retries-in-nest-6/136265)

<div class="topic-metadata">

**Author:** [@die\_seltsame](https://discuss.elastic.co/u/die_seltsame)\
**Replies:** 2\
**Last updated:** [June 20, 2018, 10:41am UTC](https://discuss.elastic.co/t/throwexceptions-and-retries-in-nest-6/136265 "2018-06-20T10:41:16Z")

</div>

We are using elasticsearch 6.2.0 and Nest 6.0.0. We want to use SniffingConnectionPool with request retries. We have ThrowExceptions() enabled because we don't want to think abount handling exceptions. We created test,…

---

## [Calculating duration between two documents in Elasticsearch](https://discuss.elastic.co/t/calculating-duration-between-two-documents-in-elasticsearch/92858)

<div class="topic-metadata">

**Author:** [@tarp](https://discuss.elastic.co/u/tarp)\
**Replies:** 2\
**Last updated:** [June 20, 2018, 10:22am UTC](https://discuss.elastic.co/t/calculating-duration-between-two-documents-in-elasticsearch/92858 "2018-06-20T10:22:13Z")

</div>

Hi, I'm collecting logs from an application recording the start time. Then another record is signifying the end time. Both records have to match on DeviceId and a CorrelationId. I'm using an ingest pipeline to proc…

---

## [Compare two fields using Nest](https://discuss.elastic.co/t/compare-two-fields-using-nest/136510)

<div class="topic-metadata">

**Author:** [@Lalit\_Khanna](https://discuss.elastic.co/u/Lalit_Khanna)\
**Replies:** 4\
**Last updated:** [June 20, 2018, 9:51am UTC](https://discuss.elastic.co/t/compare-two-fields-using-nest/136510 "2018-06-20T09:51:29Z")

</div>

I'm struggling to compare two fields using Nest client for c#, can somebody help me to achieve this? For Example : I've two fields like FirstName & Name in my index, I want to compare these fields. Thanks

---

## [Is there any way i can mask a doc of particular index without actually deleting it](https://discuss.elastic.co/t/is-there-any-way-i-can-mask-a-doc-of-particular-index-without-actually-deleting-it/136650)

<div class="topic-metadata">

**Author:** [@kish](https://discuss.elastic.co/u/kish)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 9:17am UTC](https://discuss.elastic.co/t/is-there-any-way-i-can-mask-a-doc-of-particular-index-without-actually-deleting-it/136650 "2018-06-20T09:17:56Z")

</div>

Hi, I have requirement like, for one particular scenario i may need to mask a doc sax X-doc from a particular index say 'register'. So that whenever i do search on the 'register' index i should not be able to see that …

---

## [Fuziness in More like this query](https://discuss.elastic.co/t/fuziness-in-more-like-this-query/136636)

<div class="topic-metadata">

**Author:** [@Abhishek\_Wahi](https://discuss.elastic.co/u/Abhishek_Wahi)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 8:24am UTC](https://discuss.elastic.co/t/fuziness-in-more-like-this-query/136636 "2018-06-20T08:24:27Z")

</div>

Hi , I want to use fuzziness in more like this query. Please help with the syntax. Consider this blog : https://www.elastic.co/blog/found-fuzzy-search

---

## [Elasticsearch sql query object in array Elasticsearch 6.3.0](https://discuss.elastic.co/t/elasticsearch-sql-query-object-in-array-elasticsearch-6-3-0/136631)

<div class="topic-metadata">

**Author:** [@yuhao\_zhang](https://discuss.elastic.co/u/yuhao_zhang)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 8:04am UTC](https://discuss.elastic.co/t/elasticsearch-sql-query-object-in-array-elasticsearch-6-3-0/136631 "2018-06-20T08:04:22Z")

</div>

Hi, I am trying out the new elasticsearch feature elasticsearch sql with elasticsearch 6.3.0 I have a question that it seems not able to query an object in an array with this sql feature. for example I have indexed a d…

---

## [Custom elasticsearch DSL query plugin](https://discuss.elastic.co/t/custom-elasticsearch-dsl-query-plugin/136626)

<div class="topic-metadata">

**Author:** [@frnklnfrancis](https://discuss.elastic.co/u/frnklnfrancis)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 7:27am UTC](https://discuss.elastic.co/t/custom-elasticsearch-dsl-query-plugin/136626 "2018-06-20T07:27:53Z")

</div>

Hi all, I have recently created a demo plugin using the plugin generator available here I have a query created to fetch data from my Index. Can someone please tell me which files do I have to edit in my plugin directo…

---

## [Breakdown of Elasticsearch Heap space into its components](https://discuss.elastic.co/t/breakdown-of-elasticsearch-heap-space-into-its-components/132640)

<div class="topic-metadata">

**Author:** [@mjunaidmuzammil](https://discuss.elastic.co/u/mjunaidmuzammil)\
**Replies:** 4\
**Last updated:** [June 20, 2018, 7:17am UTC](https://discuss.elastic.co/t/breakdown-of-elasticsearch-heap-space-into-its-components/132640 "2018-06-20T07:17:53Z")

</div>

Recently, I have been experimenting a lot over elastic search. During my research, I came to know ES heap usage as a key monitoring metric for ES operations. Some of the key divisions of heap include division into fiel…

---

## [ES 6.3 - bound or publishing to a non-loopback address, enforcing bootstrap checks](https://discuss.elastic.co/t/es-6-3-bound-or-publishing-to-a-non-loopback-address-enforcing-bootstrap-checks/136614)

<div class="topic-metadata">

**Author:** [@Phillip\_Tribble](https://discuss.elastic.co/u/Phillip_Tribble)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 6:29am UTC](https://discuss.elastic.co/t/es-6-3-bound-or-publishing-to-a-non-loopback-address-enforcing-bootstrap-checks/136614 "2018-06-20T06:29:22Z")

</div>

Hello, I am struggling for hours trying to get a new ES 6.3 cluster setup in Docker. The error is as below: \] \[rpi-1\] bound or publishing to a non-loopback address, enforcing bootstrap checks ERROR: \[1\] bootstrap checks…

---

## [No matching indices found: No indices match pattern "filebeat-\*"](https://discuss.elastic.co/t/no-matching-indices-found-no-indices-match-pattern-filebeat/136556)

<div class="topic-metadata">

**Author:** [@nairihar](https://discuss.elastic.co/u/nairihar)\
**Replies:** 1\
**Last updated:** [June 20, 2018, 6:13am UTC](https://discuss.elastic.co/t/no-matching-indices-found-no-indices-match-pattern-filebeat/136556 "2018-06-20T06:13:02Z")

</div>

Hi, I have installed ELK stack in my laptop, but can't access to nginx statistics in kibana, here is the error No matching indices found: No indices match pattern "filebeat-\*" curl http://localhost:9200/\_cat/indices?…

---

## [Elasticsearch returns only 10 records but the hit is 507](https://discuss.elastic.co/t/elasticsearch-returns-only-10-records-but-the-hit-is-507/136605)

<div class="topic-metadata">

**Author:** [@Vishnu\_P\_S](https://discuss.elastic.co/u/Vishnu_P_S)\
**Replies:** 2\
**Last updated:** [June 20, 2018, 6:04am UTC](https://discuss.elastic.co/t/elasticsearch-returns-only-10-records-but-the-hit-is-507/136605 "2018-06-20T06:04:40Z")

</div>

I am using invenio\_search to search data from elasticsearch. I am able to query the elasticsearch and the results shows hits greater than 500. But receiving only 10 records. Is there any way to change the configuration s…

---

## [How to do index-time synonyms](https://discuss.elastic.co/t/how-to-do-index-time-synonyms/136405)

<div class="topic-metadata">

**Author:** [@chung](https://discuss.elastic.co/u/chung)\
**Replies:** 5\
**Last updated:** [June 20, 2018, 5:51am UTC](https://discuss.elastic.co/t/how-to-do-index-time-synonyms/136405 "2018-06-20T05:51:12Z")

</div>

I am trying to make a synonym for a category so that voucher and gift card mean the same thing in index time. So when users type in voucher or gift card, elasticsearch returns the same results. For some reasons, the set…

---

## [About the pricing of lisence](https://discuss.elastic.co/t/about-the-pricing-of-lisence/136443)

<div class="topic-metadata">

**Author:** [@Aslam](https://discuss.elastic.co/u/Aslam)\
**Replies:** 2\
**Last updated:** [June 20, 2018, 5:46am UTC](https://discuss.elastic.co/t/about-the-pricing-of-lisence/136443 "2018-06-20T05:46:59Z")

</div>

Hi, I would like to know the pricing of x-pack. Please help on this Aslam

---

## [How to setup curator for multiple clusters?](https://discuss.elastic.co/t/how-to-setup-curator-for-multiple-clusters/135914)

<div class="topic-metadata">

**Author:** [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Replies:** 4\
**Last updated:** [June 20, 2018, 5:06am UTC](https://discuss.elastic.co/t/how-to-setup-curator-for-multiple-clusters/135914 "2018-06-20T05:06:49Z")

</div>

Hi Experts, I was wondering if I can set up curator for multiple clusters . Below is my curator configuration which works absolutely fine for one cluster . Now I want to apply same setup for my second cluster which uses…

---

## [Make bulk request without a JSON file](https://discuss.elastic.co/t/make-bulk-request-without-a-json-file/136591)

<div class="topic-metadata">

**Author:** [@anna10](https://discuss.elastic.co/u/anna10)\
**Replies:** 2\
**Last updated:** [June 20, 2018, 3:29am UTC](https://discuss.elastic.co/t/make-bulk-request-without-a-json-file/136591 "2018-06-20T03:29:05Z")

</div>

Is there any way to make a POST to the bulk API without formatting the data in a json file? I am receiving my data as a stream and it is not being saved in a json file anywhere for me to import.

---

## [Multi match query with quote field suffix](https://discuss.elastic.co/t/multi-match-query-with-quote-field-suffix/136588)

<div class="topic-metadata">

**Author:** [@akanshmurthy](https://discuss.elastic.co/u/akanshmurthy)\
**Replies:** 0\
**Last updated:** [June 20, 2018, 12:36am UTC](https://discuss.elastic.co/t/multi-match-query-with-quote-field-suffix/136588 "2018-06-20T00:36:00Z")

</div>

Hi there, I'm trying to do something pretty simple. If the search term is within quotes, then I want to do a phrase match. If the search term is not in quotes, then I just want to do a standard multi\_match. This scenari…

---

## [Mean Time Between Documents](https://discuss.elastic.co/t/mean-time-between-documents/136564)

<div class="topic-metadata">

**Author:** [@jduquette](https://discuss.elastic.co/u/jduquette)\
**Replies:** 3\
**Last updated:** [June 19, 2018, 11:26pm UTC](https://discuss.elastic.co/t/mean-time-between-documents/136564 "2018-06-19T23:26:48Z")

</div>

I am trying to determine the meantime between records, per month, for a set of documents. All documents have a timestamp, and I want to capture the average time between the timestamps on a monthly basis. Have tried sev…

---

## [Daily redefinition of index fields](https://discuss.elastic.co/t/daily-redefinition-of-index-fields/136009)

<div class="topic-metadata">

**Author:** [@alain.bonilla](https://discuss.elastic.co/u/alain.bonilla)\
**Replies:** 3\
**Last updated:** [June 19, 2018, 11:04pm UTC](https://discuss.elastic.co/t/daily-redefinition-of-index-fields/136009 "2018-06-19T23:04:59Z")

</div>

Hi every body, I have been working in a custom index, the first time that I define this index the mapping takes the data types that I need, however , when a new day starts it redefine the fields of the index and puts str…

---

## [Adding copy\_to support for copying data from object to nested type](https://discuss.elastic.co/t/adding-copy-to-support-for-copying-data-from-object-to-nested-type/136576)

<div class="topic-metadata">

**Author:** [@kailoofi](https://discuss.elastic.co/u/kailoofi)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 10:20pm UTC](https://discuss.elastic.co/t/adding-copy-to-support-for-copying-data-from-object-to-nested-type/136576 "2018-06-19T22:20:54Z")

</div>

tl;dr Looking at the ES code 5.x, it seems possible to support copy\_to from object to nested type. My team is interested in contributing this feature back into ES but before that we want to understand the reason for not…

---

## [How get multiple elasticsearch running on one host?](https://discuss.elastic.co/t/how-get-multiple-elasticsearch-running-on-one-host/136570)

<div class="topic-metadata">

**Author:** [@Julian\_Daly](https://discuss.elastic.co/u/Julian_Daly)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 8:31pm UTC](https://discuss.elastic.co/t/how-get-multiple-elasticsearch-running-on-one-host/136570 "2018-06-19T20:31:27Z")

</div>

Hallo I would really appreciate some help here! I would like to get two elasticsearch instances running on one host ( it has enough ram 96GB ) I have to use elasticsearch 5.6.9 because of php version of local code. I…

---

## [CSV to index](https://discuss.elastic.co/t/csv-to-index/136560)

<div class="topic-metadata">

**Author:** [@ahazan98](https://discuss.elastic.co/u/ahazan98)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 7:17pm UTC](https://discuss.elastic.co/t/csv-to-index/136560 "2018-06-19T19:17:42Z")

</div>

Hello, I am currently working with some CSV data that I want to index into elasticsearch. I tried using logstash method but I came to the same problem that is in the process of being resolved in ticket #9345. In the mea…

---

## [JAVA API: Joining Scrolled Search Results](https://discuss.elastic.co/t/java-api-joining-scrolled-search-results/136375)

<div class="topic-metadata">

**Author:** [@avataroftime](https://discuss.elastic.co/u/avataroftime)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 7:10pm UTC](https://discuss.elastic.co/t/java-api-joining-scrolled-search-results/136375 "2018-06-19T19:10:06Z")

</div>

Hi, I am having some issues trying to work out how to join multiple scrolled search results before returning them from a search function. My search function is as follows: public JsonNode scrollSearch(SearchSourceBuild…

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

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