Questions tagged [elasticsearch]

Elasticsearch is a free and open, distributed, RESTful search engine based on Lucene.

Elasticsearch is a free and open, distributed, RESTful search engine based on and developed in .

Together, , , and are commonly known as the . With the addition of Beats, a free and open platform for single-purpose data shippers, the ELK Stack is now known as the Elastic Stack.

Elasticsearch is a distributed, scalable, and multitenant-capable full-text search engine with a RESTful web interface and schema-free documents. It is also document-oriented and includes various APIs, such as native Java and HTTP RESTful. Elasticsearch supports both schema on read and schema on write on the same data, providing speed an

Elasticsearch allows you to choose to store data locally for fast search or store remotely on object-based storage such as for lower-cost options.

Elasticsearch comes with various text preprocessing algorithms, allowing users to set up custom or predefined multilingual analyzers to improve search relevance.

Official clients are available in , , , , , , , and many other languages.

Latest stable releases:

Elastic is the parent company of the Elasticsearch product.

58010 questions
58
votes
4 answers

EsRejectedExecutionException in elasticsearch for parallel search

I am querying elasticsearch for multiple parallel requests using single transport client instance in my application. I got the below exception for the parallel execution. How to overcome the…
Vipin
  • 781
  • 1
  • 10
  • 19
58
votes
5 answers

Kibana query exact match

I would like to know how to query a field to exactly match a string. I'm actually trying to query like this: url : "http://www.domain_name.com" Which returns all string starting with http://www.domain_name.com .
smace
  • 1,088
  • 2
  • 11
  • 16
57
votes
2 answers

kibana filter by absent substring

How to make such kind of requests for kibana? where field does not contain substring It is easy to create filters like field: substring. Neither not "substring" or field: not(substring) or field: not(*substring*) work
gayavat
  • 18,910
  • 11
  • 45
  • 55
57
votes
1 answer

How to update a document using elasticsearch-py?

Does anyone have an example for how to use update? It's documented here, but the documentation is unclear and doesn't include a working example. I've tried the following: coll =…
Dan Hook
  • 6,769
  • 7
  • 35
  • 52
57
votes
4 answers

Elastic Kibana - install as windows service

How can I install Elastic Kibana (which is just a batch file) as a windows service? It probably needs to depend on the ElasticSearch process as well (this assumes I'm running it on the same server)
jhilden
  • 12,207
  • 5
  • 53
  • 76
57
votes
5 answers

How to check Elasticsearch cluster health?

I tried to check it via curl -XGET 'http://localhost:9200/_cluster/health' but nothing happened. Seems it's waiting for something. The console did not come back. Had to kill it with CTRL+C. I also tried to check for existing indices via curl -XGET…
mr.proton
  • 993
  • 2
  • 10
  • 24
57
votes
4 answers

How to log all executed elasticsearch queries

I want to see all queries executed against an elasticsearch instance. Is it possible to run elasticsearch in a debug mode, or to tell it to store all queries executed against it? The purpose is to see which queries are launched from a software…
paweloque
  • 18,466
  • 26
  • 80
  • 136
57
votes
4 answers

ElasticSearch group by multiple fields

The only close thing that I've found was: Multiple group-by in Elasticsearch Basically I'm trying to get the ES equivalent of the following MySql query: select gender, age_range, count(distinct profile_id) as count FROM TABLE group by age_range,…
Pavel
  • 964
  • 1
  • 6
  • 18
56
votes
3 answers

Elasticsearch always returning "mapping type is missing"

I'm following the advice given here in order to find partial words with elasticsearch: ElasticSearch n-gram tokenfilter not finding partial words I've created a simple bash script that attempts to run a version of this: curl -XDELETE…
Travis
  • 7,391
  • 12
  • 43
  • 52
56
votes
6 answers

How to search nested objects with Elasticsearch

OK, I've not been able to figure this out thus far. Hoping someone can offer some insight. Given the documents below, how would I search for all documents with a video that has "test" in the video title? I'm using the HTTP API. (Basically, how do…
swatkins
  • 13,530
  • 4
  • 46
  • 78
56
votes
5 answers

Setting Elastic search limit to "unlimited"

How can i get all the results from elastic search as the results only display limit to 10 only. ihave got a query like: @data = Athlete.search :load => true do size 15 query do boolean do must { string…
Sumit Rai
  • 637
  • 1
  • 6
  • 11
55
votes
1 answer

How to show index creation time with _cat/indices API in Elasticsearch

I am using Elasticsearch 5.2, and cannot see index creation time with http://localhost:9200/_cat/indices?v. Just wonder what options will show index creation time for each of the indices.
dapangmao
  • 2,727
  • 3
  • 22
  • 18
55
votes
5 answers

How to move elasticsearch data directory?

I have a default installation of Elasticsearch. It seems to be storing it's data in /var/lib/elasticsearch/elasticsearch/nodes So two questions: If I want to move my data to another location on the same machine (let's say /foo/bar for example) 1)…
Chris Curvey
  • 9,738
  • 10
  • 48
  • 70
55
votes
4 answers

Elasticsearch is still initializing the kibana index

When I am trying to start Kibana I am facing the following issue. I first restarted my elasticsearch server it was running successfully. After starting Elasticsearch I tried to start Kibana but no…
Mangoski
  • 2,058
  • 5
  • 25
  • 43
55
votes
6 answers

How to Fix Read timed out in Elasticsearch

I used Elasticsearch-1.1.0 to index tweets. The indexing process is okay. Then I upgraded the version. Now I use Elasticsearch-1.3.2, and I get this message randomly: Exception happened: Error raised when there was an exception while talking to…