Search for German Umlaut not possible

Post your Server Bug Report

Search for German Umlaut not possible

Unread postby Matt Zornig » 04 Mar 2017, 10:50

Code: Select all
=========================================================================================
VERSION: MADSONIC 6.2 | BUILD: 9080.619dd31.20161222.0327
REST: MADSONIC REST API v2.5.0, SUBSONIC REST API v1.14.0
OS: Linux 3.10.77 #8451 SMP Wed Jan 4 00:31:32 CST 2017 x86_64 GNU/Linux
SERVER: jetty/8.y.z-SNAPSHOT, java 1.8.0_121, Linux 3.10.77 (amd64)
HOST: Synology NAS 1815+ (DSM 6.0.2-8451 Update 9) | CPU: INTEL Atom C2538| ARCH: X64 | MEMORY: 6GB | HDD: 36TB, RAID6
BROWSER: FF 51.x
CLIENT: see browser
JAVA: ORACLE JDK 1.8.121
DESCRIPTION: as in the topic's subject
REPRODUCIBLE: Quite often
logged in as admin
=========================================================================================


search (for the artists)

Grossstadtgeflüster

does not return any results for artists, but

search for

Grossstadtgefl

does

search4umlaut.png
no search result


anyway shortening a searchterm, is not convenience or expected by the users. and confusing too :-)


Strangely, sometimes (as is not reproducable, but happens quite often) I get very confusing search results, when searching for Grossstadtgeflüster or other names with special chars.

most common answer from madsonic:
Grossstadtgeflüster-no-result.png
search will not throw any results


irritating answers from madsonic are:
Grossstadtgeflüster-too-much-strange-or-wrong-results1.png
seach will throw out "useless" results


btw: when madsonic throws out that "wrongly" result-list, it will also find correct results when a song contains Grossstadtgeflüster.
unfortunately, I cannot add more than 3 screenshots per posting.
User avatar
Matt Zornig
Contributor
Contributor
 
Posts: 121
Joined: 14 Feb 2017, 12:03
Has thanked: 21 times
Been thanked: 14 times

Re: Search for German Umlaut not possible

Unread postby huggenknubbel » 05 Mar 2017, 02:46

what print it out of you type 'locale' with the madsonic user in?
it need to be an UNTF8 locale set.
you can do that with 'dpkg-reconfigure locales'
That will fix the Webview.

But some apps work MP3-Tag Based. There is no solution right now.
See: http://forum.madsonic.org/viewtopic.php?f=63&t=2067
huggenknubbel
 
Posts: 5
Joined: 13 Nov 2016, 17:33
Location: Jena, Germany
Has thanked: 4 times
Been thanked: 1 time

Re: Search for German Umlaut not possible

Unread postby Matt Zornig » 06 Mar 2017, 10:40

thanks.
console output of my synology nas, logged in as root/admin:
Code: Select all
locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8
huggenknubbel wrote:what print it out of you type 'locale' with the madsonic user in?
it need to be an UNTF8 locale set.
all services (with webgui) on my nas work great and have no problem with special chars or german umlauts. Everything is set up to UTF8.
huggenknubbel wrote:There is no solution right now.
bummer!
User avatar
Matt Zornig
Contributor
Contributor
 
Posts: 121
Joined: 14 Feb 2017, 12:03
Has thanked: 21 times
Been thanked: 14 times

Re: Search for German Umlaut not possible

Unread postby Madevil » 08 Mar 2017, 10:42

Hi there,

with next Madsonic release upgrade to new Apache Lucene 6.4.2 implementation is planed.

search queries like ...

Code: Select all
*DC^2 *mod* Punk^4


or

Code: Select all
*geflü*


will work much better and faster.

search1.png


search2.png


Best regards,
The Madsonic Team
User avatar
Madevil
Administrator
Administrator
 
Posts: 901
Joined: 07 Dec 2012, 03:58
Has thanked: 1312 times
Been thanked: 950 times

Re: Search for German Umlaut not possible

Unread postby Matt Zornig » 09 Mar 2017, 13:58

Madevil wrote:with next Madsonic release upgrade to new Apache Lucene 6.4.2 implementation is planed.

will work much better and faster.
If I can be of any assistance, let me know.
User avatar
Matt Zornig
Contributor
Contributor
 
Posts: 121
Joined: 14 Feb 2017, 12:03
Has thanked: 21 times
Been thanked: 14 times


Return to Bug Reports 6.x

Who is online

Users browsing this forum: No registered users and 2 guests

cron