zeeguu / api

API for tracking a learner's progress when reading materials in a foreign language and recommending further personalized exercises and readings.
https://zeeguu.org
MIT License
8 stars 23 forks source link

Frontpage Remains Static for Long #205

Closed tfnribeiro closed 1 month ago

tfnribeiro commented 1 month ago

When a user adds a number of searches, it is more likely that the page doesn't update after crawling articles for a few days. This can cause the user to believe there is not any new content to read.

To fix this, we can interweave the searches rather than utilizing a should query (the query itself becomes too complex to satisfy all conditions).

Instead, consider fetching N articles based on the Published Date + Difficulty and Filter on Topics and add Articles based on the Searches from the user. All these can be paginated, so if the user scrolls we combine them in the same way.