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

Enhance the management of stop words for concept name indexing

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      OpenMRS creates an index for concept searches by breaking concept names into individual words and placing these into the concept_word table. Certain words should be ignored during indexing (e.g., and, the, if, and, ...). Currently, these are hardcoded, but we would like them to be added to the API so that they can be managed by implementations and can be defined for different locales.

      New table:

      concept_stop_words
      concept_stop_word_id (int)
      word (varchar(50))
      locale (varchar(20))
      uuid (varchar(38))
      • Create the table as described above
      • The list of initial stop words should come from what is currently hardcoded for building the concept_word table contents (indexing).
      • New API methods in the administration service should be created to manage stop words (basic CRUD operations).
      • Manage of stop words should be added to a "Manage Indexes" under the "Admin Concept" section of the administration page (see TRAC-2215 which will use the same admin page so that stop words and word equivalencies can be managed in one place)

        Attachments

        1. 2216-conceptstopwords-senthilvs.patch
          53 kB
          Burke Mamlin
        2. Concept Stop Word screenshot.doc
          393 kB
          Gobinath Thoughtworks [X]
        3. Patch_For_Ticket_2216_v1.3.patch
          442 kB
          Burke Mamlin
        4. Patch_For_Ticket_2216_v2.6.patch
          468 kB
          Burke Mamlin
        5. Patch_For_Ticket_2216_v2.7.patch
          68 kB
          Gobinath Thoughtworks [X]
        6. Patch_For_Ticket_2216_v2.8.patch
          90 kB
          Gobinath Thoughtworks [X]
        7. Patch_For_Ticket_2216_v2.9.patch
          69 kB
          Gobinath Thoughtworks [X]

          Activity

            People

            Assignee:
            gobi Gobinath Thoughtworks [X] (Inactive)
            Reporter:
            burke Burke Mamlin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: