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

Improve MySQL fulltext search indexes

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Search
    • Labels:
      None

      Description

      Current:
      post_subject(post_subject)
      post_text(post_text)
      post_content(post_subject, post_text)

      Better:
      post_subject(post_subject)
      post_content(post_text, post_subject)

      Note that the columns of post_content have been switched.

        Issue Links

          Activity

          Hide
          dhruv.goel92 Dhruv Goel added a comment -

          (8:39:43 PM) bantu: messages: post_content
          (8:39:44 PM) bantu: both: post_content
          (8:39:50 PM) bantu: subject only: post_subject
          for title only searched, the post_content index can be used too. But it would be very slow because it would first have to search through post_text which is why you want the extra index.

          Show
          dhruv.goel92 Dhruv Goel added a comment - (8:39:43 PM) bantu: messages: post_content (8:39:44 PM) bantu: both: post_content (8:39:50 PM) bantu: subject only: post_subject for title only searched, the post_content index can be used too. But it would be very slow because it would first have to search through post_text which is why you want the extra index.
          Hide
          bantu Andreas Fischer added a comment -

          Please run some EXPLAIN queries to verify what I said.

          Show
          bantu Andreas Fischer added a comment - Please run some EXPLAIN queries to verify what I said.
          Hide
          bantu Andreas Fischer added a comment -

          Wrong button

          Show
          bantu Andreas Fischer added a comment - Wrong button

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              dhruv.goel92 Dhruv Goel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development