Questions tagged [elasticsearch]

Elasticsearch is an Open Source (Apache 2), Distributed, RESTful, Search Engine built on top of Lucene.

Elasticsearch is an Open Source under Apache 2 License, Distributed, RESTful, Search Engine built on top of Lucene and developed in JAVA

It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents. It is also document oriented and presents a various set of APIs: Native JAVA, HTTP RESTful.

Also read on why a tag "elasticsearch" instead of "elastic-search" would save the world.

45 questions
20
votes
3 answers

Why would I use ElasticSearch if I already use a graph database?

I don't find any deep explanation on the web about a comparison between ElasticSearch and the graph databases. Both are optimized to traverse data. ElasticSearch seems to be optimized for analytics. However Neo4j is also based on Lucene to manage…
Mik378
  • 3,838
  • 7
  • 33
  • 60
10
votes
6 answers

Is it worth logging HTTP requests when they enter an API server?

I'm designing an API and have reached the topic of logging. I'm going to store my logs in Elasticsearch. I'm certainly going to do some logging at the time the HTTP response is sent back to the client, with info such as processing time, response…
Jan Żankowski
  • 287
  • 1
  • 3
  • 8
8
votes
1 answer

ElasticSearch vs SQL Server full text index for small datasets?

I've got a relatively high-traffic public-facing product-based website backed by SQL Server as the point of authority. It has some search capability on some of the columns of the Items table (year, color, that kind of thing), and then a need for a…
Jorick918
  • 89
  • 1
  • 2
8
votes
2 answers

How does Elastic Search approach the problem of distributed membership and consensus?

I already understand that Elastic Search is supposed to be deployed in a distributed topology, in that you can have multiple nodes for a cluster of ES instances. I like the API, and it looks promising. But I wonder how Elastic Search solves some…
6
votes
1 answer

Elasticsearch and relational database combination

Imagine I have a marketplace application - where users can search for products (we concentrate on clothes). Every product has an ID, name (text), description (text), price (numeric), size (numeric), brand, condition and so on. The users can search…
5
votes
1 answer

Design point for product search and auto-complete using Elastic search?

I need to implement product search using Elastic search similar to it is done on any scalable ecommerce site.I am planning below algorithm for this Whenever product is added to system, First add it in DB and then in ES server. ES will create the…
user3198603
  • 1,896
  • 2
  • 16
  • 21
4
votes
1 answer

ReactJS with Elasticsearch App Architecture

I want some advice regarding my architecture and hosting options. I'm attempting to build an e-commerce site for e-books. It will use nestJS for the backend and ReactJS+Typescript for the frontend. Postgresql will be the DB. I want to use…
Ketra
  • 41
  • 2
4
votes
1 answer

Best practices for dashboard of near real-time analytics

I’m currently building a dashboard to view some analytics about the data generated by my company's product. We use MySQL as our database. The SQL queries to generate the analytics from the raw live data can be a bit complicated and take long time to…
Julien
  • 141
  • 3
3
votes
3 answers

Architecting a universal search for a product with microservices

We are building a new product in real estate space and the end users of this product are not so tech savvy. To have better user experience with our product, we want our users to find relevant things quickly and easily. Apart from a simple UI, a…
3
votes
1 answer

Why is elastic search popular?

Elastic search is basically about indexing of data. In database world, Multiple indexes can be created on a MongoDB collection Collection in MongoDB can be schema-less. In MongoDB, BSON encoding of JSON syntax is used to communicate queries to…
user1787812
  • 739
  • 7
  • 16
3
votes
0 answers

How should I store user activities in ElasticSearch and figure out popular searches?

I've got java logging user activities to Fluentd, Fluentd is then writing these activities into an elasticsearch index. Every user activity is recorded, some include: User1 follows user2 User1 likes article1 User1 creates article User1 searches for…
James111
  • 173
  • 1
  • 7
3
votes
4 answers

Are NoSQL databases the best choice for more efficiently querying large amounts of data?

We are planning to build a travel website in which we will be integrating multiple APIs (eg. DOTW, GTA, Expedia) for Hotels. I have initially tried to use MySQL but since there are huge amounts of data in hotels and it may contain numerous "one to…
2
votes
2 answers

What is the advantage of Kafka connector to MongoDB over using MongoDB change streams?

I need to stream changes from my MongoDB instance to Elasticsearch. I also need to perform complex transformations on changed documents. After doing some research I narrowed my options down to 2: MongoDB native change streams Using a Kafka…
Yos
  • 155
  • 1
  • 10
2
votes
1 answer

eCommerce category path - names vs IDs

I am building an eCommerce website and there is a Category table in my MongoDB database which has a field called path. This field is used to store category hierarchy e.g Boots category will have /women/shoes/boots as the value in the path. I have a…
Irfan
  • 129
  • 3
2
votes
1 answer

Elasticsearch and RDMBS combination

I read both this thread Elasticsearch and PostgreSQL combination and this one Elasticsearch and relational database combination, but I could not come to an answer. Let's say I have to re-create a search engine for MDPI (https://www.mdpi.com/). They…
1
2 3