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

Move from modules support to subsystems and all plugin types support

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: FRONTEND
    • Fix Version/s: BACKEND
    • Component/s: Global search
    • Labels:

      Description

      Not only modules are interested in indexing their contents in a search engine, we should allow all moodle components (subsystems and all plugin types) to define what contents they want to index.

      It is very important to document how components can add support for global search as each component will be interested in indexing different kind of components.

      • module and module link fields in search/solr/solr_conf/N.x/schema.xml can be changed for component and componentlink in this issue

      It is out of the scope of this issue to add global search support to other components than modules and course, we will have time for this later, but it is important to define a format that can be used accross components.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            danielneis Daniel Neis added a comment -

            Hello,

            just to note, it seems that the commits listed on the sidebar are not related to this bug.

            Show
            danielneis Daniel Neis added a comment - Hello, just to note, it seems that the commits listed on the sidebar are not related to this bug.
            Hide
            dmonllao David Monllaó added a comment -

            Hi Daniel,

            Sorry, don't get it, where is the side bar? Maybe I hide something long time ago and jira remembers it

            Show
            dmonllao David Monllaó added a comment - Hi Daniel, Sorry, don't get it, where is the side bar? Maybe I hide something long time ago and jira remembers it
            Hide
            danielneis Daniel Neis added a comment -

            Hello,

            i've attached a screenshot of the tracker showing the commits on the right side.

            Show
            danielneis Daniel Neis added a comment - Hello, i've attached a screenshot of the tracker showing the commits on the right side.
            Hide
            danielneis Daniel Neis added a comment -

            Hello,

            I am adapting Global Search to work with Elastic Search and made some progress on this:
            https://github.com/danielneis/moodle/tree/MDL-31989_master

            Kind regards,
            Daniel

            Show
            danielneis Daniel Neis added a comment - Hello, I am adapting Global Search to work with Elastic Search and made some progress on this: https://github.com/danielneis/moodle/tree/MDL-31989_master Kind regards, Daniel
            Hide
            danielneis Daniel Neis added a comment -

            Hello,

            have moved all existing modules from lib.php to db/search.php
            and also have changed code to work with elasticsearch too,
            moving solr classes from plugins code to search/solr/lib.php and search/solr/search.php

            What about the code on course/lib.php ? Should we move it too?

            Kind regards,
            Daniel

            Show
            danielneis Daniel Neis added a comment - Hello, have moved all existing modules from lib.php to db/search.php and also have changed code to work with elasticsearch too, moving solr classes from plugins code to search/solr/lib.php and search/solr/search.php What about the code on course/lib.php ? Should we move it too? Kind regards, Daniel
            Show
            dmonllao David Monllaó added a comment - Closing as work has been finally done in MDL-31989 branch: https://github.com/dmonllao/moodle/compare/MDL-31989_master~6...MDL-31989_master#diff-af77ee00a0c44b2a2b51e63c62e06db7R69

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: