internetarchive / internetarchive/openlibrary
language field should be only at edition level when negated
Open
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
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