benoitc / benoitc/couch_randomdoc

Add _random_docs?limit=5

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Erlang
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I think it would be useful to be able to retrieve multiple random docs, limited by a certain amount of documents. By default it should probably be just 5 or something, because it could get somewhat inefficient with a high number of docs. Returned docs should be unique. Order could be random too.

Now that I think about it, wouldn't it make sense to be able to get random entries from a view (instead)?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.