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

Search interprets hyphen as minus sign and excludes search term

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 3.0.9
    • 3.0.12-RC3
    • Search
    • None
    • PHP 5.2.9, MySQL 5.0.67, IE9, Firefox 8.0

    Description

      The hyphen is a problem with the Search feature.
      If I search the following keywords:
      +hide +e-mail
      the search engine interprets it as
      +hide +e -mail (20976 results)
      as if I had told it to exclude 'mail' from the search.
      You can verify this by searching
      +hide -mail +e
      and you get the same results set. (20976 results)
      Since the search feature ignores the 'e', the original search
      +hide +e-mail
      effectively becomes
      +hide -mail (20976 results)
      The user has to know to use quotation marks to prevent this
      +hide +"e-mail"
      which is not in the instructions.

      Attachments

        Issue Links

          Activity

            People

              dhruv.goel92 Dhruv Goel [X] (Inactive)
              CarolC1 CarolC1
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: