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

fix: obtain unsearchable views before searching for embeddings #1140

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

khorshuheng
Copy link
Collaborator

  1. Views which users are not supposed to view will be filtered out at database level, instead of after retrieval.
  2. Children of trash views should be filtered out as well.
  3. View that corresponds to space will now be filtered out.
  4. There is no need to use a transcation, pg pool would do.
  5. There is no need to join to af_workspace_member.

@khorshuheng khorshuheng force-pushed the filter-before-search branch from c7f0554 to 8be255f Compare January 8, 2025 12:53
@khorshuheng khorshuheng requested a review from appflowy January 8, 2025 13:22
@appflowy appflowy merged commit 0ca22f7 into main Jan 8, 2025
12 checks passed
@appflowy appflowy deleted the filter-before-search branch January 8, 2025 13:49
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.

2 participants