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

Search should index courseid and userid fields

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 3.1
    • Global search
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-53578-master
    • 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.

    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

            emerrill Eric Merrill
            emerrill Eric Merrill
            David Monllaó David Monllaó
            Dan Poltawski Dan Poltawski
            Damyon Wiese Damyon Wiese
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              23/May/16