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

Ingest aliases #1703

Merged
merged 3 commits into from
Jan 31, 2024
Merged

Ingest aliases #1703

merged 3 commits into from
Jan 31, 2024

Conversation

nickmwangemi
Copy link
Contributor

No description provided.

longhotsummer
longhotsummer previously approved these changes Jan 30, 2024
Copy link
Contributor

@longhotsummer longhotsummer left a comment

Choose a reason for hiding this comment

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

Looks good. However, until Indigo has this field added, it will break because document["aliases"] won't exist.

So either you need to wait until it's deployed. Or, make it more robust with:

aliases = document.get("aliases", [])

that's probably easier and safer

@nickmwangemi nickmwangemi merged commit e0bbfa6 into main Jan 31, 2024
9 checks passed
@nickmwangemi nickmwangemi deleted the aliases branch January 31, 2024 16:55
@shailen-naidoo
Copy link

This looks great, I am going to give it a try.

@shailen-naidoo
Copy link

I tried this on the site but it is not working, I am assuming that it is merged in but still needs to be QA tested?

@longhotsummer
Copy link
Contributor

Hi @shailen-naidoo the supporting part of this in another system is not yet enabled.

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.

As a user I want to be able to search and browse for common aliases of legislation, such as POPIA
3 participants