Hi all,
Search is an important component of OpenMRS AddOns,. As the number of modules increase, an easy and efficient search mechanism becomes ever so important. As a step towards improving the search experience for a user, we would like to add support for advanced query syntax.
Now, advanced query syntax is something that is supported by even the biggest search engines out there like Google Search , Microsoft Bing among others. This method helps narrow down the results of the search based on what exactly the user is looking for.
Here is an example of an advanced query syntax:
type: OMOD tag:Metadata Reference
The result of the search only contains all modules containing the name “Reference”, has “Metadata” as its tag and is an OMOD. Currently, our index only has one module with all these characteristics(Reference Metadata Module).
Thus, in this case, a simple query would have included a number of search results which are not even relevant to the user, with advanced query syntax support, the user can ensure that they can specify their requirements and be presented with results that adhere to those requirements only.
Jira Issue : AO-22