Wiki Spaces


Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack


Page tree
Skip to end of metadata
Go to start of metadata

Search handlers allow you to provide a custom search capability for any resource. A search request is delegated to a search handler if required and optional parameters are matched. If there are 2 or more search handlers matching the same request for the given resource, then a search id needs to be specified in the request (e.g. ?s=default).

Search handlers are spring components and must implement the SearchHandler interface, e.g. ConceptSearchHandler1_8.

Please note that you should not use single letter parameters (aside from q) as required or optional parameters for your search handler. They are reserved for the framework use.

  • No labels