Open seabelis opened 2 months ago
@seabelis can you please assign this issue to me?
@AbhinavKRN Before we make progress on this we'll need some more information. Please take a look at other good first issues.
@seabelis (or perhaps @hornc ?) having an example would be super helpful here! I'm also having trouble finding any orphan right now to debug :P Could one of you give a few examples of some orphaned editions?
The rough strategy is:
key:"/works/OL...M"
)docker compose logs --tail=10 -f solr-updater
key:"/works/OL...M"
(note the M
) and for `key:"/books/OL...M"
)The trouble is finding an example. I may have to create one.
Here's one https://openlibrary.org/books/OL11447467M/Canadian_Parliamentary_Guide_Parlementaire_Canadien_Spring_1991.
There are just under 2 million of them in the data base. This command will generate a list of them (from the July dump):
gzcat ol_dump_editions_2024-07-31.txt.gz | grep -v '/works/' | cut -f 2
The first and last 10 edition IDs are:
ia:cihm_87923
ia:egwoerterbuchmat13hilg
ia:isbn_9781401912277
ia:lonestar118timbe00wesl
ia:woodturning00barr
OL65M
OL2468M
OL29539M
OL30054M
OL30362M
OL26874667M
OL26874669M
OL26875324M
OL26877007M
OL26879286M
OL26881645M
OL26881648M
OL26882242M
OL26889833M
OL26891755M
The last 10 were entered by hand through the web interface by users in May 2019, so apparently that's the last time that the problem was seen. The early ones date from MARC bot imports in 2008 and were presumably missed by the Work Bot when it first ran.
Problem
I'm not sure when it started (I first noticed in this past week). Orphaned editions do not appear in search results in either mode (solr editions search on/off).
Evidence / Screenshot
Relevant URL(s)
Reproducing the bug
I don't really have an example, because I can't find an orphan. There is a case where if there's only one record with an isbn and you search for the isbn you will navigate directly to the record. If you try to force the record appear in search results, for example, by searching ISBN and some other text string, it will not. This used to be possible.
Context
Notes from this Issue's Lead
Proposal & constraints
Related files
Stakeholders
@cdrini
Instructions for Contributors