Was random sort ever dealt with effectively???

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44408
interpreted = N
texte = 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 IISThanks ------------------------------------------------------------- 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)
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 IISThanks ------------------------------------------------------------- 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/ Lester Emo

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:

BR (1997) Summ=T Problem (1997) What file? (1997) [WebDNA] WebDNA and macOS 10.4 Mojave - Operational? (2018) MasterCounter Help (1998) text area input and convertchars (2002) insecuretextvars preference doesn't work (2000) Full text search (1999) [WebDNA] How high will autonumber go? (2009) Not really WebCat (1997) formulas.db and prices (1999) Country & Ship-to address & other fields ? (1997) Multiple catalog databases and showcart (1997) Help Please WebDNA 6 Secure Forms Problem (2004) Replace with Producteditor.tpl (2000) need to add a sku field to an existing db (2005) Pirated WebCat? NOT... (2003) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Multiple catalog databases and showcart (1997) Cart Number sequence (1997)