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

Notion date filter fix #1755

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

danielnaber
Copy link
Contributor

I think the date filter is wrong, it scans too many files as compare_time <= end is always true if you're just trying to get the most recent documents? This causes the connector to run for a long time on each run if your Notion workspace is large.

Copy link

vercel bot commented Jul 1, 2024

@danielnaber is attempting to deploy a commit to the Danswer Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@yuhongsun96 yuhongsun96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, that's entirely correct!

Thanks for the contribution!

@yuhongsun96 yuhongsun96 merged commit 2db128f into danswer-ai:main Jul 2, 2024
1 check failed
@danielnaber danielnaber deleted the notion-date-filter-fix branch July 3, 2024 12:33
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