View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019430 | MMW 5 | Install/Config | public | 2022-10-06 08:34 | 2022-10-10 12:39 |
Reporter | peke | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | feedback | Resolution | reopened | ||
Product Version | 5.0 | ||||
Target Version | 5.2 | ||||
Summary | 0019430: Search: There is few options missing in search options | ||||
Description | There is few options cases missing in search options 1. "Respect diacritics / Match beginning of words" 2. "Ignore diacritics / Match within words" | ||||
Additional Information | https://www.mediamonkey.com/forum/viewtopic.php?p=501552#p501552 | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||
|
Based on my tests and DB (from FTP). Looks like problem is with quotes. First limited search to Artist, Title, Album, Album Artist, Genre. When I search [Riblja Čorba] then I get correct results. But if I Search ["Riblja Čorba"] then I get no results even Artist is exact match. More info in topic post https://www.mediamonkey.com/forum/viewtopic.php?p=501584#p501584 |
|
To explain how it currently works: Option "Ignore diacritics/ Match beginning of words" is how SQLite's full-text-search engine works, i.e. it uses prefix tokens in it's tokenizer (more at https://www.sqlite.org/fts5.html ) so it is indexed in the way that you can use 'pus' token to find "Pušenje" , but you can't use 'us' token to find "Pušenje" (it finds just "ušenje") Searchring using the indexed tokens are faster therefore we have the default option: "Ignore diacritics/ Match beginning of words (faster)" But for the users (mainly usable on oriantel languages like Japanse, Chinesse) we introduced "Respect diacritics / Match within words" that doesn't use FTS at all and uses simply SQL 'LIKE' operator ( https://www.w3schools.com/sql/sql_like.asp ) i.e. it can find exact match within word, but can't ignore diacritics and is slower. Introducing "Ignore diacritics / Match within words" is technicaly not an easy task and would require replacement of our full text search indexing engine + blows up the DB size. I would very like to avoid this complex change unless it is really necessary for some reason. In addition I agree with Rusty that almost no other software has the type of search settings that MM has re. diacritics / whole words / etc. the reason being that it's more complex than most users are willing able to deal with. Therefore I am resolving this as "no change required" , can be re-opened, but not as 5.0.4 item and certainly with a lower priority. |
|
Searching 'cor' with setting "Respect diacritics / Match within words" will find album 'the last unicorn' but will not Find 'Riblja Čorba' Artist due the Respect diacritics. Same will go if you put your own name as artist like 'DJLuděk' and search 'Ludek'. It is very very useful even it just uses LIKE. |
|
I think that issue was that the area seemed unnecessarily complex by using inconsistent wording ie. Match Beginning of words vs Match within words Thanks Ludek. I understand the reason for that now. The "respect diacritics" option *is* different. It is more powerful, although it is bit slower |