#28664 [Ana->Csd]: bug database: three letter strings are being ignored

From: Date: Fri, 25 Jun 2004 08:43:01 +0000
Subject: #28664 [Ana->Csd]: bug database: three letter strings are being ignored
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-25090@lists.php.net to get a copy of this message
ID: 28664 Updated by: derick@php.net Reported By: jsgoupil at lookstrike dot com -Status: Analyzed +Status: Closed Bug Type: Website problem Operating System: WinXP PHP Version: Irrelevant New Comment: The setting was indeed 4, I changed that to 3 and rebuild the indexes. Previous Comments: ------------------------------------------------------------------------ [2004-06-24 23:02:51] philip@php.net It works fine but apparently three letter words (in your case the word 'end') are being ignored, could someone with server access check the mysql ft_min_word_len setting? It should be set to 3 and not 4 otherwise the PHP code will need updating (see format_search_string() in functions.inc) Test words: end, wez, len, str ------------------------------------------------------------------------ [2004-06-07 06:17:57] jsgoupil at lookstrike dot com Description: ------------ When I'm searching a bug into the PHP Database, (because i don't want to post a bug twice), some functions doesn't work correctly ! It could be cool if you can add "Version Number" and option like > 4.1, 4.3, 5.... Reproduce code: --------------- When you arrive on the Advanced Search Page Change Return only bugs with status for "All" Change "Display All Bugs" Search with 2 words (ie. end line)... With the radio button, if you select, any, all or raw, you got exactly the same result... the same number of bugs... Expected result: ---------------- any : (default) One or more (any) of the search terms may be present. all : All search terms are required. raw : Allows full use of MySQL's FULLTEXT boolean search operators. Actual result: -------------- any, all, raw = same result (i think its an any result) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28664&edit=1

« previous php.mirrors (#25090) next »