Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-766

Add resource for rebuilding the search index

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.27.0
    • Complexity:
      Low

      Description

      The API allows the rebuild of the entire search index, for a given object or for all entities of a given type, we need to expose this via REST.

      Proposed Design:

      Rebuild entire index

      POST /openmrs/ws/rest/v1/searchindex

      Rebuild index for a given type (type will be matched by resource name)

      POST /openmrs/ws/rest/v1/searchindex/resourceName

      Rebuild index for a specific object (uuid of the resource)

      POST /openmrs/ws/rest/v1/searchindex/resourceName/uuid

        Attachments

          Activity

            People

            Assignee:
            wyclif Wyclif Luyima
            Reporter:
            wyclif Wyclif Luyima
            Designated Committer:
            Dimitri R
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: