mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:55 -05:00
[Bug]: Search not working correctly #1474
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#1474
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 @dedors on GitHub (Oct 21, 2023).
Describe the issue
When I perform a search with numbers, the results are not what I am expecting.
Search Query:
TEXT 04
Expected Results:
13 Results, episode number 040 - 049, plus 004, 104 and 204 (etc) should be listed.
Both partial and full number does not work, it needs to be at begining and include the "-"
This affects the android and the web client.
Steps to reproduce the issue
Number partially at end:



Number complete at end:
Number in front without
-Finally what works (for one number only). Placeholder


04* -or04? -doesn't work too.for reference, partial text does work:
Additional issue: It also gives no results when alternative German Umlaut is used (ü = ue, ä = ae, ö = oe) which is sometimes used to avoid encoding issues.
It doesn't even work when there is some metadata (in the example below the autor) that uses the one I put in the search bar.
It would be nice to have fuzzy search (spelling error and it still gives results with lower sort priority). Maybe that could also weaken the Umlaut problem.
(Advanced search too, which was already posted https://github.com/advplyr/audiobookshelf/issues/2197 )
Audiobookshelf version
2.4.4
How are you running audiobookshelf?
Docker
@advplyr commented on GitHub (Oct 21, 2023):
I'm not seeing a bug here, it seems like you are requesting a fuzzy search feature. I'll mark this as a duplicate of #1401 unless you can clarify a bug.
There is a bug with capitalization that will be fixed in the next release: https://github.com/advplyr/audiobookshelf/issues/2187
@advplyr commented on GitHub (Oct 21, 2023):
Duplicate of #1401
@dedors commented on GitHub (Oct 21, 2023):
As far as I understand fuzzy search is only for misspelling? But maybe it would also solve the whole issue?
I hope this clarifies my description:
Currently, it only performs searches as if the query were enclosed in double quotation marks.
The order of words probably should not be a strict requirement, and demanding such exactness that even the use of
-is necessary isn't something most people would anticipate, I believe.Also it only searches the title, other metadata is ignored. I would assume that at least series, autor, narrator, genres, tags and year should be important too. (would fix what you see on the last 2 images)
@advplyr commented on GitHub (Oct 21, 2023):
Ah yes, got it. Currently the search is basic. It is looking for exact string matches (case-insensitive). What you are requesting would be handled if we implement the advanced search you mentioned in #2197. Feel free to add additional notes to that issue if it is missing something.
It does search all of these but they have to be exact string matches.