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

Hard coded path in Solr service

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1
    • None
    • Global search
    • MOODLE_31_STABLE

    Description

      I tried to connect to a solr server which is not installed in /solr/ path. The Solr module expected that the solr server is reachable by domain/solr/index_name
      e.g.:
      on my solr installation, I have installed Solr server NOT in /solr/ but in test_domain/any path/index_name

      It turns out that the path generated by engine.php (moodle/search/engine/solr/classes/engine.php) is hard coded.

      Tha path should be configurable.

      Currently on testing the connection the solr module creates following URL path:
      domain//solr/index_name/admin/system

      It seems that admin/system only exist on Solr 1.4. I have solr 4.10.
      Is this solr module only works on old solr version?

      Attachments

        Activity

          People

            Unassigned Unassigned
            nicku Nicole Kubik
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: