Moodle Community Sites

Enable 3cc searches in Moodle Docs

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Component/s: docs.moodle.org
  • Labels:
    None

Description

By default, MySQL full text indexes only include >=4cc words, leaving shorter words out.

There are a lot of acronyms in the Docs (IMS, CVS, GIT...) that aren't found if searched.

TODO:

1) Edit the my.cnf file and set:

[mysqld]
ft_min_word_len=3

[myisamchk]
ft_min_word_len=3

2) Restart the mysql daemon.

3) Iterate over all docs_XX databases and repair the "searchindex" table. That will update the fulltext indexes to work with 3cc words.

References:

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Resolving as fixed. All langs have been processed and should be resolving 3cc searches now. Ciao

Show
Eloy Lafuente (stronk7) added a comment - Resolving as fixed. All langs have been processed and should be resolving 3cc searches now. Ciao
Hide
Helen Foster added a comment -

Three-letter searches of Moodle Docs work perfectly! Many thanks Eloy

Show
Helen Foster added a comment - Three-letter searches of Moodle Docs work perfectly! Many thanks Eloy

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: