# Elasticsearch

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

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

**Page:** 1955

---

## [Fuzziness with multi\_match phrase search](https://discuss.elastic.co/t/fuzziness-with-multi-match-phrase-search/99852)

<div class="topic-metadata">

**Author:** [@Sanjana](https://discuss.elastic.co/u/Sanjana)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 7:18am UTC](https://discuss.elastic.co/t/fuzziness-with-multi-match-phrase-search/99852 "2017-09-11T07:18:28Z")

</div>

Hi All, Is there any possibility to combine the fuzzy with the multi\_match phrase Query in ES?. As per my understanding the ES span multi term query doesn't support the multi\_match phrase query . Please let me know i…

---

## [Aggregation query on nested objects](https://discuss.elastic.co/t/aggregation-query-on-nested-objects/99961)

<div class="topic-metadata">

**Author:** [@sripathi\_kammari](https://discuss.elastic.co/u/sripathi_kammari)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 7:09am UTC](https://discuss.elastic.co/t/aggregation-query-on-nested-objects/99961 "2017-09-11T07:09:42Z")

</div>

Hello All, I have the following json object { "responses": \[ { "question": { "name": "Please rate your experience" }, "answers": \[ { "name": "4/10" } \] }, { "question": { "name": "Des…

---

## [Elasticsearch - Edit distance using fuzzy is inaccurate](https://discuss.elastic.co/t/elasticsearch-edit-distance-using-fuzzy-is-inaccurate/99958)

<div class="topic-metadata">

**Author:** [@prasperl](https://discuss.elastic.co/u/prasperl)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 7:08am UTC](https://discuss.elastic.co/t/elasticsearch-edit-distance-using-fuzzy-is-inaccurate/99958 "2017-09-11T07:08:26Z")

</div>

I am using ES 5.5 and my requirement is to allow upto two edits while matching a field. In ES,I have value as 124456788 and query comes in as 123456789 "fuzzy": { "idkey": { "value": \*\*"123456789"\*\*, …

---

## [Why all fields and indices are visible to specific user while performing Document and Field Level security?](https://discuss.elastic.co/t/why-all-fields-and-indices-are-visible-to-specific-user-while-performing-document-and-field-level-security/99083)

<div class="topic-metadata">

**Author:** [@PinkiMondal](https://discuss.elastic.co/u/PinkiMondal)\
**Replies:** 4\
**Last updated:** [September 11, 2017, 6:43am UTC](https://discuss.elastic.co/t/why-all-fields-and-indices-are-visible-to-specific-user-while-performing-document-and-field-level-security/99083 "2017-09-11T06:43:29Z")

</div>

Hi I have applied document level security for a particular user but when I login through that user, Firstly all the Indices names are visible in the Discover Screen. Secondly, all the field names are visible to that use…

---

## [Highlighting in Java API 5.5](https://discuss.elastic.co/t/highlighting-in-java-api-5-5/99999)

<div class="topic-metadata">

**Author:** [@Navin720](https://discuss.elastic.co/u/Navin720)\
**Replies:** 0\
**Last updated:** [September 11, 2017, 5:24am UTC](https://discuss.elastic.co/t/highlighting-in-java-api-5-5/99999 "2017-09-11T05:24:31Z")

</div>

I have added searchrequestbuilder.highlighter(new HighlightBuilder().field(fieldName)) in my code. But there is no highlight field in my source. Kindly Help

---

## [Failed to execute pipeline for a bulk request,butiostat ,iotop,loadavage,cpu is low](https://discuss.elastic.co/t/failed-to-execute-pipeline-for-a-bulk-request-butiostat-iotop-loadavage-cpu-is-low/99978)

<div class="topic-metadata">

**Author:** [@John\_ax](https://discuss.elastic.co/u/John_ax)\
**Replies:** 1\
**Last updated:** [September 10, 2017, 6:09pm UTC](https://discuss.elastic.co/t/failed-to-execute-pipeline-for-a-bulk-request-butiostat-iotop-loadavage-cpu-is-low/99978 "2017-09-10T18:09:56Z")

</div>

hi I am using ES5.5 failed to execute pipeline for a bulk request,butiostat ,iotop,loadavage,cpu is low, what is es doing,? \[2017-09-11T00:50:54,198\]\[ERROR\]\[o.e.a.b.TransportBulkAction\] \[tVsCQ08\] failed to execute pipe…

---

## [Trying to connect to Elasticsearch with java client on port 9222](https://discuss.elastic.co/t/trying-to-connect-to-elasticsearch-with-java-client-on-port-9222/99990)

<div class="topic-metadata">

**Author:** [@AntonQUT](https://discuss.elastic.co/u/AntonQUT)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 4:31am UTC](https://discuss.elastic.co/t/trying-to-connect-to-elasticsearch-with-java-client-on-port-9222/99990 "2017-09-11T04:31:19Z")

</div>

I am running Elasticsearch out of port 9222, not 9200, but I have been unable to connect to it from my Java client program. I changed my connection code to: Settings settings = Settings.builder() .put(…

---

## [Quick query about accepting data logstash or filebeat?](https://discuss.elastic.co/t/quick-query-about-accepting-data-logstash-or-filebeat/99031)

<div class="topic-metadata">

**Author:** [@Blason](https://discuss.elastic.co/u/Blason)\
**Replies:** 5\
**Last updated:** [September 11, 2017, 4:17am UTC](https://discuss.elastic.co/t/quick-query-about-accepting-data-logstash-or-filebeat/99031 "2017-09-11T04:17:10Z")

</div>

Hi Guys, I have quick query and I really would appreaciate if someone can answer it? What is the better way to accept messages from server to elastic stack if installed on same server? I mean lets say I have apache, n…

---

## [Searching for fields greater than certain size](https://discuss.elastic.co/t/searching-for-fields-greater-than-certain-size/99433)

<div class="topic-metadata">

**Author:** [@aliyesami](https://discuss.elastic.co/u/aliyesami)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 1:48am UTC](https://discuss.elastic.co/t/searching-for-fields-greater-than-certain-size/99433 "2017-09-11T01:48:27Z")

</div>

this seems to be a simple task but I didn’t get any response when I asked this question before , can someone please guide me ? I have also installed mapper-size plugin on elasticsearch 5.5 thanks

---

## [Refresh sync or async?](https://discuss.elastic.co/t/refresh-sync-or-async/99971)

<div class="topic-metadata">

**Author:** [@moren](https://discuss.elastic.co/u/moren)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 12:55am UTC](https://discuss.elastic.co/t/refresh-sync-or-async/99971 "2017-09-11T00:55:18Z")

</div>

Hi, i don't understand how it should work. It doesn't matter what value the 'refresh' param have (true, wait\_for), but right after \_delete\_by\_query the search request get all the deleted documents. It's a bug or feature? …

---

## [Plugin Query support through Nest C# client](https://discuss.elastic.co/t/plugin-query-support-through-nest-c-client/99489)

<div class="topic-metadata">

**Author:** [@Sayantan](https://discuss.elastic.co/u/Sayantan)\
**Replies:** 2\
**Last updated:** [September 10, 2017, 9:01pm UTC](https://discuss.elastic.co/t/plugin-query-support-through-nest-c-client/99489 "2017-09-10T21:01:09Z")

</div>

Hi, I am trying to execute the following query from the gas filter neo4j example in https://github.com/graphaware/graph-aided-search. How to use the Nest DSL in forming the query below or do I have to send raw Json usin…

---

## [ML Multi-Metric query fails when similar Single-Metric is OK](https://discuss.elastic.co/t/ml-multi-metric-query-fails-when-similar-single-metric-is-ok/98240)

<div class="topic-metadata">

**Author:** [@Vitaly\_il](https://discuss.elastic.co/u/Vitaly_il)\
**Replies:** 13\
**Last updated:** [September 10, 2017, 6:01pm UTC](https://discuss.elastic.co/t/ml-multi-metric-query-fails-when-similar-single-metric-is-ok/98240 "2017-09-10T18:01:02Z")

</div>

I'm starting to play with ML jobs, but encountered an issue with Multi-Metric job. It fails with Datafeed is encountering errors extracting data: \[ml-multi-low-count-test\] Search request returned shard failures; first…

---

## [Boolean Exact Query](https://discuss.elastic.co/t/boolean-exact-query/99726)

<div class="topic-metadata">

**Author:** [@trabs](https://discuss.elastic.co/u/trabs)\
**Replies:** 4\
**Last updated:** [September 10, 2017, 10:54am UTC](https://discuss.elastic.co/t/boolean-exact-query/99726 "2017-09-10T10:54:06Z")

</div>

Hi, I am currently not understanding why a specific query won’t work. This is what is being sent to elasticsearch: { "query": { "constant\_score": { "filter": { …

---

## [Connect Elastci with SQL Server DB](https://discuss.elastic.co/t/connect-elastci-with-sql-server-db/99960)

<div class="topic-metadata">

**Author:** [@sgaurav](https://discuss.elastic.co/u/sgaurav)\
**Replies:** 1\
**Last updated:** [September 10, 2017, 5:00am UTC](https://discuss.elastic.co/t/connect-elastci-with-sql-server-db/99960 "2017-09-10T05:00:02Z")

</div>

Hi, I am looking forward to crawl my SQL server database in elastic search v5.x onward. I am new to the elastic search and looking forward to replace google search analytic by elastic-search. Please help!! Thanks!!

---

## [POST to Elastic Search as and int](https://discuss.elastic.co/t/post-to-elastic-search-as-and-int/99957)

<div class="topic-metadata">

**Author:** [@connor\_o2](https://discuss.elastic.co/u/connor_o2)\
**Replies:** 5\
**Last updated:** [September 10, 2017, 2:06am UTC](https://discuss.elastic.co/t/post-to-elastic-search-as-and-int/99957 "2017-09-10T02:06:20Z")

</div>

Hi Guys, Im just wondering if anyone has been able to POST an integer to ES, using JSON. I have tried a few different ways of doing with no success, The data is ingested but always as a string. does anyone has any hint…

---

## [No Logs in Log Folder](https://discuss.elastic.co/t/no-logs-in-log-folder/99442)

<div class="topic-metadata">

**Author:** [@uber1923](https://discuss.elastic.co/u/uber1923)\
**Replies:** 3\
**Last updated:** [September 10, 2017, 1:22am UTC](https://discuss.elastic.co/t/no-logs-in-log-folder/99442 "2017-09-10T01:22:57Z")

</div>

Hi All, I am using the docker image for elasticsearch 5.5.2 and so far I have been able to set it up fine. Now I want to take a copy of the logs and do something with them. I mount a folder to the docker run command so …

---

## [Check if elasticsearch nodes are alive on startup using nest](https://discuss.elastic.co/t/check-if-elasticsearch-nodes-are-alive-on-startup-using-nest/99905)

<div class="topic-metadata">

**Author:** [@ESCoder](https://discuss.elastic.co/u/ESCoder)\
**Replies:** 1\
**Last updated:** [September 9, 2017, 11:38pm UTC](https://discuss.elastic.co/t/check-if-elasticsearch-nodes-are-alive-on-startup-using-nest/99905 "2017-09-09T23:38:41Z")

</div>

Hi, I'm using Nest 5.x as a part of an application to communicate with ES. When my application starts up, the following code is executed List\<Node\> nodes = new List\<Node\>(); nodes.AddRange(config.Nodes.Select(nodeUri …

---

## [Dead Link For Offline Install X-Pack 6.0.0](https://discuss.elastic.co/t/dead-link-for-offline-install-x-pack-6-0-0/99630)

<div class="topic-metadata">

**Author:** [@John\_Sobanski](https://discuss.elastic.co/u/John_Sobanski)\
**Replies:** 6\
**Last updated:** [September 9, 2017, 10:36pm UTC](https://discuss.elastic.co/t/dead-link-for-offline-install-x-pack-6-0-0/99630 "2017-09-09T22:36:11Z")

</div>

Expected behavior: Download offline zip for X-Pack 6.0.0 Actual behavior: Dead Link The X-Pack 6.0.0 documentation reads as follows: If you want to install X-Pack on a machine that doesn’t have internet access: Manua…

---

## [Elk+xpack+docker](https://discuss.elastic.co/t/elk-xpack-docker/99939)

<div class="topic-metadata">

**Author:** [@nsivabalan](https://discuss.elastic.co/u/nsivabalan)\
**Replies:** 4\
**Last updated:** [September 9, 2017, 10:15pm UTC](https://discuss.elastic.co/t/elk-xpack-docker/99939 "2017-09-09T22:15:10Z")

</div>

Hi Team, I'm running ELK stack on single docker container. Is that possible to run x-pack on different docker container and connect each other? Thanks in advance, Siva

---

## [Sign up Solr vs. ElasticSearch](https://discuss.elastic.co/t/sign-up-solr-vs-elasticsearch/99918)

<div class="topic-metadata">

**Author:** [@johnybashqa](https://discuss.elastic.co/u/johnybashqa)\
**Replies:** 1\
**Last updated:** [September 9, 2017, 9:28pm UTC](https://discuss.elastic.co/t/sign-up-solr-vs-elasticsearch/99918 "2017-09-09T21:28:08Z")

</div>

Hi, What are the core architectural differences between these technologies? Also, what use cases are generally more appropriate for each? Thanks in advance for your answer,

---

## [Scroll timeout not taking in decimal for ES 5.4.1](https://discuss.elastic.co/t/scroll-timeout-not-taking-in-decimal-for-es-5-4-1/99854)

<div class="topic-metadata">

**Author:** [@dimalini](https://discuss.elastic.co/u/dimalini)\
**Replies:** 2\
**Last updated:** [September 9, 2017, 7:43pm UTC](https://discuss.elastic.co/t/scroll-timeout-not-taking-in-decimal-for-es-5-4-1/99854 "2017-09-09T19:43:54Z")

</div>

Hi, We use the scroll api along with timeout option. Sample query like GET my\_index/my\_type/\_search?scroll=1.1m { "query": { "match" : { "content" : "a" } } } scroll=1.1m worked perfectly in ES2.4.1 but is thro…

---

## [Insert Nested object for indexing in elasticsearch using Java API](https://discuss.elastic.co/t/insert-nested-object-for-indexing-in-elasticsearch-using-java-api/99648)

<div class="topic-metadata">

**Author:** [@Pritom\_Ahmed](https://discuss.elastic.co/u/Pritom_Ahmed)\
**Replies:** 1\
**Last updated:** [September 9, 2017, 2:27pm UTC](https://discuss.elastic.co/t/insert-nested-object-for-indexing-in-elasticsearch-using-java-api/99648 "2017-09-09T14:27:57Z")

</div>

Hi, I have the following two classes. public class Authors implements Serializable { private String name; private String surname; private int numberOfArticles; } public class Blog implements Serializable {…

---

## [Help in Alert using watcher](https://discuss.elastic.co/t/help-in-alert-using-watcher/99799)

<div class="topic-metadata">

**Author:** [@gchakkalakkal](https://discuss.elastic.co/u/gchakkalakkal)\
**Replies:** 3\
**Last updated:** [September 9, 2017, 1:18pm UTC](https://discuss.elastic.co/t/help-in-alert-using-watcher/99799 "2017-09-09T13:18:32Z")

</div>

Hi, We are using Watcher component for alerting. We have a use case where we need to check for fault rate for all services every 5 minutes and if the fault rate for any service is greater than threshold we need to fire …

---

## [ML - Not picking up anomalies?](https://discuss.elastic.co/t/ml-not-picking-up-anomalies/97699)

<div class="topic-metadata">

**Author:** [@dragick](https://discuss.elastic.co/u/dragick)\
**Replies:** 8\
**Last updated:** [September 9, 2017, 11:04am UTC](https://discuss.elastic.co/t/ml-not-picking-up-anomalies/97699 "2017-09-09T11:04:05Z")

</div>

I am investigating X-Pack's Machine Learning as a way to tell me when customer orders are declining / stopped. I've got from one client I know we lost and am seeing if X-Pack could have alerted us on their changed behavi…

---

## [Free course around elasticsearch](https://discuss.elastic.co/t/free-course-around-elasticsearch/99919)

<div class="topic-metadata">

**Author:** [@armsepehr](https://discuss.elastic.co/u/armsepehr)\
**Replies:** 0\
**Last updated:** [September 9, 2017, 8:02am UTC](https://discuss.elastic.co/t/free-course-around-elasticsearch/99919 "2017-09-09T08:02:42Z")

</div>

Hello all, I am looking for free online video-based course, but I couldn't find any suitable one. Do you know any free course related to either elastic, kibana or logstash? Note that www.elastic.co/training has many in…

---

## [Aggregate some data is not shown](https://discuss.elastic.co/t/aggregate-some-data-is-not-shown/98872)

<div class="topic-metadata">

**Author:** [@linweijun](https://discuss.elastic.co/u/linweijun)\
**Replies:** 2\
**Last updated:** [September 9, 2017, 6:49am UTC](https://discuss.elastic.co/t/aggregate-some-data-is-not-shown/98872 "2017-09-09T06:49:07Z")

</div>

I have some data： “geo”: {“city”: “”, “area”: “”, “country”: “Taiwan”, “longitude”: 121.0, “latitude”: 23.5, “iso\_code”: “TW”}， “geo”: {“city”: “”, “area”: “”, “country”: “Taiwan”, “longitude”: 121.0, “latitude”: 23.5,…

---

## [Min doc sub aggregation (find duplicates)](https://discuss.elastic.co/t/min-doc-sub-aggregation-find-duplicates/99909)

<div class="topic-metadata">

**Author:** [@champtar](https://discuss.elastic.co/u/champtar)\
**Replies:** 0\
**Last updated:** [September 9, 2017, 12:04am UTC](https://discuss.elastic.co/t/min-doc-sub-aggregation-find-duplicates/99909 "2017-09-09T00:04:55Z")

</div>

Hi, I'm doing this query GET \_search { "size": 0, "query": { "range": { "@timestamp": { "gte": "now-365d/d", "to": "now-10m/m" } } }, "aggs": { "timestamp": { "term…

---

## [Elastic Search 5.2.2 and X-Pack 5.2.2, xpack.monitoring](https://discuss.elastic.co/t/elastic-search-5-2-2-and-x-pack-5-2-2-xpack-monitoring/99903)

<div class="topic-metadata">

**Author:** [@eramitsinha](https://discuss.elastic.co/u/eramitsinha)\
**Replies:** 4\
**Last updated:** [September 8, 2017, 11:07pm UTC](https://discuss.elastic.co/t/elastic-search-5-2-2-and-x-pack-5-2-2-xpack-monitoring/99903 "2017-09-08T23:07:40Z")

</div>

Hi, I am using Elastic Search 5.2.2, Kibana 5.2.2 and X-Pack 5.2.2 (I referred: https://www.elastic.co/guide/en/x-pack/5.2/monitoring-settings.html) I have main Elastic-Search-Cluster and different Monitori…

---

## [Regex/Wildcard Query not working](https://discuss.elastic.co/t/regex-wildcard-query-not-working/99775)

<div class="topic-metadata">

**Author:** [@Pritom\_Ahmed](https://discuss.elastic.co/u/Pritom_Ahmed)\
**Replies:** 1\
**Last updated:** [September 8, 2017, 7:07pm UTC](https://discuss.elastic.co/t/regex-wildcard-query-not-working/99775 "2017-09-08T19:07:46Z")

</div>

Hi, I am using the java API to query for a field with elasticsearch 5.5 SearchResponse response = client.prepareSearch("index") .setTypes("log") .setSearchType(SearchType.DFS\_QUERY\_THEN\_…

---

## [NEST/ElasticSearch.Net Phrase Suggester Collate issue](https://discuss.elastic.co/t/nest-elasticsearch-net-phrase-suggester-collate-issue/99748)

<div class="topic-metadata">

**Author:** [@tsquires](https://discuss.elastic.co/u/tsquires)\
**Replies:** 2\
**Last updated:** [September 8, 2017, 7:10pm UTC](https://discuss.elastic.co/t/nest-elasticsearch-net-phrase-suggester-collate-issue/99748 "2017-09-08T19:10:12Z")

</div>

I’m using NEST/ElasticSearch 5.3 and when running a collate query with parameters on a phrase suggester the json produced and sent to the server looks like this with the params object inside of the query object: …

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

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