# Elasticsearch

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

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

**Page:** 1935

---

## [Recovery after restart](https://discuss.elastic.co/t/recovery-after-restart/102426)

<div class="topic-metadata">

**Author:** [@swan](https://discuss.elastic.co/u/swan)\
**Replies:** 0\
**Last updated:** [October 2, 2017, 11:22am UTC](https://discuss.elastic.co/t/recovery-after-restart/102426 "2017-10-02T11:22:42Z")

</div>

Hi guys, it seems it is a very common question but I did not manage to find the solution by myself. I have a cluster with 5 nodes and restart of any of them triggers recovery. It is happening even if it is clean restar…

---

## [Search API through My Netflow data](https://discuss.elastic.co/t/search-api-through-my-netflow-data/102421)

<div class="topic-metadata">

**Author:** [@Blason](https://discuss.elastic.co/u/Blason)\
**Replies:** 0\
**Last updated:** [October 2, 2017, 10:02am UTC](https://discuss.elastic.co/t/search-api-through-my-netflow-data/102421 "2017-10-02T10:02:40Z")

</div>

Hi Guys, I have setup Netflow with my checkpoint firewall and data is properly coming in and being indexed. Now I have certain malicious IP addresses in other text file. How do I search through my netflow index to match…

---

## [Couldn't update x-pack license](https://discuss.elastic.co/t/couldnt-update-x-pack-license/102415)

<div class="topic-metadata">

**Author:** [@moabbas](https://discuss.elastic.co/u/moabbas)\
**Replies:** 6\
**Last updated:** [October 2, 2017, 9:37am UTC](https://discuss.elastic.co/t/couldnt-update-x-pack-license/102415 "2017-10-02T09:37:13Z")

</div>

Hello All, When i update x-pack license using curl -XPUT -u elastic 'http://localhost:9200/\_xpack/license?acknowledge=true' -d @license.json i got this error. {"error":{"root\_cause":\[{"type":"process\_cluster\_event\_ti…

---

## [Query DSL: how to use phrase\_prefix in query string?](https://discuss.elastic.co/t/query-dsl-how-to-use-phrase-prefix-in-query-string/102410)

<div class="topic-metadata">

**Author:** [@maralbe](https://discuss.elastic.co/u/maralbe)\
**Replies:** 0\
**Last updated:** [October 2, 2017, 7:57am UTC](https://discuss.elastic.co/t/query-dsl-how-to-use-phrase-prefix-in-query-string/102410 "2017-10-02T07:57:41Z")

</div>

Hi, I want to search thorough hole my documents, and for a specific query I want it returns results with suffix and prefix.. right now when my query run.. it returns just documents that have exact value, that have been s…

---

## [Memory status when processing](https://discuss.elastic.co/t/memory-status-when-processing/102147)

<div class="topic-metadata">

**Author:** [@danielkmb2](https://discuss.elastic.co/u/danielkmb2)\
**Replies:** 2\
**Last updated:** [October 2, 2017, 7:51am UTC](https://discuss.elastic.co/t/memory-status-when-processing/102147 "2017-10-02T07:51:19Z")

</div>

Hello! I have one node dedicated for the ML tasks. When trying to run a big job, after some time the memory status turns to soft\_limit, and after some more hard\_limit. The ml node has enought resources, and its ram is u…

---

## [Licensing of Elasticsearch Dependencies](https://discuss.elastic.co/t/licensing-of-elasticsearch-dependencies/27505)

<div class="topic-metadata">

**Author:** [@jamesbaker](https://discuss.elastic.co/u/jamesbaker)\
**Replies:** 1\
**Last updated:** [October 2, 2017, 7:39am UTC](https://discuss.elastic.co/t/licensing-of-elasticsearch-dependencies/27505 "2017-10-02T07:39:58Z")

</div>

I'm working on a software project that outputs data into Elasticsearch, making it searchable. I want to release my project under the ASL2 license (as Elasticsearch is). However, when I include Elasticsearch as a Maven …

---

## [Snapshot path problem](https://discuss.elastic.co/t/snapshot-path-problem/102048)

<div class="topic-metadata">

**Author:** [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Replies:** 5\
**Last updated:** [October 2, 2017, 5:56am UTC](https://discuss.elastic.co/t/snapshot-path-problem/102048 "2017-10-02T05:56:40Z")

</div>

I'm using centos and I can do snapshot when my repo path is in /mnt dir. If i use other directory, I encountered an error. Any thoughts? TIA

---

## [Connectivity of R and Elasticsearch](https://discuss.elastic.co/t/connectivity-of-r-and-elasticsearch/102403)

<div class="topic-metadata">

**Author:** [@Bolosh](https://discuss.elastic.co/u/Bolosh)\
**Replies:** 2\
**Last updated:** [October 2, 2017, 5:54am UTC](https://discuss.elastic.co/t/connectivity-of-r-and-elasticsearch/102403 "2017-10-02T05:54:58Z")

</div>

Hi I have a problems making R to work with Elasticsearch via ssh tunnelling on CentOS 7. SSH tunnel is already setup via putty. I have installed Rstudio and R (server). I connect to Elasticsearch: connect(es\_host = "\<h…

---

## [Elastic search status failed](https://discuss.elastic.co/t/elastic-search-status-failed/102402)

<div class="topic-metadata">

**Author:** [@Edgar\_Allan\_Poniente](https://discuss.elastic.co/u/Edgar_Allan_Poniente)\
**Replies:** 1\
**Last updated:** [October 2, 2017, 5:25am UTC](https://discuss.elastic.co/t/elastic-search-status-failed/102402 "2017-10-02T05:25:22Z")

</div>

After I sudo service elasticsearch start, the the first time I run elasticsearch status it has a green light, now after 3 -4 seconds I tried to status again now it says failed I also tried to curl the port but still havi…

---

## [X-Pack with elastic cloud](https://discuss.elastic.co/t/x-pack-with-elastic-cloud/102261)

<div class="topic-metadata">

**Author:** [@Jose\_Campos](https://discuss.elastic.co/u/Jose_Campos)\
**Replies:** 1\
**Last updated:** [October 2, 2017, 3:43am UTC](https://discuss.elastic.co/t/x-pack-with-elastic-cloud/102261 "2017-10-02T03:43:58Z")

</div>

Hello A few days ago I received notifications that the us-east-1 cluster was having problems, indeed yes. Then validate that it was solved. But now I go to my x-pack and it does not solve anything, it's like it did not …

---

## [Elasticsearch Missing Messages on Query](https://discuss.elastic.co/t/elasticsearch-missing-messages-on-query/102002)

<div class="topic-metadata">

**Author:** [@Dr-Crow](https://discuss.elastic.co/u/Dr-Crow)\
**Replies:** 4\
**Last updated:** [October 1, 2017, 10:06pm UTC](https://discuss.elastic.co/t/elasticsearch-missing-messages-on-query/102002 "2017-10-01T22:06:27Z")

</div>

I am having an issue with Elasticsearch when querying. My python application queries Elasticsearch about every 10 seconds looking for new messages that it has not processed. Once and a while my python application crash…

---

## [Indexing keyword list in alphabetical order VS not sorting at all in elasticsearch](https://discuss.elastic.co/t/indexing-keyword-list-in-alphabetical-order-vs-not-sorting-at-all-in-elasticsearch/102380)

<div class="topic-metadata">

**Author:** [@Fong\_Ng](https://discuss.elastic.co/u/Fong_Ng)\
**Replies:** 1\
**Last updated:** [October 1, 2017, 9:47pm UTC](https://discuss.elastic.co/t/indexing-keyword-list-in-alphabetical-order-vs-not-sorting-at-all-in-elasticsearch/102380 "2017-10-01T21:47:17Z")

</div>

I'm using elasticsearch to store lists of keywords with the standard analyzer, like this: { id:1, body\_color:'silver,blue', feature:'wifi,gps' }, { id:2, body\_color:'blue,red', window\_color:'yellow,w…

---

## [Data types supported by Elastic Search](https://discuss.elastic.co/t/data-types-supported-by-elastic-search/102305)

<div class="topic-metadata">

**Author:** [@scch](https://discuss.elastic.co/u/scch)\
**Replies:** 2\
**Last updated:** [October 1, 2017, 6:01pm UTC](https://discuss.elastic.co/t/data-types-supported-by-elastic-search/102305 "2017-10-01T18:01:03Z")

</div>

Hi, I want to store long messages in one of the field, request to through some light on data types supported by ES any recommendation. thanks in advance.. :slight\_smile:

---

## [RestHighLevelClient. How to create settings and mappings programmaticaly from json File?](https://discuss.elastic.co/t/resthighlevelclient-how-to-create-settings-and-mappings-programmaticaly-from-json-file/102372)

<div class="topic-metadata">

**Author:** [@tanjok](https://discuss.elastic.co/u/tanjok)\
**Replies:** 1\
**Last updated:** [October 1, 2017, 12:46pm UTC](https://discuss.elastic.co/t/resthighlevelclient-how-to-create-settings-and-mappings-programmaticaly-from-json-file/102372 "2017-10-01T12:46:43Z")

</div>

Hi, is it possible to do something like this with RestHighLevelClient? public void createMapping() { Client client = transportClientFactory.getTransportClient(); CreateIndexRequestBuilder createIndexRequ…

---

## [What is better: query several fields or single combined field?](https://discuss.elastic.co/t/what-is-better-query-several-fields-or-single-combined-field/102353)

<div class="topic-metadata">

**Author:** [@Illidan](https://discuss.elastic.co/u/Illidan)\
**Replies:** 2\
**Last updated:** [October 1, 2017, 10:24am UTC](https://discuss.elastic.co/t/what-is-better-query-several-fields-or-single-combined-field/102353 "2017-10-01T10:24:19Z")

</div>

Let's assume I have something similar to IMDB (e.g. catalog of movies) and I want to store it in Elasticsearch. Single Movie record contains Title, Description, and Categories (strings, e.g. "Children", "Action", etc). …

---

## [Curl request problem](https://discuss.elastic.co/t/curl-request-problem/101957)

<div class="topic-metadata">

**Author:** [@nivo33](https://discuss.elastic.co/u/nivo33)\
**Replies:** 4\
**Last updated:** [October 1, 2017, 9:32am UTC](https://discuss.elastic.co/t/curl-request-problem/101957 "2017-10-01T09:32:32Z")

</div>

Hi, I am trying to send a request through curl, for example: curl -XGET 'localhost:9200/\_search?pretty' -H 'Content-Type: application/json' -d' { "query" : { "term" : { "user" : "kimchy" } } } ' The re…

---

## [How can I set the field limit higher then 1000?](https://discuss.elastic.co/t/how-can-i-set-the-field-limit-higher-then-1000/102184)

<div class="topic-metadata">

**Author:** [@Misengo](https://discuss.elastic.co/u/Misengo)\
**Replies:** 5\
**Last updated:** [October 1, 2017, 8:49am UTC](https://discuss.elastic.co/t/how-can-i-set-the-field-limit-higher-then-1000/102184 "2017-10-01T08:49:35Z")

</div>

I am new to Elastic Search (visited the Elastic Event in Frankfurt today, thanks for the great talk and insights btw). I get this error when indexing products from shopware: \[2017-09-28T22:58:13,583\]\[DEBUG\]\[o.e.a.b.Tra…

---

## [Range Query in Elasticsearch Doesn't Filter on Certain Number Fields](https://discuss.elastic.co/t/range-query-in-elasticsearch-doesnt-filter-on-certain-number-fields/102363)

<div class="topic-metadata">

**Author:** [@schoffelman](https://discuss.elastic.co/u/schoffelman)\
**Replies:** 4\
**Last updated:** [October 1, 2017, 5:14am UTC](https://discuss.elastic.co/t/range-query-in-elasticsearch-doesnt-filter-on-certain-number-fields/102363 "2017-10-01T05:14:26Z")

</div>

I'm running the following query against my ES instance 5.4. My year range and postal code works great, but as soon as I add in the price or millage range, it returns zero results. Here's the cURL statement (I converted i…

---

## [Heap size for elastic nodes when multiple nodes run on a single machine](https://discuss.elastic.co/t/heap-size-for-elastic-nodes-when-multiple-nodes-run-on-a-single-machine/102359)

<div class="topic-metadata">

**Author:** [@agile\_dev\_sat](https://discuss.elastic.co/u/agile_dev_sat)\
**Replies:** 1\
**Last updated:** [September 30, 2017, 8:36pm UTC](https://discuss.elastic.co/t/heap-size-for-elastic-nodes-when-multiple-nodes-run-on-a-single-machine/102359 "2017-09-30T20:36:51Z")

</div>

Hi, I have a 16GB RAM and running two elastic processes (nodes) on it. According to documentation, it say to allocate half memory to lucene. So according to it, Should i allocate half of memory to all elastic proces…

---

## [Problem with DockerComposeContainer](https://discuss.elastic.co/t/problem-with-dockercomposecontainer/102308)

<div class="topic-metadata">

**Author:** [@priidukull](https://discuss.elastic.co/u/priidukull)\
**Replies:** 1\
**Last updated:** [September 30, 2017, 9:19am UTC](https://discuss.elastic.co/t/problem-with-dockercomposecontainer/102308 "2017-09-30T09:19:10Z")

</div>

I am trying to set up ElasticSearch with DockerComposeContainer. This works. But when I try to insert a document into ElasticSearch, I get org.apache.http.ConnectionClosedException: Connection closed. It seems to me tha…

---

## [ElasticSearch 6.0 RC1](https://discuss.elastic.co/t/elasticsearch-6-0-rc1/102342)

<div class="topic-metadata">

**Author:** [@questar](https://discuss.elastic.co/u/questar)\
**Replies:** 1\
**Last updated:** [September 30, 2017, 12:52pm UTC](https://discuss.elastic.co/t/elasticsearch-6-0-rc1/102342 "2017-09-30T12:52:18Z")

</div>

Hi, see RC1 is available. When will it appear on Maven?

---

## [Configuration of client node](https://discuss.elastic.co/t/configuration-of-client-node/102331)

<div class="topic-metadata">

**Author:** [@sivakaran](https://discuss.elastic.co/u/sivakaran)\
**Replies:** 3\
**Last updated:** [September 30, 2017, 10:42am UTC](https://discuss.elastic.co/t/configuration-of-client-node/102331 "2017-09-30T10:42:18Z")

</div>

Hi, I have to try configuring the client node in elasticsearch-1.3.7. It does not work for my setup. I have 6 data nodes, 2 master nodes. and also attached my client node configuration file.please suggest me what can I d…

---

## [Elasticsearch character alternatives i "or" ı](https://discuss.elastic.co/t/elasticsearch-character-alternatives-i-or-i/102330)

<div class="topic-metadata">

**Author:** [@Mustafa\_Acar](https://discuss.elastic.co/u/Mustafa_Acar)\
**Replies:** 1\
**Last updated:** [September 30, 2017, 9:57am UTC](https://discuss.elastic.co/t/elasticsearch-character-alternatives-i-or-i/102330 "2017-09-30T09:57:15Z")

</div>

Hello i have a problem with some turkish character and need like alternative character to fix it .. Example : "İzmir" of our city but some user searching it "ızmır" some Of "Izmır" and sometimes "izmir" .. How ca…

---

## [How do I delete a single "Types" from Indices?](https://discuss.elastic.co/t/how-do-i-delete-a-single-types-from-indices/102329)

<div class="topic-metadata">

**Author:** [@Rahul\_Saxena](https://discuss.elastic.co/u/Rahul_Saxena)\
**Replies:** 4\
**Last updated:** [September 30, 2017, 9:55am UTC](https://discuss.elastic.co/t/how-do-i-delete-a-single-types-from-indices/102329 "2017-09-30T09:55:13Z")

</div>

Hello there. I am new in elastic search and I'm .net developer. I am using elastic search nest for my data, having One Indices name "XYZ" having multiple Types named like "AA", "BB", "CC" and "DD". My question is that …

---

## [How to get the number of repetitions of a word in articles using aggregation?](https://discuss.elastic.co/t/how-to-get-the-number-of-repetitions-of-a-word-in-articles-using-aggregation/102323)

<div class="topic-metadata">

**Author:** [@bavimorteza](https://discuss.elastic.co/u/bavimorteza)\
**Replies:** 0\
**Last updated:** [September 30, 2017, 5:29am UTC](https://discuss.elastic.co/t/how-to-get-the-number-of-repetitions-of-a-word-in-articles-using-aggregation/102323 "2017-09-30T05:29:37Z")

</div>

I use 'term aggregation' to know how many times a word is repeated in elasticsearch. This method works properly for short string filed's. my simple term aggregation : { "query": { "bool": { "must": \[ …

---

## [Elastic Search creating multiple Instances](https://discuss.elastic.co/t/elastic-search-creating-multiple-instances/102319)

<div class="topic-metadata">

**Author:** [@code\_blue](https://discuss.elastic.co/u/code_blue)\
**Replies:** 1\
**Last updated:** [September 30, 2017, 5:09am UTC](https://discuss.elastic.co/t/elastic-search-creating-multiple-instances/102319 "2017-09-30T05:09:19Z")

</div>

We are using version 1.4 and have a 6 node cluster.We are observing some weird behavior for the past few days in one of the nodes in the cluster. When we are viewing from head plugin we can see the same node appearing tw…

---

## [Unique results from Geolocation intersection](https://discuss.elastic.co/t/unique-results-from-geolocation-intersection/102194)

<div class="topic-metadata">

**Author:** [@seperman](https://discuss.elastic.co/u/seperman)\
**Replies:** 1\
**Last updated:** [September 29, 2017, 10:45pm UTC](https://discuss.elastic.co/t/unique-results-from-geolocation-intersection/102194 "2017-09-29T22:45:17Z")

</div>

Hello, I have a geoshape field called geojson. And then per item in the index, I put a LIST of shapes in the geojson field. Not one multipolygon but a LIST of polygons/multipolygons. When I query for getting all object…

---

## [Isolate an elasticsearch node](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312)

<div class="topic-metadata">

**Author:** [@munotshubham](https://discuss.elastic.co/u/munotshubham)\
**Replies:** 5\
**Last updated:** [September 29, 2017, 9:09pm UTC](https://discuss.elastic.co/t/isolate-an-elasticsearch-node/102312 "2017-09-29T21:09:45Z")

</div>

Hi, So I have created one index and I want to deploy that index into production. I have other indices on that cluster. How should I isolate that index? How can I create multiple instances of the same node for product…

---

## [How does monitoring calculate the documents per second?](https://discuss.elastic.co/t/how-does-monitoring-calculate-the-documents-per-second/102315)

<div class="topic-metadata">

**Author:** [@megadevx](https://discuss.elastic.co/u/megadevx)\
**Replies:** 0\
**Last updated:** [September 29, 2017, 8:48pm UTC](https://discuss.elastic.co/t/how-does-monitoring-calculate-the-documents-per-second/102315 "2017-09-29T20:48:44Z")

</div>

I am trying to write a short command line re-index tool that lets you easily add all the options for re-indexing. I want to be able to query elastic or kibana or monitoring to tell the user how many documents per second …

---

## [Specifying Sort field](https://discuss.elastic.co/t/specifying-sort-field/102310)

<div class="topic-metadata">

**Author:** [@Velusamy\_Velu](https://discuss.elastic.co/u/Velusamy_Velu)\
**Replies:** 1\
**Last updated:** [September 29, 2017, 8:19pm UTC](https://discuss.elastic.co/t/specifying-sort-field/102310 "2017-09-29T20:19:55Z")

</div>

I wonder why the sort isn't working the following query. I get the results in the same sequence for either of the queries below. http://localhost:9200///\_search?q=creatorId:admin&sort=dateLastEdited:desc http://localh…

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

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