Search Configuration
Introduction
MatrixALM can do 3 kinds of searches (local, server and miracle), see Finding Items. To make searching easier you can predefined searches.
Usage of predefined searches
MatrixALM allows you setup common used search queries in order to access them through the quick search menu.
Configuration of predefined searches
Predefined searches are stored in a project setting which is in a JSON project setting. I use the following syntax:
searches: // an array of search expressions, each of them a tuple
- name: the name in the drop down menu
- expr: the search string (plain text or mrql: see Matrix Requirements Query Language (MRQL))
Search Configuration Example
{ "searches": [{ "name":"outdated links", "expr":"mrql:outdated=1" },{ "name":"last week", "expr":"mrql:updated<1w" },{ "name":"failed tests", "expr":"mrql:'test run result'~'error'" } ] }
In the following video, see an example of a new predefined search created: