Description
Blocked by: #2609
Expanding on #364 Improve and expand list searching to search inside list titles.
A List search result is only given if the exact, full name of a list is used in the search. Searching on words that are only part of a list name returns "No results found."
Relevant url?
https://openlibrary.org/search/lists
Steps to Reproduce
- Go to ... https://openlibrary.org/search/lists
- Do ... enter a partial list name, for example, https://openlibrary.org/search/lists?q=banned
- Actual: only exact matches returned
- Expected: any list containing search term should be returned
Proposal & Constraints
We can now replace lists search with solr-backed list search since lists are now in solr! To do so, we will need to:
- add a new
SearchScheme
for lists; see the e.g.AuthorSearchScheme
as an example. - Update the /search/lists controller to now do a solr search instead
openlibrary/openlibrary/plugins/worksearch/code.py
Lines 574 to 597 in 4f0c3c7
openlibrary/openlibrary/plugins/worksearch/code.py
Lines 664 to 674 in 4f0c3c7
- You might need to make some changes to https://github.com/internetarchive/openlibrary/blob/097f52e86c3bbbb65a31c4bc46000d259e30c504/openlibrary/templates/search/lists.html as well.
Stakeholders
Metadata
Metadata
Assignees
Labels
Easy issue. Good for newcomers. [managed]Issues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed]Issues related to the configuration or use of the Solr subsystem. [managed]Important, as time permits. [managed]Issues related to reading ListsIssues related to search UI and backend. [managed]Issue describes a feature or enhancement we'd like to implement. [managed]