Re: GroupField Returns

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41077
interpreted = N
texte = From the docs: if you do not specify a sort order explicitly, then WebDNA assumes you want the results sorted by best match, meaning the records which match the most search terms will be shown at the top of the list...I ran some tests to clarify the above for my own peace of mind. The results: WebDNA's ranking is based on the number of individual search terms that match. A group only counts as one term.So, if you search for:wogroup1data=abc&group1field=title+cat+bodythere is only one search term, so you basically get all found items with an equal ranking - there is no preference given for the number of times abc was found, or the number of fields within the group that abc was found in. Basically all found items are assigned a rank of 1.In order to get a more useful ranking, you need to specify more search terms:wotitledata=abc&wocatdata=abc&wobodydata=abchas three terms. If abc shows up in all three, the record will be at the top of the ranking. If it only shows up in 1, it will be at the bottom.Armed with this info, plus the knowledge that you CAN search a field more than once by including it in a group, you can enforce some preference:wotitledata=abc&wogroup1data=abc&group1field=title+cat+bodyhas two terms. If abc is in the title, it will automatically hit on both terms, and therefore be at the top of the ranking.- brianAt 4:35 PM 6/28/02, James Ziegler wrote: >on 6/28/02 16:23, Bob Minor at bob@cybermill.com wrote: > >> What is the priority of group searches? >> >> If I Have a search on title, Category and Description, and I search for >> lantern >> >> >> Which should show up first. An item in with the title Bright Lantern in >> the Category Lanterns and a description which uses the word lantern once. >> >> Or an item which uses the word lantern twice in the description. >> >> Or an item which uses the word once in the title? >> >> I am getting some goofy returns and was just curious how WebDNA ;) >> prioritizes results on a groupfield search. >> >> Robert Minor >> Director of Internet Services > > >I'd like to add to the question: Is there any way to give preferential >treatment to words in one field over another, perhaps in the sorting >process? I want the search to cover both the title and description fields, >but I want matches in the title field to come up first. > >-- >James P. Ziegler >Director of Web Services >Plank Road Publishing >www.musick8.com-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com => <= Macintosh, Internet and Multimedia http://www.artsofauburn.com => <= Development and Consulting =>------------------------------------------------------------- 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: GroupField Returns (Bob Minor 2002)
  2. Re: GroupField Returns (Brian Fries 2002)
  3. Re: GroupField Returns (James Ziegler 2002)
  4. GroupField Returns (Bob Minor 2002)
From the docs: if you do not specify a sort order explicitly, then WebDNA assumes you want the results sorted by best match, meaning the records which match the most search terms will be shown at the top of the list...I ran some tests to clarify the above for my own peace of mind. The results: WebDNA's ranking is based on the number of individual search terms that match. A group only counts as one term.So, if you search for:wogroup1data=abc&group1field=title+cat+bodythere is only one search term, so you basically get all found items with an equal ranking - there is no preference given for the number of times abc was found, or the number of fields within the group that abc was found in. Basically all found items are assigned a rank of 1.In order to get a more useful ranking, you need to specify more search terms:wotitledata=abc&wocatdata=abc&wobodydata=abchas three terms. If abc shows up in all three, the record will be at the top of the ranking. If it only shows up in 1, it will be at the bottom.Armed with this info, plus the knowledge that you CAN search a field more than once by including it in a group, you can enforce some preference:wotitledata=abc&wogroup1data=abc&group1field=title+cat+bodyhas two terms. If abc is in the title, it will automatically hit on both terms, and therefore be at the top of the ranking.- brianAt 4:35 PM 6/28/02, James Ziegler wrote: >on 6/28/02 16:23, Bob Minor at bob@cybermill.com wrote: > >> What is the priority of group searches? >> >> If I Have a search on title, Category and Description, and I search for >> lantern >> >> >> Which should show up first. An item in with the title Bright Lantern in >> the Category Lanterns and a description which uses the word lantern once. >> >> Or an item which uses the word lantern twice in the description. >> >> Or an item which uses the word once in the title? >> >> I am getting some goofy returns and was just curious how WebDNA ;) >> prioritizes results on a groupfield search. >> >> Robert Minor >> Director of Internet Services > > >I'd like to add to the question: Is there any way to give preferential >treatment to words in one field over another, perhaps in the sorting >process? I want the search to cover both the title and description fields, >but I want matches in the title field to come up first. > >-- >James P. Ziegler >Director of Web Services >Plank Road Publishing >www.musick8.com-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com => <= Macintosh, Internet and Multimedia http://www.artsofauburn.com => <= Development and Consulting =>------------------------------------------------------------- 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/ Brian Fries

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 Solutions ... sorry! (1997) WC 2.0 frames feature (1997) taxTotal, too (1997) Menu Madness (2001) Secure server question (1997) f2 download problems (1997) A few questions. . . (1997) WC 2.0 frames feature (1997) Help! WebCat2 bug (1997) [WebDNA] Multiple Instances of WebDNA causing multiple copies of emails (2012) Using the sendmail command on CGate Pro (Unix) (2000) PCS Emailer's role ? (1997) PSC recommends what date format yr 2000??? (1997) WebCat2 - [SendNews] (1997) FRAMES and CART tags problem??!? (1999) SET (1998) Re2: frames & carts (1997) ShowNext (1997) emailer w/F2 (1997) strange problem listfiles and movefile (long) (2000)