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

Fix invalid pinpoints #927

Merged
merged 2 commits into from
Dec 6, 2024
Merged

Conversation

jaredkhan
Copy link
Collaborator

Fixes #879

Previously, we were not properly ignoring 'name' fields when they have a trailing underscore, causing us to create invalid pinpoints for some search results (e.g. 'Tortoises', 'Big cats', 'Foxes'). This fixes that by properly ignoring those and then using the ozid in cases where there is no other data to make a pinpoint from.

Copy link
Member

@hyanwong hyanwong left a comment

Choose a reason for hiding this comment

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

This is great, especially with the tests. thanks @jaredkhan

@hyanwong hyanwong merged commit 0570bf4 into OneZoom:main Dec 6, 2024
1 check passed
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.

Search results can include nodes that aren't in the OZ tree
2 participants