Re: Was random sort ever dealt with effectively???

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44416
interpreted = N
texte = Try adding &allhit=1 to the search.> After reading a whole bunch of posts in the archives, I seem to think > returning [founditems] in a random order isn't truly random. > > My code: > > [Search > db=^eg/products.db&eqVisibleDatarq=T&eqPreferredDatarq=No&woSECTIONSdatarq= [cat] &SECTIONSword=ww&namewbrk=+&randomIDtype=num&randomIDsort=1&randomIDsdir=ra] > [numfound] Listings

> [Founditems] > > > If I refresh the page where the search is on I get nearly same listings > at the bottom or at the top and every few I get exact results as > before . . . . > > I even added a new field called randomID with a random number generated > from [cart] to try and get some more randomness. > > No luck. > > Its only 40 items now, but will grow and shrink a lot so a numbering > sequence as was mentioned in the archives wouldn't work very well . . . > . > > Has anyone come up with a good solution to sdir ?? > > Or is it like this just because thats the way it is . .. . > I'm using webcat vers 4.5 on NT 4.0 and IIS > > Thanks > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is > at: http://search.smithmicro.com/ -- Alain Russell Blackpepper Interactive alain.russell@blackpepper.co.nz ph. 09 520 6280------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Was random sort ever dealt with effectively??? (Alain Russell 2002)
  2. Was random sort ever dealt with effectively??? (Lester Emo 2002)
Try adding &allhit=1 to the search.> After reading a whole bunch of posts in the archives, I seem to think > returning [founditems] in a random order isn't truly random. > > My code: > > [Search > db=^eg/products.db&eqVisibleDatarq=T&eqPreferredDatarq=No&woSECTIONSdatarq= [cat] &SECTIONSword=ww&namewbrk=+&randomIDtype=num&randomIDsort=1&randomIDsdir=ra] > [numfound] Listings

> [founditems] > > > If I refresh the page where the search is on I get nearly same listings > at the bottom or at the top and every few I get exact results as > before . . . . > > I even added a new field called randomID with a random number generated > from [cart] to try and get some more randomness. > > No luck. > > Its only 40 items now, but will grow and shrink a lot so a numbering > sequence as was mentioned in the archives wouldn't work very well . . . > . > > Has anyone come up with a good solution to sdir ?? > > Or is it like this just because thats the way it is . .. . > I'm using webcat vers 4.5 on NT 4.0 and IIS > > Thanks > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is > at: http://search.smithmicro.com/ -- Alain Russell Blackpepper Interactive alain.russell@blackpepper.co.nz ph. 09 520 6280------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Alain Russell

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Link with [cart] in db field (1999) 'does not contain' operator needed ... (1997) corrupted images (2002) [WebDNA] Parsing XML...again... (2010) Beta 18 (1997) 2 databases (1997) Separate SSL Server (1997) Deleting Orders (1997) unusual search problem (1998) Username for Admin Group (1997) Navigator Parsing (1997) Setting up shop (1997) Tax on Shipping question (1998) [WriteFile] problems (1997) RE: Formulas.db + Users.db (1997) method of payment (1997) Setting Cart value (2000) snicker, snicker (1997) Sending mail (2001) international time (1997)