Yeah, I know, but you don't have that option with Lucene, I guess. I believe
I need to write a custom Sort filter for this but I'm not sure, if that is
the right way to do it.

-----Ursprüngliche Nachricht-----
Von: Todd Carrico [mailto:[email protected]] 
Gesendet: Montag, 25. Januar 2010 17:20
An: [email protected]
Betreff: RE: What would be the best way to get a random ordered result?

Order by new GUID()?

At least, that works pretty good in SQL.

tc

-----Original Message-----
From: Markus Wolters [mailto:[email protected]] 
Sent: Monday, January 25, 2010 10:08 AM
To: [email protected]
Subject: What would be the best way to get a random ordered result?

Hi,

I have one case, where I need a limited resultset in random sort order. What
would be the (best) way to achieve that?

Markus




Reply via email to