MySQL Forums
Forum List  »  German

Re: Problem mit Volltext Suche bei kodierten Umlauten (seltsames Verhalten von "MATCH(spalte) AGAINST ('suchwort' IN BOOLEAN MODE)"
Posted by: Web Team
Date: April 21, 2010 08:01AM

Hallo Markus,

vielen dank für Deine erneute Hilfe, aber leider hat das noch nicht zum gewünschten Ergebnis geführt. Nachfolgend mal eine Art Protokoll der von mir durchgeführten Befehle:

/* Auslesen der Variable ft_boolean_syntax zum Überprüfen des aktuellen Werts */
SHOW VARIABLES LIKE 'ft_boolean_syntax';
-->
Variable_name: ft_boolean_syntax
Value: + -><()~*:""&|


/* Setzen der Variable ft_boolean_syntax (& ersetzt durch #)
SET GLOBAL ft_boolean_syntax = '+ -><()~*:""#|';


/* Erneutes Auslesen der Variable ft_boolean_syntax zum Überprüfen des aktuellen Werts */
SHOW VARIABLES LIKE 'ft_boolean_syntax';
-->
Variable_name: ft_boolean_syntax
Value: + -><()~*:""#|


/* Erneute Volltextsuche mit tbl_html_umlauts (funktioniert noch nicht/Ergebnis enthält alle Datensätze die ein "ö" bzw. "&ouml;" enthalten) */
SELECT * FROM tbl_html_umlauts WHERE MATCH(content_text) AGAINST ('K&ouml;ln' IN BOOLEAN MODE);
-->
content_id; content_text
4; K&ouml;ln
27; M&ouml;nchengladbach
61; G&ouml;ttingen

Ich wollte die Anpassung des Parameters ft_boolean_syntax erst dann im Konfigurationsfile vornehmen, wenn die Tests einwandfrei laufen, oder meinst Du, dass es daran hängen kann?

Oder hast Du noch eine Idee?

Gruß
Toby

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.