Search: search over all metadata combined #1544

Closed
opened 2026-02-20 10:10:51 -05:00 by deekerman · 6 comments
Owner

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.

Originally created by @Dr-Blank on GitHub (Nov 22, 2023). ### Describe the feature/enhancement Related - #1401 ## 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.
deekerman 2026-02-20 10:10:51 -05:00
Author
Owner

@advplyr commented on GitHub (Nov 22, 2023):

Which search are you referring to?

@advplyr commented on GitHub (Nov 22, 2023): Which search are you referring to?
Author
Owner

@Dr-Blank commented on GitHub (Nov 23, 2023):

sorry, i should have been more precise

/library/[id]/search?q=atomic%20habits
vs.
/library/[id]/search?q=atomic%20habits%20james%20clear

these urls and also the global search bar

image

image

@Dr-Blank commented on GitHub (Nov 23, 2023): sorry, i should have been more precise `/library/[id]/search?q=atomic%20habits` vs. `/library/[id]/search?q=atomic%20habits%20james%20clear` these urls and also the global search bar ![image](https://github.com/advplyr/audiobookshelf/assets/64108942/e4fae679-2a64-4687-9804-118cd1c0ab5e) ![image](https://github.com/advplyr/audiobookshelf/assets/64108942/f1dc9487-c5d0-4c2e-b77e-49921c3e9014)
Author
Owner

@iconoclasthero commented on GitHub (Nov 25, 2023):

Is there some way to easily make the search fuzzier?

@iconoclasthero commented on GitHub (Nov 25, 2023): Is there some way to easily make the search fuzzier?
Author
Owner

@advplyr commented on GitHub (Nov 25, 2023):

Duplicate of #1401

@advplyr commented on GitHub (Nov 25, 2023): Duplicate of #1401
Author
Owner

@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

@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
Author
Owner

@Dr-Blank commented on GitHub (Nov 25, 2023):

Duplicate of #1401
This is basically the same thing as fuzzy search.

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.

@Dr-Blank commented on GitHub (Nov 25, 2023): > Duplicate of #1401 > This is basically the same thing as fuzzy search. 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/audiobookshelf-advplyr#1544
No description provided.