Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2999 Investigate replacing concept word with full text search
  3. TRUNK-3860

Use filter instead of query parameters to eliminate duplicates

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: Platform 1.11.0
    • Fix Version/s: Platform 1.11.0
    • Component/s: Concept Dictionary
    • Labels:
      None
    • Complexity:
      High
    • Sprint:
      Soldevelo Sprint 1

      Description

      How to reproduce:
      Search for "mal". You will get no results and a message: "Error while attempting to find concepts - maxClauseCount is set to 1024"

      It's because we're searching for concept names and then executing a new query to eliminate duplicate concepts by ids, a number of which exceeds 1024 in this case. We should use a filter instead of a query.

        Attachments

          Activity

            People

            Assignee:
            raff Rafal Korytkowski
            Reporter:
            raff Rafal Korytkowski
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 4 hours
                3d 4h