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:

Running 2 two WebCatalog.acgi's (1996) A little syntax help (1997) RequiredFields template (1997) WebDNA 4.5 rpm?!! (2003) is your webDNA site 'froogle' ready ??? (2003) WebCat2.0b15-to many nested [xx] tags (1997) RE: New WebCatalog Version !!! (1997) Showif, Hideif reverse logic ? (1997) Lookup & Form Variables (2000) Formatting of email on NT (1998) Searching (second post) (1999) Can I invoke an ssi plugin from within a webcat page (1997) ShowNext (1997) list items (1998) [SearchString] usage (1997) Upgrading old WebCat Database Files (1997) 3.0 [TEXT] variables (1998) Support ?? (1997) OT: Contract work (2002) problem: search crashes webstar (1997)