Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5557

Improve performance of ConceptService.getConceptsByMapping

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • Should
    • Resolution: Fixed
    • Core 2.2.0
    • Core 2.6.0, Core 2.5.11
    • None
    • None
    • Medium

    Description

      More and more, form entry frameworks (specifically htmlformentry) and other metadata configuration mechanisms are promoting the use of concept reference terms to refer to concepts.  We have some forms that make over 1000 concept look-ups, to get information to construct and populate a form with the appropriate questions, answers, and other associated concept metadata.  These forms are taking a long time to load, and we have traced the biggest culprit down to loading Concepts by mapping.

      This ticket aims to improve the performance of looking up Concepts by Mapping by refactoring the DAO method to utilize a Lucene index rather than doing a direct query of the database using HQL.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                mseaton Mike Seaton
                mseaton Mike Seaton
                Daniel Kayiwa Daniel Kayiwa
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: