ID:               28664
 Updated by:       [EMAIL PROTECTED]
-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

Reply via email to