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

Syllabus Search #1570

Open
bearsyankees opened this issue Jan 28, 2024 · 1 comment
Open

Syllabus Search #1570

bearsyankees opened this issue Jan 28, 2024 · 1 comment
Labels
difficult New data structure New information that's currently not present in the catalog data. Probably needs Ferry/API updates Search/filter

Comments

@bearsyankees
Copy link
Member

Search the syllabus!

@bearsyankees bearsyankees added the straightforward Implementation shouldn't be too tricky label Jan 28, 2024
@bearsyankees bearsyankees added difficult and removed straightforward Implementation shouldn't be too tricky difficult labels Jan 28, 2024
@Josh-Cena
Copy link
Member

Josh-Cena commented Jan 29, 2024

For anyone working on this: we need several pieces of infrastructure.

  1. We don't have the syllabus text. We need to scrape it off canvas, but that requires complicated auth.
  2. We can't serve the syllabus text in the same GraphQL endpoint as the catalog data because it's 10x larger. It requires a separate store similar to evaluations.
  3. Related to the point above: we cannot do a naïve string search because that's terrible performance. The likely solution is to build an elastic search index on the server and only download that index.

All of this probably warrants a "difficult" label.

@Josh-Cena Josh-Cena added difficult New data structure New information that's currently not present in the catalog data. Probably needs Ferry/API updates labels Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficult New data structure New information that's currently not present in the catalog data. Probably needs Ferry/API updates Search/filter
Projects
None yet
Development

No branches or pull requests

2 participants