feat(labrinth): Add support for dependencies in search#5385
feat(labrinth): Add support for dependencies in search#5385IThundxr wants to merge 13 commits intomodrinth:mainfrom
Conversation
Prospector
left a comment
There was a problem hiding this comment.
I would add each dependency type as a separate array, so like required_dependencies, optional_dependencies, incompatibilities, etc.
Went ahead and made it use a map instead, the output of |
|
Actually, you wouldn't be able to filter those with facets, i'll split them into 3 different arrays |
# Conflicts: # apps/labrinth/src/search/backend/meilisearch/indexing.rs # apps/labrinth/src/search/indexing.rs
fetchfern
left a comment
There was a problem hiding this comment.
Would need to be migrated to typesense since we use it for search now
- Add support for elasticsearch and typesense - New structs for some types - Add version of dependency to search - Address reviews
1388082 to
d7c0f28
Compare
|
Addressed the reviews, and made some additional changes:
A question i have about the db schema is: |
70329fd to
a1181c9
Compare
Adds dependencies to the projects index in meilisearch, this will allow you to search for mods depending on a specific mod. This is a continuation of #4105.
This currently does not include support for searching dependencies in the frontend, some work has been done here but i'm not entirely sure how this should be laid out and look like, i think it'll be better for the team to work on implementing that instead.