Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11288

"Fulltext native" search fooled by hyphens

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.0.11
    • 3.0.13-RC1, 3.1.0-b1
    • Search
    • None
    • PHP Version 5.3.6-13ubuntu3.7
      Server version: 5.1.62-0ubuntu0.11.10.1 (Ubuntu)

    Description

      (Note: I marked this as a Major because my user community often needs to search for hyphenated strings, and it is difficult to educate the entire user base that they need to not use hyphens in the search string.)

      For the complete (but short) thread: https://www.phpbb.com/community/viewtopic.php?f=46&t=2167421

      But, to put the relevant information here:

      If I search for "attributes match" in my phpBB, the search correctly locates posts that contain the string "attributes-match". However, if I search for "attributes-match", the following is reported:

      No posts were found because the word attributes-match is not contained in any post.

      The search backend doesn't seem to treat the hyphenated string as two words, in the sense that searching for "attributes match" and "attributes-match" do not return the same results. The first does find posts that contain "attributes-match", but the second does not.

      To summarize:
      1) Searching for "attributes match" returns posts that contain "attributes", "match" and "attributes-match".
      2) Searching for "attributes-match" does not return any posts.

      Thanks!
      pkas1

      Attachments

        Issue Links

          Activity

            People

              dhruv.goel92 Dhruv Goel [X] (Inactive)
              pkas1 pkas1 [X] (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: