Skip to content

Enrich overwrites with more internal metadata#44

Draft
esgn wants to merge 2 commits intomainfrom
16-internal-mtd
Draft

Enrich overwrites with more internal metadata#44
esgn wants to merge 2 commits intomainfrom
16-internal-mtd

Conversation

@esgn
Copy link
Copy Markdown
Member

@esgn esgn commented Apr 16, 2026

closes #16

Split enriched overwrite search terms into dedicated virtual fields: allowed values, represented features, and selection criteria.
Stop indexing allowed value descriptions by default to reduce noisy matches, and update CLI match explanations plus tests accordingly.

Split enriched overwrite search terms into dedicated virtual fields:
allowed values, represented features, and selection criteria. Stop indexing
allowed value descriptions by default to reduce noisy matches, and update
CLI match explanations plus tests accordingly.
@mborne
Copy link
Copy Markdown
Contributor

mborne commented Apr 17, 2026

We have to discuss the model for the allowed values :

Meanwhile, the convergence with IGNF/validator might by planned for the 0.3.x (prepare GPF integration, avoid asking to publish different models for data validation and data discovery)

(*) By allowing the embedding of the code lists in the schema

@mborne
Copy link
Copy Markdown
Contributor

mborne commented Apr 17, 2026

(comment added on IGNF/validator to improve the doc : IGNF/validator#426 (comment) )

@esgn
Copy link
Copy Markdown
Member Author

esgn commented Apr 17, 2026

You're right. This is a draft PR to explore the subject.
It's time we stick more clearly with OGC API feature schema (even if it's a draft)

…nality

- Add `renderCollectionSchema` function to convert collections into JSON Schema format.
- Update `InMemoryCollectionCatalog` to use rendered schemas instead of raw collections.
- Modify search methods to return schemas with scores, enhancing search capabilities.
- Refactor tests to align with schema changes and ensure proper functionality.
- Introduce new types for collection schemas and properties to support the rendering logic.
- Update storage functions to handle collection overwrites and validation.
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.

Gather more internal metadata

2 participants