* feat: add configurable limit to search results
Signed-off-by: Navendu Pottekkat <navendu@apache.org>
* Handle case where params.fuseOpts is not defined
resulting into `Cannot read properties of null (reading 'limit')`
Utilizes search options by fuse https://www.fusejs.io/api/methods.html#search
The options:
limit (type: number): Denotes the max number of returned search results.
---------
Signed-off-by: Navendu Pottekkat <navendu@apache.org>
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>