openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Language Search: Show correct Work's Edition in matching target language

Open hornc opened this issue 9 years ago • 14 comments

Searching for a translated edition title results in the correct work, but no way to easily locate the edition

Example: https://openlibrary.org/search?q=Qi+er+Tangmu+Qiongsi+de+li+shi

Correctly show the one work record for: The History of Tom Jones, a Foundling 176 editions By Henry Fielding

but after clicking on the work, there is no easy way to locate that specific edition in the list of many. Readable / Borrowable English version are shown first.

This applies to any work with many (100s) of varied editions, not just translations.

hornc avatar Mar 15 '17 08:03 hornc

Edition record is https://openlibrary.org/books/OL19166668M but the point is valid: facets should be usable to narrow the search results.

LeadSongDog avatar Mar 15 '17 22:03 LeadSongDog

relates to #412

hornc avatar Apr 26 '17 08:04 hornc

This is also an issue when searching by ISBN if associated with more than one record.

seabelis avatar Feb 04 '18 11:02 seabelis

Ideally search results should match up with what the user searched for. In both the translated edition case and the ISBN case, the search result should be the edition. Similarly, hits on an author's AKA name should show the alias in the search result to make it obvious to the user what the connection is with their search.

tfmorris avatar Mar 24 '18 17:03 tfmorris

This is the same root problem as #342

tfmorris avatar Apr 10 '18 06:04 tfmorris

~Solving #2064 will fix this issue, which has an assignee so I'm giving this issue a triage exception tag.~

Actually, after reexamining the issues. #2064 is closely related, but these two issues are seperate. Assigning @mekarpeles per slack discussions since he's assignee of #2064

xayhewalo avatar Oct 28 '19 00:10 xayhewalo

I'm unsure what it looked like when the issue was filed, but is the edition search that exists now good enough here? Following the example link, clicking on the one returned work, and searching for "Qi er Tangmu Qiongsi de li shi" in the edition table search field results in a single edition in the table.

SouthGoingZax avatar Nov 21 '20 01:11 SouthGoingZax

@SouthGoingZax The edition table search is a big help with this issue and did not exist at the time the issue was created. Personally, I consider this solved.

seabelis avatar Nov 21 '20 08:11 seabelis

As I mentioned in my March 2018 comment, if the results don't correlate with the search phrase the user is going to be lost. If they just take a chance and click on the sole search result, they're shown a 1900 English edition, followed by 25 English and French editions. How in the world is that relevant to what they searched for? How are they supposed to know that they need to retype their query in a different search dialog (which is labelled in a foreign language)?

If their search query matches an edition title, that (those) edition(s) should be at the top of the list.

tfmorris avatar Nov 21 '20 18:11 tfmorris

Can someone elaborate on how this is different than #2064? Is this issue about the behavior of the work page after arriving from the search page, and #2064 is about the behavior of the search page?

SouthGoingZax avatar Nov 21 '20 19:11 SouthGoingZax

The "correct" solution is to fix search/Solr, but that's been a work in progress for years and shows no sign over ever implementing even basic features like diacritic folded searches let alone searching an entirely new entity type.

Given that the work page shows the "best" edition, one short term solution would be to fix the algorithm so that it takes into account what's best for the OpenLibrary patrons, as opposed to what the Internet Archive leadership thinks will move their metrics.

In this case, it's pretty clear that the searcher would consider https://openlibrary.org/books/OL19166668M to be the best edition, so I think this could be closed when that edition appears first when the user clicks through from the work in the search results page.

tfmorris avatar Nov 21 '20 23:11 tfmorris

At present the everything search for "Qi er Tangmu Qiongsi de li shi" finds OL45636W and shows OL7026657M as the first choice, which is clearly not correct. Only by a second search (for the specific edition of the work) is the intended OL19166668M shown.

LeadSongDog avatar Nov 27 '20 22:11 LeadSongDog

Ideally, if a search is done in a language:

  1. A Work should have a list of available [i.e. has ocaid] Editions (each with a language) in solr
  2. When one clicks the work, we should note ?language in the work redirect so we can choose the correct language
  3. We should use [1] to show preferably show the matching Edition + title information on the search works page

It boils down to #2064

mekarpeles avatar Jan 23 '21 08:01 mekarpeles

Edition-aware search is now enabled by default! This is fixed :)

cdrini avatar Dec 13 '22 16:12 cdrini