Re: user selectable sort order
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33717
interpreted = N
texte = Thank you for the answer.As for the urban legend. I thought someone from PCS had mentioned once that storing dates as numbers would speed up sorting and comparisons as they would be treated as numbers. Because storing them as real dates causes WC to convert them to numbers first before doing any calculations.For this reason I am planning on converting the dates from the existing format to the text sortable. Could you please verify the above for me and the other here as far as performance goes?Thank youOn Monday, June 26, 2000, WebDNA Support
wrote:>>[Search>db=/databases/members.db&eqCountryDatarq=[country]&CountryCase=T&eqCityDatarq=[url][city][/url]&eqstateDatarq=[state]&StateCase=T&max=[max_records]&[sortParam]Sort=1&[sortParam]Type=Date&[sortParam]Sdir=[sortDir]&startAt=[startat]]>>>>The results are not sorted properly. At least not in the way I would >>like them to be sorted.>>You are searching multiple fields, which means WebCatalog sorts by >'best match', meaning that records which match the most criteria will >be sorted to the top, then sub-sorted by date within that>order.>>If you want to disable the 'best match' sorting so that your date >sorting overrides it, add allHit=1 to your search criteria.>>There is no need to convert your dates to some numeric format -- that >is an urban legend.>>Technical Support **********************************>Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)>16855 West Bernardo Drive, #380 | ------------------------->San Diego, CA 92127 | Software & Site Development>WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com> Fax: (858) 675-0372 >**********************************>>------------------------------------------------------------->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/>-------------------------------------------------------------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:
Thank you for the answer.As for the urban legend. I thought someone from PCS had mentioned once that storing dates as numbers would speed up sorting and comparisons as they would be treated as numbers. Because storing them as real dates causes WC to convert them to numbers first before doing any calculations.For this reason I am planning on converting the dates from the existing format to the text sortable. Could you please verify the above for me and the other here as far as performance goes?Thank youOn Monday, June 26, 2000, WebDNA Support wrote:>>[Search>db=/databases/members.db&eqCountryDatarq=[country]&CountryCase=T&eqCityDatarq=[url][city][/url]&eqstateDatarq=[state]&StateCase=T&max=[max_records]&[sortParam]Sort=1&[sortParam]Type=Date&[sortParam]Sdir=[sortDir]&startAt=[startat]]>>>>The results are not sorted properly. At least not in the way I would >>like them to be sorted.>>You are searching multiple fields, which means WebCatalog sorts by >'best match', meaning that records which match the most criteria will >be sorted to the top, then sub-sorted by date within that>order.>>If you want to disable the 'best match' sorting so that your date >sorting overrides it, add allHit=1 to your search criteria.>>There is no need to convert your dates to some numeric format -- that >is an urban legend.>>Technical Support **********************************>Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)>16855 West Bernardo Drive, #380 | ------------------------->San Diego, CA 92127 | Software & Site Development>WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com> Fax: (858) 675-0372 >**********************************>>------------------------------------------------------------->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/>-------------------------------------------------------------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/
Dale
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:
webdna&domain name again (2003)
search question (2001)
WebCat editing, SiteGuard & SiteEdit (1997)
E-Mail Formatting (2000)
How do I get Google to crawl a WebCat site? (2003)
more trouble with [showif] in [search] = busted [shownext] (2000)
MacOS alias identification? (1998)
includes and cart numbers (1997)
Adding non-SKUs to cart (1998)
WebCat and tracking click through's (2001)
[WebDNA] Authnet temporarily down? (2009)
[BULK] [WebDNA] port from mime headers? (2017)
WebCatalog2 Feature Feedback (1996)
bypassing typo's (1998)
HTML Editors (1997)
CVS Files for databases (2000)
Another form question (2000)
[WebDNA] How to create a MD5 hash & decrypt it (2011)
Calculating days, hours, minutes ago (2004)
SiteGaurd file Cache vs webcatalog cache (1997)