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

!!! BUGFIX: Contexts are respected in a multi-site environment. #65

Merged

Conversation

daniellienert
Copy link
Contributor

Multiple contexts are treaded as disjunction. That means, nodes are suggested if they either are in the live workspace
or from the requested site, which makes the site restriction worthless.

This fix merges the site, workspace and hidden state into one context and uses that for filtering.

Fixes: #54

@daniellienert daniellienert force-pushed the bugfix/fix-suggestion-context branch 2 times, most recently from 804031d to 8edf106 Compare July 13, 2021 06:24
Multiple contexts are treaded as disjunction. That means, nodes are suggested if they either are in the live workspace
or from the requested site, which makes the site restriction worthless.

This fix merges the site, workspace and hidden state into one context and uses that for filtering.

Fixes: Flowpack#54
@daniellienert daniellienert force-pushed the bugfix/fix-suggestion-context branch from 8edf106 to 0e0951c Compare July 13, 2021 16:06
@daniellienert daniellienert merged commit 75473a3 into Flowpack:master Jul 13, 2021
@daniellienert daniellienert deleted the bugfix/fix-suggestion-context branch July 13, 2021 16:06
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.

Multiple contexts seem to be unsupported for Elasticsearch 5+
1 participant