Makes the searchParamKey configurable to make it more accurate, previously it was set to suggest, which did not work well for certain endpoints e.g. api/awards
https://127.0.0.1:5000/api/awards?q=micro - returns 10 records containing the word micro in title
whereas, https://127.0.0.1:5000/api/awards?suggest=micro - returns 0 records
this would cause problems when users are searching for relevant results
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
:heart: Thank you for your contribution!
Description
Related to https://github.com/zenodo/zenodo-rdm/issues/890
Makes the searchParamKey configurable to make it more accurate, previously it was set to
suggest
, which did not work well for certain endpoints e.g.api/awards
https://127.0.0.1:5000/api/awards?q=micro
- returns 10 records containing the word micro in title whereas,https://127.0.0.1:5000/api/awards?suggest=micro
- returns 0 records this would cause problems when users are searching for relevant resultsChecklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Frontend
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: