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
9
votes
4 answers

Spring Elasticsearch - None of the configured nodes are available

I am using spring-boot with Elasticsearch. The project was created using jhipster. pom.xml contains: spring-boot-starter-parent org.springframework.boot 1.4.0.RELEASE
Jean
  • 91
  • 1
  • 4
9
votes
2 answers

Timezone of now in elasticsearch

What is the timezone of elasticsearch when I use now ? { "range": { "myDateInSomeTimezone": { "gt": "now" } } }, I am wondering what is the timezone of now: is with my server local timezone? is with same timezone of the…
Alberto
  • 2,881
  • 7
  • 35
  • 66
9
votes
1 answer

Best way to synchronize Elasticsearch with Mysql

I am using elasticsearch in my spring web mvc project (spring-data-elasticsearch) and to synchronize with database (MySQL). I am indexing the document from my app, if any new entity going to add in db tables at the same time, from service layer, I…
Amit Patel
  • 134
  • 2
  • 17
9
votes
1 answer

Elasticsearch range bucket aggregation based on doc_count

I have an elasticsearch aggregation query like this. { "aggs": { "customer": { "aggs": { "Total_Sale": { "sum": { "field": "amount" } …
nitzien
  • 1,117
  • 9
  • 23
9
votes
1 answer

Elasticsearch DeleteByQuery not working, getting 400 bad request

I have the following Nest query to delete all the matching documents, quite straight forward but I am getting 400 bad request on it. var client = new ElasticClient(); var request = new DeleteByQueryRequest("my-index") { …
Chirdeep Tomar
  • 4,281
  • 8
  • 37
  • 66
9
votes
1 answer

Index Json Document using Elasticsearch NEST C#

I'm very new to Elasticsearch and Want to know How to create index and index following json document to Elasticsearch using NEST C#? { "BookName": "Book1", "ISBN": "978-3-16-148410-0", "chapter" : [ { "chapter_name":…
user6430857
9
votes
2 answers

Elastic Search: use filter and should bool query

I want to use elastic search to search through a large address database, and to make it like some other applications I start with the postcode first which is great to narrow down on the rest of the search query. So with Search::Elasticsearch I…
Recct
  • 913
  • 1
  • 16
  • 40
9
votes
3 answers

Elasticsearch: document size and query performance

I have an ES index with medium size documents (15-30 Mb more or less). Each document has a boolean field and most of the times users just want to know if a specific document ID has that field set to true. Will document size affect the performance of…
betto86
  • 694
  • 1
  • 8
  • 23
9
votes
1 answer

NodeJs-ElasticSearch Bulk API error handling

I can't find any documentation on what happens if Elastic Bulk API fails on one or more of the actions. For example, for the following request, let's say there is already a document with id "3", so "create" should fail- does this fail all of the…
Mattan Bitner
  • 1,463
  • 3
  • 14
  • 29
9
votes
1 answer

Elasticsearch Scripting: updating array value

This is my document { "name": "andrew", "b": [{"x":"c1", "y": 0}, {"x":"c2", "y": 0}] } I want to find element in the array field "b" and update the entire object. I tried this script but it does not update. Any ideas? { "script": "for…
user3658423
  • 1,904
  • 5
  • 29
  • 49
9
votes
3 answers

Very slow elasticsearch term aggregation. How to improve?

We have ~20M (hotel offers) documents stored in elastic(1.6.2) and the point is to group documents by multiple fields (duration, start_date, adults, kids) and select one cheapest offer out of each group. We have to sort those results by cost…
prikha
  • 1,853
  • 1
  • 16
  • 26
9
votes
1 answer

ElasticSearch aggregation - filter and group by

I'm new to elasticsearch, and trying to execute a query which do something similar to filter and group by. I was able to filter (by using filter) and executing a group by query by using 'terms', but couldn't build a query that does both. That's my…
danieln
  • 4,795
  • 10
  • 42
  • 64
9
votes
4 answers

Cross-Origin Request Blocked elasticsearch

hi am running Elasticsearch version 2.3 and i have an Angular code to query like a search.when i run it i am getting this error even with http.cors.enabled set to true and also with http.cors.allow-origin to…
NEz
  • 151
  • 1
  • 1
  • 13
9
votes
2 answers

Calculating time between events

I have a message that flows through several systems, each system logs message entry and exit with a timestamp and a uuid messageId. I'm ingesting all logs through: filebeat --> logstash --> elastic search --> kibana As a result I now have these…
RaGe
  • 22,696
  • 11
  • 72
  • 104
9
votes
1 answer

Difficulty combining bool and range query, elastic search

I'm having a bit of trouble understanding the various ways to nest queries in elastic search. Here is an example of what my indexed data looks like.. { "Underlying" : "Eurodollar", "Expiration" : "20160315" }, { "Underlying" :…
Zack
  • 13,454
  • 24
  • 75
  • 113
1 2 3
99
100