4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Big J on March 27, 2005, 03:06:39 PM

Title: Suche mit Stichwort "man" geht nicht
Post by: Big J on March 27, 2005, 03:06:39 PM
Hallo Leute und frohe Ostern

Ich habe ein total komisches Problem mit der Gallery. Wenn ich mit dem Stichwort "man" (Mann auf Englisch) suche, findet das Script keine Bilder obwohl etliche Bilder dieses Wort als Stichwort haben. Wenn ich nun aber mit "men" (was für nicht englischsprechende Männer bedeutet) finde ich die Bilder. Da "man" ein total wichtiges Suchwort ist, muss ich das irgendwie zum laufen bringen.

Könnte mir hier jemand helfen?


My Problem is, that when I put "man" in the search field no pictures will be found, even if the searchwords are set correctly. But if I search with "men" the pictures will show up. I need to get this working because "man" is one of the most important searchwords.

Thanks for your help.

Cheers and Happy Easter




Title: Re: Suche mit Stichwort "man" geht nicht
Post by: V@no on March 27, 2005, 06:58:56 PM
that's why we have keywords fields, u must add them manualy.
Title: Re: Suche mit Stichwort "man" geht nicht
Post by: RoadDogg on March 28, 2005, 10:27:00 PM
the pics in his gallery have the keywords men AND man...  :?:
Title: Re: Suche mit Stichwort "man" geht nicht
Post by: Big J on March 29, 2005, 11:23:35 AM
@ v@ano

The pictures have the keywords included. Each keyword works with the search form except the keyword "man".
Title: Re: Suche mit Stichwort "man" geht nicht
Post by: V@no on March 29, 2005, 09:04:55 PM
hmmm...and can u search for "man" from ACP (Admin Control Panel) ?
Title: Re: Suche mit Stichwort "man" geht nicht
Post by: Big J on March 30, 2005, 11:52:21 AM
Hi V@no
Thanks for your reply, and yes in the ACP the search works fine with "man".
Title: Re: Suche mit Stichwort "man" geht nicht
Post by: RoadDogg on March 30, 2005, 12:56:39 PM
Ich glaube ich habe es!

4images/lang/deutsch/stop_searchterms.txt

entferne MAN aus der Liste
Title: Re: Suche mit Stichwort "man" geht nicht
Post by: Big J on March 31, 2005, 02:25:09 PM
Hallo RoadDogg

Habs versucht, funktioniert aber leider nicht. :(

Schade
Title: Re: Suche mit Stichwort "man" geht nicht
Post by: Jan on March 31, 2005, 03:26:02 PM
Beachte auch folgenden Abschnitt in includes/constants.php

Code: [Select]
// All words <= MIN_SEARCH_KEYWORD_LENGTH and >= MAX_SEARCH_KEYWORD_LENGTH
// are not added to the search index
define('MIN_SEARCH_KEYWORD_LENGTH', 3);
define('MAX_SEARCH_KEYWORD_LENGTH', 25);

Nach Änderung der Werte (auch bei Änderung der stop_searchterms.txt) solltest Du den Suchindex (http://www.4homepages.de/forum/index.php?topic=6718.0) erneuern.
Title: Re: Suche mit Stichwort "man" geht nicht
Post by: RoadDogg on March 31, 2005, 08:21:42 PM
Nach dem neuen Suchindex muss es ja dann hinhauen  :!:
Habe so lange gesucht  :lol:
Title: Re: Suche mit Stichwort "man" geht nicht
Post by: Big J on April 04, 2005, 07:59:49 AM
Super, nun funktioniert es tipptopp.

Vielen Dank an alle die sich dieses Problems angenommen haben.