Page 1 of 1

Search for German Umlaut not possible

Posted: 04 Mar 2017, 10:50
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.

Re: Search for German Umlaut not possible

Posted: 05 Mar 2017, 02:46
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

Re: Search for German Umlaut not possible

Posted: 06 Mar 2017, 10:40
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!

Re: Search for German Umlaut not possible

Posted: 08 Mar 2017, 10:42
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

Re: Search for German Umlaut not possible

Posted: 09 Mar 2017, 13:58
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.