Skip to content

feat(topics): add search route#4

Draft
abulte wants to merge 3 commits intofeat/topic-elementsfrom
feat/topic-search-index
Draft

feat(topics): add search route#4
abulte wants to merge 3 commits intofeat/topic-elementsfrom
feat/topic-search-index

Conversation

@abulte
Copy link

@abulte abulte commented Jun 24, 2025

Search service: abulte/udata-search-service#1
Related ecolabdata/ecospheres#580

This exposes the search service for Topics from abulte/udata-search-service#1, and handles indexation.

elements_titles is a concatenation of the elements titles (either element.title or element.element.title), limited to 1000 elements in order to not clog the payload. This is a simple solution for searching among elements when querying Topics (something we need when searching Bouquets in ecologie.data.gouv.fr for example). We might want to design something smarter for huge topics, and also include more fields from elements (description, tags...).

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.

1 participant

Comments