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
134
votes
19 answers

How to change Elasticsearch max memory size

I have an Apache server with a default configuration of Elasticsearch and everything works perfectly, except that the default configuration has a max size of 1GB. I don't have such a large number of documents to store in Elasticsearch, so I want to…
Patxi1980
  • 1,703
  • 3
  • 15
  • 10
129
votes
14 answers

how to move elasticsearch data from one server to another

How do I move Elasticsearch data from one server to another? I have server A running Elasticsearch 1.1.1 on one local node with multiple indices. I would like to copy that data to server B running Elasticsearch 1.3.4 Procedure so far Shut down ES…
Jabb
  • 3,414
  • 8
  • 35
  • 58
128
votes
1 answer

No handler for type [string] declared on field [name]

When type is declared as string, Elasticsearch 6.0 will show this error. "name" => [ "type" => "string", "analyzer" => "ik_max_word" ]
Vidy Videni
  • 1,897
  • 3
  • 15
  • 23
122
votes
15 answers

How do I enable remote access/request in Elasticsearch 2.0?

Starting from v2.0 Elasticsearch is listening only on localhost by default, but I'd like to make request outside localhost. For example, a request like this is allowed: http://localhost:9200/ But this is not: http://server_name:9200/ (from outside…
Abraham Duran
  • 1,778
  • 3
  • 14
  • 22
121
votes
1 answer

no [query] registered for [filtered]

I have a query which I need to filter out results. This is my query { "query": { "filtered": { "query": { "multi_match": { "default_operator": "AND", "fields": [ …
devxeq
  • 1,329
  • 2
  • 8
  • 15
121
votes
6 answers

Redis Vs RabbitMQ as a data broker/messaging system in between Logstash and elasticsearch

We are defining an architecture to collect log information by Logstash shippers which are installed in various machines and index the data in one elasticsearch server centrally and use Kibana as the graphical layer. We need a reliable messaging…
Salindaw
  • 1,556
  • 2
  • 11
  • 10
119
votes
15 answers

Connection Timeout with Elasticsearch

from datetime import datetime from elasticsearch import Elasticsearch es = Elasticsearch() doc = { 'author': 'kimchy', 'text': 'Elasticsearch: cool. bonsai cool.', 'timestamp': datetime(2010, 10, 10, 10, 10, 10) } res =…
Johann Gomes
  • 3,813
  • 5
  • 23
  • 25
114
votes
2 answers

What is the difference between must and filter in Query DSL in elasticsearch?

I am new to elastic search and I am confused between must and filter. I want to perform an and operation between my terms, so I did this POST /xyz/_search { "query": { "bool": { "must": [ { …
Krash
  • 2,085
  • 3
  • 13
  • 36
113
votes
8 answers

Elastic Search: how to see the indexed data

I had a problem with ElasticSearch and Rails, where some data was not indexed properly because of attr_protected. Where does Elastic Search store the indexed data? It would be useful to check if the actual indexed data is wrong. Checking the…
Robin
  • 21,667
  • 10
  • 62
  • 85
111
votes
3 answers

difference between a field and the field.keyword

If I add a document with several fields to an Elasticsearch index, when I view it in Kibana, I get each time the same field twice. One of them will be called some_field and the other one will be called some_field.keyword Where does this behaviour…
tomak
  • 1,289
  • 4
  • 11
  • 13
111
votes
13 answers

Create Elasticsearch curl query for not null and not empty("")

How can i create Elasticsearch curl query to get the field value which are not null and not empty(""), Here is the mysql query: select field1 from mytable where field1!=null and field1!="";
uttam palkar
  • 1,585
  • 5
  • 14
  • 17
109
votes
5 answers

ElasticSearch start up error - the default discovery settings are unsuitable for production use;

I have tried giving the following configurations in the elasticsearch.yaml file network.host: aa.bbb.ccc.dd that being my IPv4 Address and http.port: 9200 The response to this is as follows when I try to run elasticsearch.bat on my windows…
SSB
  • 1,572
  • 2
  • 10
  • 12
108
votes
7 answers

Proper access policy for Amazon Elastic Search Cluster

I've recently started using the new Amazon Elasticsearch Service and I can't seem to figure out the access policy I need so that I can only access the services from my EC2 instances that have a specific IAM role assigned to them. Here's an example…
108
votes
8 answers

Update only specific field value in elasticsearch

Is it possible to update some specific fields value in elasticsearch with out overwriting other fields. ?
Johnsa Philip
  • 1,725
  • 4
  • 14
  • 12
106
votes
2 answers

elasticsearch match vs term query

I use the match query search for "request.method": "GET": { "query": { "filtered": { "query": { "match": { "request.method": "GET" } }, "filter": { …
Linlin
  • 2,127
  • 5
  • 20
  • 25