internetarchive / internetarchive/openlibrary

Book Page: Other Editions Table → Solr

Open
#7,451 9 comments 0 reactions 1 assignee Claimed by @RsbhThakur View on GitHub
Affects: Experience Lead: @mekarpeles Module: Books Page Module: Solr Needs: Response Priority: 2 Theme: Book Page Theme: Performance Type: Feature Request
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

### Describe the problem that you'd like solved

Today, the "Other Editions" table is one of the most expensive parts to load of our Book Page, which is one of our more important pages; see: #6195. There are two main reasons for this:

1. It requires we fetch lots of records from infogami
2. It requires we fetch Bulk Book Availability info for these items

The table has other issues. Most patrons likely only want readable books in the list. But to determine this (without solr) we need to fetch more than we need from infogami. This results in issues like #7233

### Proposal & Constraints

This issue proposes we:
1. switch the Other Editions table to use Solr Editions instead of infogami
2. update the search function so it also uses Solr (solving #7233)
3. Get a further win by pairing this issue with #7450 (to remove the Bulk Availability check)

### Stakeholders

@cdrini @mekarpeles @jimchamp

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.