View Issue Details

IDProjectCategoryView StatusLast Update
0002354Composrcore_database_driverspublic2019-12-24 18:03
ReporterChris GrahamAssigned ToPatrick Schmalstig 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002354: Detect full-text minimum search length
DescriptionAdd a new fulltext_minimum_search_length() function to DB drivers.
Additional InformationSo we can tidy up code like this...

        if (substr(get_db_type(), 0, 5) == 'mysql') {
            $_min_word_length = $GLOBALS['SITE_DB']->query('SHOW VARIABLES LIKE \'ft_min_word_len\'', null, null);
            if (array_key_exists(0, $_min_word_length)) {
                $min_word_length = intval($_min_word_length[0]['Value']);
            }
        }
TagsRoadmap: v11
Time estimation (hours)2
Sponsorship open

Activities

Chris Graham

2019-12-24 18:03

administrator   ~0006252

You're right, I already implemented this as a result of other tidy up.

Issue History

Date Modified Username Field Change
2016-03-30 13:20 Chris Graham New Issue
2019-06-27 17:52 Chris Graham Tag Attached: Roadmap: v11
2019-07-12 21:21 Chris Graham Assigned To => Patrick Schmalstig
2019-07-12 21:21 Chris Graham Status non-assigned => assigned
2019-12-24 18:03 Chris Graham Status assigned => resolved
2019-12-24 18:03 Chris Graham Resolution open => fixed
2019-12-24 18:03 Chris Graham Note Added: 0006252