internetarchive / internetarchive/openlibrary

Bulk Search should support Edition-aware searches.

Open
#9,990 0 comments 0 reactions 0 assignees View on GitHub
Lead: @cdrini Needs: Breakdown Priority: 3 Type: Feature Request
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 14h
Merged PRs (30d)
126

Description

### Proposal

Currently, Bulk Search is not 'edition aware'-- meaning that when the search cards are filled out, they uniformly use the work's title and image. Ideally, we would instead have the search card display the matching edition's title and cover image in this place..

![image](https://github.com/user-attachments/assets/b3f9ff69-7857-4bfb-9f1e-bdec8f6804aa)

### Justification

Currently, our main search function is edition aware, but this is not implemented into Bulk Search. Adding this functionality will bring the two closer together in their desired behavior.

The impact will likely not be major, but it's a feature that definitely is missing from the current version of Bulk Search.

### Breakdown

#### Requirements Checklist

Bulk Search cards should use an edition coverid and the edition's title in place of the work's title and cover.

#### Related files

*

#### Stakeholders

@cdrini


#### Instructions for Contributors

Please [run these commands](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#working-on-your-branch) to ensure your repository is up to date **before** [creating a new branch](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#making-changes-and-creating-a-pull-request) to work on this issue and **each time after** pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.

Contributor guide

Open the contributing guide

Research direction

No related files or tests are identified. Start by locating the Bulk Search implementation and comparing it with the edition-aware main search function; confirm how the matching edition is selected and represented. Done means Bulk Search cards display the matching edition's title and cover image instead of the work's values.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.