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

"Fulltext native" search fooled by hyphens

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.11
    • Fix Version/s: 3.0.13-RC1, 3.1.0-b1
    • Component/s: Search
    • Labels:
      None
    • Environment:
      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

        Issue Links

          Activity

          Hide
          nickvergessen Joas Schilling added a comment -

          This ticket is still open, and the PR is marked as closed (not merged)
          Dhruv, what's the status of a 3.1 Fix, or is it already fixed or ?!?!?

          Show
          nickvergessen Joas Schilling added a comment - This ticket is still open, and the PR is marked as closed (not merged) Dhruv, what's the status of a 3.1 Fix, or is it already fixed or ?!?!?
          Hide
          EXreaction EXreaction [X] (Inactive) added a comment -

          If I understood this correctly, it is fixed for 3.1, just not 3.0.

          Show
          EXreaction EXreaction [X] (Inactive) added a comment - If I understood this correctly, it is fixed for 3.1, just not 3.0.
          Hide
          dhruv.goel92 Dhruv Goel added a comment -

          No, this behaviour is fixed in MySQL fulltext search, the new PR fixes it in Native fulltext search in both olympus and develop.

          Show
          dhruv.goel92 Dhruv Goel added a comment - No, this behaviour is fixed in MySQL fulltext search, the new PR fixes it in Native fulltext search in both olympus and develop.
          Hide
          MaFeSa MaFeSa added a comment -

          Fixed on phpBB 3.1 b1
          Many thanks

          Show
          MaFeSa MaFeSa added a comment - Fixed on phpBB 3.1 b1 Many thanks
          Hide
          bantu Andreas Fischer added a comment -

          Making verified as per previous comment.

          Show
          bantu Andreas Fischer added a comment - Making verified as per previous comment.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development