Make author name matching case insensitive
Related: #9003, internetarchive/infogami#221
Problem
A clear and concise description of what you want to happen
On import, author name matching should be case insensitive.
Additional Context
internetarchive/infogami#217 changed ~ to use ILIKE rather than LIKE, and the Open Library code in #9003 relied upon this to perform case insensitive author name matching on import.
However, the Infogami ILIKE change caused performance issues and is slated to be reverted in internetarchive/infogami#221, with ~ doing a LIKE operation and ~i doing an ILIKE operation.
Once internetarchive/infogami#221 is merged, author name resolution will be case sensitive again. However, we can't simply update the Open Library code in openlibrary/catalog/add_book/load_book.py to use ~i, because of the performance issues associated with the ILIKE query, so we'll need to investigate further (perhaps using EXPLAIN can help us see more about the query.
Proposal & Constraints
What is the proposed solution / implementation?
None yet -- this will take more investigation to figure out why ILIKE was such significant performance issues.
Leads
Related files
Stakeholders
Note: Before making a new branch or updating an existing one, please ensure your branch is up to date.