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

Discrepancy between metadata search and stored metadata #40

Open
wasade opened this issue Jun 7, 2017 · 1 comment
Open

Discrepancy between metadata search and stored metadata #40

wasade opened this issue Jun 7, 2017 · 1 comment

Comments

@wasade
Copy link
Member

wasade commented Jun 7, 2017

When searching for burritos, @ElDeveloper discovered that none of the metadata (as obtained by redbiom fetch sample-metadata contained the stem burrito. On investigation, the issue is that the full metadata load (i.e., redbiom.admin.load_sample_metadata) omits the entire column of values if any entry contains a / character. This is because we communicate with Redis over URLs, and that is a very special character. In this case, the Description metadata column contained valid information and it was only a handful of entries which contained the / mark.

One possible solution: if the entry appears to be actual text and not numeric, remove the '/' mark and store the value. We cannot round trip with what was presented at load unfortunately.

What does need to be improved here though is consistency between what is found via search, and the metadata actually stored in redbiom.

@wasade
Copy link
Member Author

wasade commented Dec 19, 2022

Related to #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant