stronglink
stronglink copied to clipboard
Estimate the number of search results
We should keep statistics so we can estimate the number of results for any given query. This estimate must be much faster than generating a full list of results.
Uses:
- To show to the user, like on Google
- For a better pagination interface?
- For efficient random lists?
I don't know much about how to do this... Something like https://en.wikipedia.org/wiki/HyperLogLog ?