BuddhaNexus / buddhanexus

Backend for the Buddhanexus project
8 stars 2 forks source link

Add pagination/search endpoint for menu #301

Open TrebuhD opened 1 year ago

TrebuhD commented 1 year ago

The https://buddhanexus2.kc-tbts.uni-hamburg.de/api/menus/${language} endpoint currently responds with all data at once. We should add pagination there and support it in the frontend components, or ideally - use something like Algolia or ElasticSearch.

aminahbl commented 8 months ago

~Hey @sebastian-nehrdich I've commandeered this old ticket to define items still needed for search.~ Oops! I missed that this was for the menu search, rather than global search — I've restored the original ticket. 😊

ayya-vimala commented 6 months ago

@TrebuhD - Is this still an issue? Would it work if I just add pagination to the ArangoDB query?

TrebuhD commented 6 months ago

@ayya-vimala sorry, not sure - I would need to look at this again. Maybe @sebastian-nehrdich has an idea about the size of the data returned there?