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

Multiple indexes #129

Closed
quasarea opened this issue Jun 15, 2017 · 3 comments
Closed

Multiple indexes #129

quasarea opened this issue Jun 15, 2017 · 3 comments
Assignees

Comments

@quasarea
Copy link

Just an idea, but in my case I have static collection of 20 repositories and other 60 repos that are using different branches in different cases. I wonder how tricky it would be to be separate index process from UI and allowing UI to tap to more than one index.

So I would end up with multiple indexers working with their set of repos and UI that can query against content provided by multiple of them.

It would also help with reindexing I guess, as I could run second indexing service to prepare new indexes, and when its done just update UI configuration, while up to now I have to run second application in local mode, then when its ready stop them and swap their configs. this change would introduce no downtime requirement

@boyter
Copy link
Owner

boyter commented Jun 15, 2017

Actually looking at doing this in the next release 1.3.11 I should probably update the project board to reflect the current plan.

In short I wanted to have the ability to reindex everything and swap the indexes under the hood. Part of the planned fixes that will be going in.

@boyter boyter self-assigned this Jul 30, 2017
@boyter
Copy link
Owner

boyter commented Jul 30, 2017

Most of this is inside the branch newindex. Still need to run it it though a battery of tests before marking this as done though.

@boyter
Copy link
Owner

boyter commented Aug 16, 2017

This is sitting in master branch now. Need to observe it in test for a long time before this gets marked as done. The main thing I am worried about is the background running tasks suspending and terminating when requested by the index. However you can now reindex everything without causing any downtime.

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

No branches or pull requests

2 participants