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

Create a controller for Additional search views #2850

Closed
obulat opened this issue Aug 21, 2023 · 0 comments · Fixed by #2853
Closed

Create a controller for Additional search views #2850

obulat opened this issue Aug 21, 2023 · 0 comments · Fixed by #2853
Assignees
Labels
💻 aspect: code Concerns the software code in the repository 🌟 goal: addition Addition of new feature 🟧 priority: high Stalls work on the project or its dependents 🧱 stack: api Related to the Django API

Comments

@obulat
Copy link
Contributor

obulat commented Aug 21, 2023

Problem

Search controller in the API cannot return the results necessary for additional search views project.

Description

The collection controller should re-use some of the search controller functionality, but the query should be constructed differently:

  • only the specific tag, source or source+creator filters should be applied. No search query with q or search within title/description/tag is necessary.
  • items should be sorted by created_on.
  • tag view should probably also use the popularity and authority boosting for ranking the results.

Additional context

The additional search views project implementation plan: https://docs.openverse.org/projects/proposals/additional_search_views/20230719-implementation_plan_additional_search_views.html

@obulat obulat added 🟧 priority: high Stalls work on the project or its dependents 🌟 goal: addition Addition of new feature 💻 aspect: code Concerns the software code in the repository 🧱 stack: api Related to the Django API labels Aug 21, 2023
@obulat obulat self-assigned this Aug 21, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Openverse Backlog Aug 21, 2023
@obulat obulat moved this from 📋 Backlog to 📅 To do in Openverse Backlog Aug 21, 2023
@obulat obulat moved this from 📅 To do to 🏗 In progress in Openverse Backlog Aug 21, 2023
@sarayourfriend sarayourfriend moved this from 🏗 In progress to ⛔ Blocked in Openverse Backlog Oct 23, 2023
@github-project-automation github-project-automation bot moved this from ⛔ Blocked to ✅ Done in Openverse Backlog Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🌟 goal: addition Addition of new feature 🟧 priority: high Stalls work on the project or its dependents 🧱 stack: api Related to the Django API
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant