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 cluster and process index namespacing #75

Merged
merged 7 commits into from
Nov 13, 2023
Merged

Conversation

tomtaylor
Copy link
Collaborator

Support setting an index namespace on a Snap.Cluster on a config and process level. This add some quality of life improvements by making sure that multiple instances of Snap can't touch each other's indexes, as well as test performance improvements by making async tests possible.

As part of this, I added a convenience API for individual documents at Snap.Document, and a count function to Snap.Search.

Support setting an index namespace on a `Snap.Cluster` on a config and process
level. This add some quality of life improvements by making sure that multiple
instances of `Snap` can't touch each other's indexes, as well as test
performance improvements by making async tests possible.

As part of this, I added a convenience API for individual documents at
`Snap.Document`, and a count function to `Snap.Search`.
If we run this in `setup_all` multiple processes will potentially be calling
this.
@tomtaylor tomtaylor merged commit 7628268 into main Nov 13, 2023
4 checks passed
@tomtaylor tomtaylor deleted the test-isolation branch November 13, 2023 10:53
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

Successfully merging this pull request may close these issues.

1 participant