internetarchive / internetarchive/openlibrary

language field should be only at edition level when negated

Open
#7,273 0 comments 0 reactions 0 assignees View on GitHub
Lead: @cdrini Priority: 3 Theme: Search Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

Searching for eg `-language:eng` will exclude all works that have any English edition! Not what we want usually

Contributor guide

Open the contributing guide

Research direction

Start by locating the search implementation for the language field and its negation behavior; no file or test is named in the issue. Reproduce `-language:eng` and trace whether matching occurs at work or edition level. Done means the query excludes works based only on the language of their editions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.