citomcclure / noteworthy

A full stack, serverless, web-based note taking app, focusing on user-friendly features like voice notes, which utilizes Speech-to-Text AI to enable more efficient and accurate note taking.
https://drh6zqq3rdeze.cloudfront.net/
0 stars 0 forks source link

Search notes #12

Open citomcclure opened 1 month ago

citomcclure commented 1 month ago

User Story

As a user, I want to search across all my notes so that I can find relevant notes quickly.

citomcclure commented 1 month ago

Using DynamoDB scan operation for search is costly and inefficient, especially with larger tables. In our case, since we need to filter the scan down to a specific user's notes to search, we will be scanning the full table even though the vast majority of that scan (when we have multiple users) will not be used as part of the search.

Best implementation will require storing data in another search service and querying on that.

See here for in depth conversation