#28664 [Opn->Ana]: bug database: three letter strings are being ignored
| From: | philip@php.net | Date: | Thu, 24 Jun 2004 21:02:53 +0000 |
| Subject: | #28664 [Opn->Ana]: bug database: three letter strings are being ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61331@lists.php.net to get a copy of this message | ||
ID: 28664
Updated by: philip@php.net
-Summary: Searching a Bug into Database
Reported By: jsgoupil at lookstrike dot com
-Status: Open
+Status: Analyzed
Bug Type: Unknown/Other Function
Operating System: WinXP
PHP Version: Irrelevant
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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