# Elasticsearch

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

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

**Page:** 1924

---

## [How Elastic queries work and where it stores the data ? is it a server?](https://discuss.elastic.co/t/how-elastic-queries-work-and-where-it-stores-the-data-is-it-a-server/103704)

<div class="topic-metadata">

**Author:** [@vikas1994](https://discuss.elastic.co/u/vikas1994)\
**Replies:** 1\
**Last updated:** [October 12, 2017, 12:12pm UTC](https://discuss.elastic.co/t/how-elastic-queries-work-and-where-it-stores-the-data-is-it-a-server/103704 "2017-10-12T12:12:20Z")

</div>

I am very new in elasticsearch , Elastic searh is a database? how the queries work in sense beta we write ? how it process is there any java api written to process these queries ?

---

## [Elasticsearch stuck on startup](https://discuss.elastic.co/t/elasticsearch-stuck-on-startup/103343)

<div class="topic-metadata">

**Author:** [@Maxclac](https://discuss.elastic.co/u/Maxclac)\
**Replies:** 2\
**Last updated:** [October 12, 2017, 12:07pm UTC](https://discuss.elastic.co/t/elasticsearch-stuck-on-startup/103343 "2017-10-12T12:07:14Z")

</div>

Hello everyone, It seems that something is blocking ES on my machine \[2017-10-10T12:10:10,444\]\[INFO \]\[o.e.n.Node \] \[nomad-node\] initializing ... \[2017-10-10T12:10:10,572\]\[INFO \]\[o.e.e.NodeEnvironment \]…

---

## [Http compression enabled but response not compressed](https://discuss.elastic.co/t/http-compression-enabled-but-response-not-compressed/103513)

<div class="topic-metadata">

**Author:** [@Slade](https://discuss.elastic.co/u/Slade)\
**Replies:** 8\
**Last updated:** [October 12, 2017, 12:03pm UTC](https://discuss.elastic.co/t/http-compression-enabled-but-response-not-compressed/103513 "2017-10-12T12:03:34Z")

</div>

I set http.compression: true and http.compression\_level: 3 in the elasticsearch.yml file of each node in the cluster. Viewing the \_nodes/settings?pretty shows that it is indeed enabled. The problem is that the response…

---

## [Ingest attachment - missing attachment field in results](https://discuss.elastic.co/t/ingest-attachment-missing-attachment-field-in-results/103656)

<div class="topic-metadata">

**Author:** [@Shawn\_Mullen\_2](https://discuss.elastic.co/u/Shawn_Mullen_2)\
**Replies:** 3\
**Last updated:** [October 12, 2017, 12:03pm UTC](https://discuss.elastic.co/t/ingest-attachment-missing-attachment-field-in-results/103656 "2017-10-12T12:03:25Z")

</div>

I have read everything I could find but I have not been able to get the ingest attachment plugin to work. I am using the mapping below: { "settings": { "analysis": { "analyzer": { "lower\_keyword\_ana…

---

## [How can fast show the cluster closed indices?](https://discuss.elastic.co/t/how-can-fast-show-the-cluster-closed-indices/103681)

<div class="topic-metadata">

**Author:** [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Replies:** 2\
**Last updated:** [October 12, 2017, 11:38am UTC](https://discuss.elastic.co/t/how-can-fast-show-the-cluster-closed-indices/103681 "2017-10-12T11:38:09Z")

</div>

how can fast show the cluster closed indices ? and open them onces.

---

## [Elasticsearch single word similarity](https://discuss.elastic.co/t/elasticsearch-single-word-similarity/103710)

<div class="topic-metadata">

**Author:** [@asd](https://discuss.elastic.co/u/asd)\
**Replies:** 0\
**Last updated:** [October 12, 2017, 11:25am UTC](https://discuss.elastic.co/t/elasticsearch-single-word-similarity/103710 "2017-10-12T11:25:33Z")

</div>

What are the options for single word similarity check? Consider the following case: we have documents where field email is present. When new document is added we want to check if there are any documents where email is s…

---

## [Combining must and must not for geo point mapping in ES 5.4](https://discuss.elastic.co/t/combining-must-and-must-not-for-geo-point-mapping-in-es-5-4/103660)

<div class="topic-metadata">

**Author:** [@skills-anand](https://discuss.elastic.co/u/skills-anand)\
**Replies:** 0\
**Last updated:** [October 12, 2017, 7:25am UTC](https://discuss.elastic.co/t/combining-must-and-must-not-for-geo-point-mapping-in-es-5-4/103660 "2017-10-12T07:25:41Z")

</div>

I would like to write an ES query to get the unique users which are presented in geo shape but not in sub geo shape I have 2 unique users which are present under a geo shape of a city . I have a sub geo shape (some part…

---

## [AJAX call - get request shows results of /\_search instead of the query](https://discuss.elastic.co/t/ajax-call-get-request-shows-results-of-search-instead-of-the-query/103685)

<div class="topic-metadata">

**Author:** [@Elvira](https://discuss.elastic.co/u/Elvira)\
**Replies:** 0\
**Last updated:** [October 12, 2017, 9:13am UTC](https://discuss.elastic.co/t/ajax-call-get-request-shows-results-of-search-instead-of-the-query/103685 "2017-10-12T09:13:44Z")

</div>

Hello, I'm new to Kibana/Elasticsearch and I'm trying to get the data in Elasticsearch in Oracle apex. To get the data I'm using a AJAX GET request (JSONP, due to the http:// call from https://) to an endpoint, opening…

---

## [Clarify on transport client over coordinating nodes with sniffing enabled](https://discuss.elastic.co/t/clarify-on-transport-client-over-coordinating-nodes-with-sniffing-enabled/103440)

<div class="topic-metadata">

**Author:** [@Hexin\_Wang](https://discuss.elastic.co/u/Hexin_Wang)\
**Replies:** 4\
**Last updated:** [October 12, 2017, 8:44am UTC](https://discuss.elastic.co/t/clarify-on-transport-client-over-coordinating-nodes-with-sniffing-enabled/103440 "2017-10-12T08:44:50Z")

</div>

If I initialize a transport client with only coordinating nodes specified, should I disable sniffing by default so the index/search request is guaranteed to go to coordinating nodes only? Is there any performance hit for…

---

## [Installation steps for elastic search 5.6.2 in windows and how to connect that in my .net application?](https://discuss.elastic.co/t/installation-steps-for-elastic-search-5-6-2-in-windows-and-how-to-connect-that-in-my-net-application/103474)

<div class="topic-metadata">

**Author:** [@Ashish\_Christian](https://discuss.elastic.co/u/Ashish_Christian)\
**Replies:** 5\
**Last updated:** [October 12, 2017, 5:50am UTC](https://discuss.elastic.co/t/installation-steps-for-elastic-search-5-6-2-in-windows-and-how-to-connect-that-in-my-net-application/103474 "2017-10-12T05:50:11Z")

</div>

Hello There, Can you please guide me, how to install elastic search 5.6.2 in windows? And also please guide me how can i use that in my .net application. Thanks

---

## [Error when create an index in two hosts](https://discuss.elastic.co/t/error-when-create-an-index-in-two-hosts/103528)

<div class="topic-metadata">

**Author:** [@Chanpiseth\_Ros](https://discuss.elastic.co/u/Chanpiseth_Ros)\
**Replies:** 5\
**Last updated:** [October 12, 2017, 5:24am UTC](https://discuss.elastic.co/t/error-when-create-an-index-in-two-hosts/103528 "2017-10-12T05:24:44Z")

</div>

Hi Teams, i have an error when i try to create an index in two hosts with php code, and this is an error message: Exception : {"error":"IndexAlreadyExistsException\[\[sample\] already exists\]","status":400} And this is …

---

## [How to connect remote Tribe node to AWS Elasticsearch Service](https://discuss.elastic.co/t/how-to-connect-remote-tribe-node-to-aws-elasticsearch-service/103625)

<div class="topic-metadata">

**Author:** [@rajkamalkool6](https://discuss.elastic.co/u/rajkamalkool6)\
**Replies:** 1\
**Last updated:** [October 12, 2017, 4:44am UTC](https://discuss.elastic.co/t/how-to-connect-remote-tribe-node-to-aws-elasticsearch-service/103625 "2017-10-12T04:44:43Z")

</div>

Hi, I am having a tribe node which is configured in one of my RHEL 7.0 box from that Iam trying to connect the AWS Elasticsearch service. I am not getting any error but I cloudn't see the index and nodes got added to my…

---

## [Elastic search access URL](https://discuss.elastic.co/t/elastic-search-access-url/103499)

<div class="topic-metadata">

**Author:** [@Sumit\_Gupta1](https://discuss.elastic.co/u/Sumit_Gupta1)\
**Replies:** 3\
**Last updated:** [October 12, 2017, 4:40am UTC](https://discuss.elastic.co/t/elastic-search-access-url/103499 "2017-10-12T04:40:55Z")

</div>

I Installed Elastic search in Linux machine (houtestdb1), and It's running fine as following URL: curl -X GET 'http://localhost:9200/logstash-test-01/\_search?pretty=1' -d '{}' logstash-test-01 --\> It's index. Now, …

---

## [Bad bulk performance with self-generated id](https://discuss.elastic.co/t/bad-bulk-performance-with-self-generated-id/103344)

<div class="topic-metadata">

**Author:** [@ginger](https://discuss.elastic.co/u/ginger)\
**Replies:** 16\
**Last updated:** [October 12, 2017, 4:35am UTC](https://discuss.elastic.co/t/bad-bulk-performance-with-self-generated-id/103344 "2017-10-12T04:35:32Z")

</div>

Hi, all. We recently use ES to store monitor data and depend on self-generated id to remove duplicate data. Our ES configure is as follows: 3 node(24core, 128GB, 3T SSD) -Xms30g -Xmx30g indices.memory.index\_buffer\_s…

---

## [java.lang.NoClassDefFoundError: org/elasticsearch/common/transport/TransportAddress](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-common-transport-transportaddress/103516)

<div class="topic-metadata">

**Author:** [@Canappeco](https://discuss.elastic.co/u/Canappeco)\
**Replies:** 6\
**Last updated:** [October 12, 2017, 3:13am UTC](https://discuss.elastic.co/t/java-lang-noclassdeffounderror-org-elasticsearch-common-transport-transportaddress/103516 "2017-10-12T03:13:03Z")

</div>

I am using mvn package to build a jar and want to run the main function in the jar. mvn package is successful, but when I run java -classpath ./target/socket-server-1.0-SNAPSHOT.jar cn.zmhappy.es.Demo, something bad happ…

---

## [Date Histogram: Can I force the last bucket to be a full interval?](https://discuss.elastic.co/t/date-histogram-can-i-force-the-last-bucket-to-be-a-full-interval/102852)

<div class="topic-metadata">

**Author:** [@mdoh2](https://discuss.elastic.co/u/mdoh2)\
**Replies:** 3\
**Last updated:** [October 12, 2017, 2:34am UTC](https://discuss.elastic.co/t/date-histogram-can-i-force-the-last-bucket-to-be-a-full-interval/102852 "2017-10-12T02:34:10Z")

</div>

Hi! Is it possible to have the intervals count backwards from the end of the range? I would like it so that the last bucket returned from a date\_histogram aggregation was a complete interval, ending on the last day of m…

---

## [Indexing annotation as they are in {@this.Example} and searching by them](https://discuss.elastic.co/t/indexing-annotation-as-they-are-in-this-example-and-searching-by-them/103628)

<div class="topic-metadata">

**Author:** [@perrohunter](https://discuss.elastic.co/u/perrohunter)\
**Replies:** 0\
**Last updated:** [October 11, 2017, 10:46pm UTC](https://discuss.elastic.co/t/indexing-annotation-as-they-are-in-this-example-and-searching-by-them/103628 "2017-10-11T22:46:13Z")

</div>

Hello, I'm trying to figure out a way to index a special type of annotations that I developed so I then I can look by them later at query time, for example I may have a couple of documents with text "this is a cool {@th…

---

## ["Allocate missing replica shards" X-Pack 5.6.1](https://discuss.elastic.co/t/allocate-missing-replica-shards-x-pack-5-6-1/101904)

<div class="topic-metadata">

**Author:** [@Michael\_S\_Ryder](https://discuss.elastic.co/u/Michael_S_Ryder)\
**Replies:** 11\
**Last updated:** [October 11, 2017, 5:23pm UTC](https://discuss.elastic.co/t/allocate-missing-replica-shards-x-pack-5-6-1/101904 "2017-10-11T17:23:12Z")

</div>

After installing and learning how to install all the ELK stack components, getting the pipeline working, watching data flow into ES, I then installed the X-pack plug-in. This broke everything, but I eventually got all t…

---

## [Dynamic Mapping for Nested json documents in elasticsearch](https://discuss.elastic.co/t/dynamic-mapping-for-nested-json-documents-in-elasticsearch/103496)

<div class="topic-metadata">

**Author:** [@nmalinip](https://discuss.elastic.co/u/nmalinip)\
**Replies:** 1\
**Last updated:** [October 11, 2017, 9:04pm UTC](https://discuss.elastic.co/t/dynamic-mapping-for-nested-json-documents-in-elasticsearch/103496 "2017-10-11T21:04:49Z")

</div>

Hi All, We have a requirement to store nested json objects ( depth can be upto 5 levels) in elastic search. I have the current mapping "dynamic\_templates": \[ { "nested\_feature": { "match": "pay…

---

## [Spark uses one ES node at a time to write to elastic search](https://discuss.elastic.co/t/spark-uses-one-es-node-at-a-time-to-write-to-elastic-search/102740)

<div class="topic-metadata">

**Author:** [@Saravanan\_Balakrishn](https://discuss.elastic.co/u/Saravanan_Balakrishn)\
**Replies:** 3\
**Last updated:** [October 11, 2017, 9:03pm UTC](https://discuss.elastic.co/t/spark-uses-one-es-node-at-a-time-to-write-to-elastic-search/102740 "2017-10-11T21:03:17Z")

</div>

I am having few clarifications with regarding Spark and ElasticSearch. ES versions used for this approach is 5.4 Config Details: 8 ES nodes with 32 shards. 12 Spark Nodes with 4 threads each. -- spark.executor.insta…

---

## [Alias \[test-schema-active-logs\] has more than one indices associated with it \[\[......\]\], can't execute a single index op](https://discuss.elastic.co/t/alias-test-schema-active-logs-has-more-than-one-indices-associated-with-it-cant-execute-a-single-index-op/103614)

<div class="topic-metadata">

**Author:** [@ankitachow](https://discuss.elastic.co/u/ankitachow)\
**Replies:** 1\
**Last updated:** [October 11, 2017, 8:59pm UTC](https://discuss.elastic.co/t/alias-test-schema-active-logs-has-more-than-one-indices-associated-with-it-cant-execute-a-single-index-op/103614 "2017-10-11T20:59:39Z")

</div>

Elasticsearch 5.4.1 Rollover API problem We are using Rollover to create new index upon a document count condition is reached. But while ingestion is happening, if we run the rollover API, getting below error: "Alias…

---

## [Elasticsearch Active: failed](https://discuss.elastic.co/t/elasticsearch-active-failed/103598)

<div class="topic-metadata">

**Author:** [@Jhondude](https://discuss.elastic.co/u/Jhondude)\
**Replies:** 8\
**Last updated:** [October 11, 2017, 8:43pm UTC](https://discuss.elastic.co/t/elasticsearch-active-failed/103598 "2017-10-11T20:43:41Z")

</div>

Hello, OS = Ubuntu 16.04, install in vm java version java version "1.8.0\_144" Java(TM) SE Runtime Environment (build 1.8.0\_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode) all ELK service a…

---

## [ES cannot load JNI on arm](https://discuss.elastic.co/t/es-cannot-load-jni-on-arm/103057)

<div class="topic-metadata">

**Author:** [@asp](https://discuss.elastic.co/u/asp)\
**Replies:** 2\
**Last updated:** [October 11, 2017, 6:55pm UTC](https://discuss.elastic.co/t/es-cannot-load-jni-on-arm/103057 "2017-10-11T18:55:46Z")

</div>

Hi, I got following warnings, when running elasticsearch on arm platform: \[2017-10-06T18:10:08,825\]\[WARN \]\[o.e.b.Natives \] unable to load JNA native support library, native methods will be disabled. java.lan…

---

## [Refresh latency](https://discuss.elastic.co/t/refresh-latency/102866)

<div class="topic-metadata">

**Author:** [@manast](https://discuss.elastic.co/u/manast)\
**Replies:** 6\
**Last updated:** [October 11, 2017, 6:36pm UTC](https://discuss.elastic.co/t/refresh-latency/102866 "2017-10-11T18:36:22Z")

</div>

We are experiencing significant latency in the refresh operation. In some cases refresh takes up to one minute to complete. Our index is about 150GB large and has 32 shards spread across 12 nodes. The refresh interval …

---

## [How to efficiently query date \*and\* type based indexes](https://discuss.elastic.co/t/how-to-efficiently-query-date-and-type-based-indexes/103586)

<div class="topic-metadata">

**Author:** [@jthoni](https://discuss.elastic.co/u/jthoni)\
**Replies:** 0\
**Last updated:** [October 11, 2017, 5:34pm UTC](https://discuss.elastic.co/t/how-to-efficiently-query-date-and-type-based-indexes/103586 "2017-10-11T17:34:29Z")

</div>

Our environment has one large monolythic index that is 483 million docs with a size of 1TB. This is currently spread over 23 shards. As it grows, we keep needing to scale out by reindexing into more shards. In this in…

---

## [Index creation and deployment strategies](https://discuss.elastic.co/t/index-creation-and-deployment-strategies/103580)

<div class="topic-metadata">

**Author:** [@gringogordo](https://discuss.elastic.co/u/gringogordo)\
**Replies:** 1\
**Last updated:** [October 11, 2017, 5:32pm UTC](https://discuss.elastic.co/t/index-creation-and-deployment-strategies/103580 "2017-10-11T17:32:23Z")

</div>

I have inherited a nice little java app which uses an elasticSearch Index as a back end data source. At the moment the index is built from scratch every week on a build server and then the service is stopped (on UAT the…

---

## [Wildcard for Nested object](https://discuss.elastic.co/t/wildcard-for-nested-object/103568)

<div class="topic-metadata">

**Author:** [@Vikentyi](https://discuss.elastic.co/u/Vikentyi)\
**Replies:** 5\
**Last updated:** [October 11, 2017, 5:30pm UTC](https://discuss.elastic.co/t/wildcard-for-nested-object/103568 "2017-10-11T17:30:34Z")

</div>

Hello. I have the following mapping (Elasticsearch 5.4.0): { "relatedData": { "properties": { "subject": { "type": "nested", …

---

## [Swap still reported even though Page file is disabled](https://discuss.elastic.co/t/swap-still-reported-even-though-page-file-is-disabled/102773)

<div class="topic-metadata">

**Author:** [@jthoni](https://discuss.elastic.co/u/jthoni)\
**Replies:** 3\
**Last updated:** [October 11, 2017, 5:23pm UTC](https://discuss.elastic.co/t/swap-still-reported-even-though-page-file-is-disabled/102773 "2017-10-11T17:23:40Z")

</div>

I originally asked this question a while back: I was never able to get around it. I just set up a new cluster with significantly more resources in the hopes of improving our perf. I still find that there is a ton of …

---

## [Issue Integrating Elasticsearch with JIRA REST API](https://discuss.elastic.co/t/issue-integrating-elasticsearch-with-jira-rest-api/102616)

<div class="topic-metadata">

**Author:** [@Olatunde\_Tokun](https://discuss.elastic.co/u/Olatunde_Tokun)\
**Replies:** 2\
**Last updated:** [October 11, 2017, 3:56pm UTC](https://discuss.elastic.co/t/issue-integrating-elasticsearch-with-jira-rest-api/102616 "2017-10-11T15:56:27Z")

</div>

Hello, Im configuring watcher to create tickets using JIRA rest api. Our JIRA API is not hosted on the default path, and this causes and error in the watcher action. (watcher cannot find the rest api). The default JIRA…

---

## [Loadbalancer infromt of client nodes](https://discuss.elastic.co/t/loadbalancer-infromt-of-client-nodes/103463)

<div class="topic-metadata">

**Author:** [@iam.Carrot](https://discuss.elastic.co/u/iam.Carrot)\
**Replies:** 9\
**Last updated:** [October 11, 2017, 3:49pm UTC](https://discuss.elastic.co/t/loadbalancer-infromt-of-client-nodes/103463 "2017-10-11T15:49:41Z")

</div>

Hi am running a 7 node architecture with 3 master nodes, 2 co-ordinate only (earlier known as client) and 2 data nodes. I ab API to interact with my elastic cluster to provide data. My question is, do I need to put a l…

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

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