internetarchive / internetarchive/openlibrary
Language facet numbers are larger than they should be
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
Should count using `_parent_` query. The numbers are based on edition-unaware queries, whereas the actual results are edition aware.
This is potentially quite difficult to fix.
Contributor guide
Research direction
Locate the code that computes language facet counts and compare its edition-unaware query with the edition-aware result query. Start by investigating how the `_parent_` query is used, then verify that language facet numbers match the actual edition-aware results when the fix is complete.
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
- Mostly clear
- Newbie friendliness
- 35/100