Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86225 Details for
Bug 132384
Reducing index tables' size and false hits via tolower()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch includes/functions_search.php with tolower() function
functions_search.patch (text/plain), 883 bytes, created by
Alexey Chumakov (RETIRED)
on 2006-05-05 14:14:55 UTC
(
hide
)
Description:
patch includes/functions_search.php with tolower() function
Filename:
MIME Type:
Creator:
Alexey Chumakov (RETIRED)
Created:
2006-05-05 14:14:55 UTC
Size:
883 bytes
patch
obsolete
>--- functions_search.php 2005-11-01 16:00:04.000000000 +0000 >+++ new/functions_search.php 2006-05-06 01:07:00.000000000 +0000 >@@ -90,7 +90,7 @@ > // stopword check. ask brandy about "xsession > // command not found". > >- $entry = str_replace(' ' . trim($stopword) . ' ', ' ', $entry); >+ $entry = str_replace(' ' . trim(strtolower($stopword)) . ' ', ' ', $entry); > } > } > >@@ -101,7 +101,7 @@ > list($replace_synonym, $match_synonym) = split(' ', trim(strtolower($synonym_list[$j]))); > if ( $mode == 'post' || ( $match_synonym != 'not' && $match_synonym != 'and' && $match_synonym != 'or' ) ) > { >- $entry = str_replace(' ' . trim($match_synonym) . ' ', ' ' . trim($replace_synonym) . ' ', $entry); >+ $entry = str_replace(' ' . trim(strtolower($match_synonym)) . ' ', ' ' . trim(strtolower($replace_synonym)) . ' ', $entry); > } > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 132384
: 86225