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

Add a schema facet to the dataset search #2523

Merged
merged 3 commits into from Aug 25, 2020

Conversation

AntoineAugusti
Copy link
Contributor

@AntoineAugusti AntoineAugusti commented Aug 12, 2020

This PR adds a new facet to the dataset search. This will be used to identify resources that satisfy a schema, declared through the schema attribute of resources.

This new facet enables us to identify datasets with resources satisfying a schema. The API endpoint /api/1/datasets/?schema=etalab/schema-irve will list datasets embedding at least a resource satisfying the etalab/schema-irve schema.

We will be able to monitor how many datasets contain resources with schema attribute set with the endpoint /api/1/datasets/?facets=schema

⚠️ This PR requires a reindexation of datasets. This can be done with udata search index datasets

Copy link
Contributor

@abulte abulte left a comment

Choose a reason for hiding this comment

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

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Alexandre Bulté <alexandre@bulte.net>
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.

None yet

2 participants