Search for German Umlaut not possible

Post your Server Bug Report
User avatar
Matt Zornig
Contributor
Contributor
Posts: 242
Joined: 14 Feb 2017, 12:03
Has thanked: 38 times
Been thanked: 28 times

Search for German Umlaut not possible

Unread post by Matt Zornig »

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
no search result
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:
search will not throw any results
search will not throw any results
irritating answers from madsonic are:
seach will throw out "useless" results
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.
These users thanked the author Matt Zornig for the post:
Madsonic
Rating: 7.69%
huggenknubbel
Posts: 5
Joined: 13 Nov 2016, 17:33
Has thanked: 4 times
Been thanked: 1 time

Re: Search for German Umlaut not possible

Unread post by huggenknubbel »

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
User avatar
Matt Zornig
Contributor
Contributor
Posts: 242
Joined: 14 Feb 2017, 12:03
Has thanked: 38 times
Been thanked: 28 times

Re: Search for German Umlaut not possible

Unread post by Matt Zornig »

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
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Search for German Umlaut not possible

Unread post by Madsonic »

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
These users thanked the author Madsonic for the post:
jake-
Rating: 7.69%
User avatar
Matt Zornig
Contributor
Contributor
Posts: 242
Joined: 14 Feb 2017, 12:03
Has thanked: 38 times
Been thanked: 28 times

Re: Search for German Umlaut not possible

Unread post by Matt Zornig »

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.
Post Reply