Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7847

Unable to disable common word search threshold

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.0.4
    • 3.0.2
    • Search
    • None
    • PHP Environment: 5.2.6
      Database:

      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:

      				if ($row['word_common'])

      Replace with:

      				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.

            naderman Nils Adermann
            DavidIQ David Colón
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: