Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple indexes #77

Closed
lming opened this issue Apr 17, 2020 · 5 comments
Closed

Support multiple indexes #77

lming opened this issue Apr 17, 2020 · 5 comments

Comments

@lming
Copy link

lming commented Apr 17, 2020

It seems the documents are all in a single index. Do you plan to support multiple indexes that user can add documents into and search from separate index?

Thanks for building this great piece of software!

@mosuka
Copy link
Owner

mosuka commented Apr 21, 2020

Hi @lming ,
Sorry for the late reply.

Solr and Elasticsearch can serve multiple indices in a single process, but I don't plan to support that at the moment. Bayard keeps the design simple, serving one index per process.
This is my opinion, as container orchestration systems such as Kubernetes allow more flexibility in resource allocation, there is no longer a need to serve multiple indices on a single node (process) as in the past.

However, while I may support it in the future, it's not in our plans right now.

@lming
Copy link
Author

lming commented Apr 21, 2020

@mosuka thanks for the reply!

I respect your choice but it's arguable that container orchestration of multiple bayard instances is a good replacement of one cluster serving multiple indexes in terms of dev/ops effort - especially when the number of indexes is big and dynamic. (e.g. one index for each customer's data).

@mosuka
Copy link
Owner

mosuka commented Apr 22, 2020

@lming
That makes sense.
I'll try to support multiple indexes when I have time.
Thanks!

@mosuka mosuka closed this as completed Aug 3, 2022
@lming
Copy link
Author

lming commented Aug 3, 2022

Great to see that bayard now supports multiple indexes, thanks a lot @mosuka for implementing this!

A question - is there a limit of how many indexes we can operate in a bayard cluster?

@mosuka
Copy link
Owner

mosuka commented Aug 3, 2022

Hi @lming ,
No limit is set. If you want to run many indexes, you will need to increase the number of Bayard nodes as well.
Please note that I have not yet implemented shard rebalancing when nodes are dynamically added to the cluster...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants