mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:55 -05:00
Search: search over all metadata combined #1544
Labels
No labels
authentication
awaiting release
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/audiobookshelf-advplyr#1544
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dr-Blank on GitHub (Nov 22, 2023).
Describe the feature/enhancement
Related
Case Now:
Searching for "{book title} {author}" does not match the book.
Searching for "{book title}" or "{author}" individually results in a match.
Expected:
Match a book when search terms relating to multiple metadata fields are used.
additional context
this would be lower on the hierarchy of search results and combining it with fuzzy search would make searching an excellent feature.
I am thinking this could be implemented by combing all metadata into one single field and doing a search over that instead of each field individually.
@advplyr commented on GitHub (Nov 22, 2023):
Which search are you referring to?
@Dr-Blank commented on GitHub (Nov 23, 2023):
sorry, i should have been more precise
/library/[id]/search?q=atomic%20habitsvs.
/library/[id]/search?q=atomic%20habits%20james%20clearthese urls and also the global search bar
@iconoclasthero commented on GitHub (Nov 25, 2023):
Is there some way to easily make the search fuzzier?
@advplyr commented on GitHub (Nov 25, 2023):
Duplicate of #1401
@advplyr commented on GitHub (Nov 25, 2023):
This is basically the same thing as fuzzy search. @mikiher has been doing work on this for matching https://github.com/advplyr/audiobookshelf/pull/2186
@Dr-Blank commented on GitHub (Nov 25, 2023):
I did link #1401 in my issue because it would be needed to implement this. What that issue did not cover was inclusion of other metadata fields for searching, it mentioned only searching in book title, hence this issue to support searching in title as well as authors/genres/etc. altogether.
I feel #2186 covers both, this and fuzzy matching.