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

Consolidate program names during solr import #769

Open
ajkiessl opened this issue May 16, 2024 · 2 comments · Fixed by #789
Open

Consolidate program names during solr import #769

ajkiessl opened this issue May 16, 2024 · 2 comments · Fixed by #789
Assignees

Comments

@ajkiessl
Copy link
Contributor

ajkiessl commented May 16, 2024

Since we started importing program names from LionPATH, we now will have three different programs names for some programs. The three exist because LionPATH differentiates between MS and PHD programs by appending a (MS) or (PHD) to the end of the program name and we still store the old program name which has neither.

For example, if the old program name was "Mechanical Engineering", there are now these three program names in the DB:

  • Mechanical Engineering
  • Mechanical Engineering (MS)
  • Mechanical Engineering (PHD)

This causes problems on the explore side when users are searching. If they filter down the program to just "Mechanical Engineering", they won't be able to see the "Mechanical Engineering (MS)" and "Mechanical Engineering (PHD)" submissions.

We can fix this by stripping the " (MS)" and " (PHD)" off the program names during the solr import. These don't need to be there in explore since users can filter on degree type (MS or PHD).

@ajkiessl ajkiessl moved this to To do in ETDA Workflow May 28, 2024
@ajkiessl ajkiessl moved this from To do to Next Sprint in ETDA Workflow Jun 3, 2024
@Smullz622 Smullz622 self-assigned this Jun 11, 2024
@Smullz622 Smullz622 moved this from Next Sprint to In progress in ETDA Workflow Jun 11, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done (In QA for Review) in ETDA Workflow Jun 24, 2024
@ajkiessl
Copy link
Contributor Author

ajkiessl commented Jul 8, 2024

Reopening. Not urgent, but we should also add '(MA)' and '(DED)' to the regex that detects what to consolidate. We receive a lot less of these from LP compared to '(MS)' and '(PHD)', but they should still be addressed.

There are also some '(PHD)'s that did not consolidate. We should look into those.

@ajkiessl ajkiessl reopened this Jul 8, 2024
@github-project-automation github-project-automation bot moved this from Done (In QA for Review) to In progress in ETDA Workflow Jul 8, 2024
@ajkiessl ajkiessl moved this from In progress to To do in ETDA Workflow Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

Successfully merging a pull request may close this issue.

2 participants