Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-53578

Search should index courseid and userid fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Global search
    • Labels:
    • Testing Instructions:
      Hide
      1. Run solr and core search unit tests
      2. Index some site content (assignment, page, forum post, etc), search, and confirm expected results
        • This patch shouldn't change the behavior of search in any way, so we are just making sure we didn't break it.
      Show
      Run solr and core search unit tests Index some site content (assignment, page, forum post, etc), search, and confirm expected results This patch shouldn't change the behavior of search in any way, so we are just making sure we didn't break it.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-53578-master

      Description

      Currently the courseid field in global search is set to indexed=>false. There is already a ticket to add course filtering to search results, which can't be done if that is off. A field has to be indexed to add a query filter.

      I think we should enable now, even if Moodle 3.1 won't ship with that feature, to prevent a foreseeable cause of a full re-indexing.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16