mosuka / blast

Blast is a full text search and indexing server, written in Go, built on top of Bleve.
Apache License 2.0
1.08k stars 76 forks source link

Mongodb example #57

Open maxn0d3x opened 5 years ago

maxn0d3x commented 5 years ago

Looks like this project could be a pretty good alternative of Elastic. I am considering of this project for an alternative of Elasticsearch which is super heavy memory consuming index search engine. This can be an alternative for a medium-scale or large scale project? The problem is my main db is Mongodb. Should I extract json from Mongodb periodically and send back to Blast to build indexes? What is the best option for my situation?? I need an example mongodb connector to communicate with Blast via GRPC to realtime build index like the elastic search doing

One more question, Is it a good idea to interact with Blast server from end-user clients. My situation is I want to let users do search/filter items in the browser directly. how about grpc-web?(I know grpc-web project is immature) What about HTTP2 + json(Rest) ?

mosuka commented 5 years ago

Hi @NiNJAD3vel0per ,

Unfortunately, it does not have the same functionality as Elasticsearch. Smaller ones can be migrated, but distributed search and indexing like Elasticsearch are not supported yet. I am working on that development.

Currently, gRPC and a simple HTTP REST API are provided as an interface with clients. Please use these to feed data from DB.

The HTTP REST API has implemented easily now, but I consider to replacing it with something else in the future.