https://bugzilla.wikimedia.org/show_bug.cgi?id=25931

--- Comment #23 from Tim Starling <[email protected]> 2012-04-26 04:19:43 
UTC ---
(In reply to comment #22)
> (In reply to comment #21)
> > <binasher> vvv: RoanKattouw: if the query is like what roan mentioned above,
> > -1.  this sort of thing should be done with a search engine and is probably
> > even doable with the one we have
> 
> What do you mean? Which search engines return random pages?

Search engines have pregenerated document lists stored in an efficient format
for various criteria. Usually the presence or absence of a given keyword is the
criterion of interest, but membership in a category can be handled in the same
way. Since the list is pregenerated, the length is known, so you can choose a
random offset into the category and perhaps even skip to that offset
efficiently. Asher probably means that if Lucene doesn't have such a feature
already, it could be patched in.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to