Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I had to switch away from Algolia - the problem is they only model "show items on the homepage" using a tag that's automatically applied to exactly 30 items, which means any filtering knocks that down to eg 15.

I switched to using the older firebase API which can return up to 500 item IDs from the current (paginated) homepage - then I fetch and filter details of the first 200.

https://github.com/simonw/tools/commit/ccde4586a1d95ce9f5615...



I should have looked at your source, I didn't realize you were using the Algolia API




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: