Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-27657

Add the possibility to change the search implementation with properties in sakai.properties

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.3
    • Fix Version/s: 10.0
    • Component/s: Search
    • Labels:
    • Property addition/change required:
      Yes
    • Previous Issue Keys:
      SRCH-119

      Description

      With the projects of using elastic-search and solr as new search engines comes the problem of the ability to make the choice of the implementation and the possibility of keeping some backward compatibility.

      These patches allow to use the properties "search.indexbuilder.impl" and "search.service.impl" to chose a specific search implementation.
      If not set, a default will be selected.

      The original idea was to use the spring properties and aliases system to allow to change the implementation, unfortunately, the notation "${property.name:defaultValue}" is only available since Spring 3.
      The notation "${property.name}" works in Spring 2, but would cause problems if "property.name" isn't set.

      The 1.3.x patch can be applied on 1.3.x and 1.4.x
      The 1.5.x patch should be applied on 1.5.x (obviously)

        Gliffy Diagrams

          Attachments

          1. 1.3.x.patch
            12 kB
          2. 1.5.x.patch
            14 kB

            Issue Links

              Activity

                People

                • Assignee:
                  jbush John Bush
                  Reporter:
                  makkhdyn Colin Hebert (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code