Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-7847 now.

Unable to disable common word search threshold (fix completed in vcs)

Have seen 2 people report that they are unable to disable the common word threshold by setting it to 0. I have done the following to correct the issue, besides rebuilding the search index:

In includes/search/fulltext_native.php find:

Find:
Code: Select all
            if ($row['word_common'])


Replace with:
Code: Select all
            if ($row['word_common'] && $config['fulltext_native_common_thres'] > 0)


Another way to resolve would be to change the text for the feature and give the option to rebuild the search index but this is much simpler.

Comments / History

Changed ticket severity from "Uncategorised/normal" to "Possibly invalid"

Action performed by Eelke (QA Team) on Nov 7th 2008, 12:31

Posted by DavidIQ (MOD Team Leader) on Nov 7th 2008, 14:28

The 2 topics that I have been involved in related to this:

viewtopic.php?f=46&t=1269815
viewtopic.php?f=46&t=1282045

Assigned ticket to user "naderman"

Action performed by Acyd Burn (Server Manager) on Nov 8th 2008, 19:26

Changed ticket status from "New" to "Fix in progress"

Action performed by naderman (Development Team Leader) on Nov 26th 2008, 19:05

Posted by naderman (Development Team Leader) on Nov 26th 2008, 19:14

I will only change the explanation because your change would have a strange effect: It would only find posts in which the word was used after modifying the threshold.

Linked ticket with changeset: r9126

Action performed by naderman (Development Team Leader) on Nov 26th 2008, 19:17

Changed ticket status from "Fix in progress" to "Fix completed in SVN"

Action performed by naderman (Development Team Leader) on Nov 26th 2008, 19:17

Ticket details

Related SVN changesets