Re: Word-And searches

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36008
interpreted = N
texte = On 9/8/00 at 8:38 am, johnh@genericaddress.com (John Hill) wrote:> Two things: > > 1. urlize [tofind] waTITLEdatarq=[url][tofind][/url]Will do.> 2. AND means that ALL the search words must be in the title field (fewer > results). OR means only one must be there > OK. What confuses me is that if search for only one word, the search finds nothing. If I search for the same word with word-or, it finds records. This doesn't make sense to me.Rónán > John. > > >I am quite puzzled by the use of the word-and search modifier. If I use it for, > >for example, the Title field of the database in Galway 1 > (http:/www.Galway1.ie), > >the search returns nothing. If I use word-or, which is the default at present, > >the search returns appropriate records. There is something I do not quite > >understand about the use of word-and searches. Perhaps someone on the list > >could enlighten me? > > > >The code in question is: > > [search db=Galway1.db&Titlesort=1&Titlesdir=ra&RandSeed=[date > >%j]&waTitledata=[tofind]&max=10] > > > >[tofind] is the search term from the form. > > > >Thanks for any help you can give me with this, I am quite puzzled. > > > >Rónán > > > > > > > >------------------------------------------------------------- > >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/ > > > --------------------------- > John A. Hill > john@genericaddress.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/ > ------------------------------------------------------------- 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: Word-And searches (John Hill 2000)
  2. Re: Word-And searches (Rónán 2000)
  3. Re: Word-And searches (John Hill 2000)
  4. Word-And searches (Rónán 2000)
On 9/8/00 at 8:38 am, johnh@genericaddress.com (John Hill) wrote:> Two things: > > 1. urlize [tofind] waTITLEdatarq=[url][tofind][/url]Will do.> 2. AND means that ALL the search words must be in the title field (fewer > results). OR means only one must be there > OK. What confuses me is that if search for only one word, the search finds nothing. If I search for the same word with word-or, it finds records. This doesn't make sense to me.Rónán > John. > > >I am quite puzzled by the use of the word-and search modifier. If I use it for, > >for example, the Title field of the database in Galway 1 > (http:/www.Galway1.ie), > >the search returns nothing. If I use word-or, which is the default at present, > >the search returns appropriate records. There is something I do not quite > >understand about the use of word-and searches. Perhaps someone on the list > >could enlighten me? > > > >The code in question is: > > [search db=Galway1.db&Titlesort=1&Titlesdir=ra&RandSeed=[date > >%j]&waTitledata=[tofind]&max=10] > > > >[tofind] is the search term from the form. > > > >Thanks for any help you can give me with this, I am quite puzzled. > > > >Rónán > > > > > > > >------------------------------------------------------------- > >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/ > > > --------------------------- > John A. Hill > john@genericaddress.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/ > ------------------------------------------------------------- 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/ Rónán

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:

Emailer help....! (1997) Search in 2 or more catalogs (1997) WebCatalog can't find database (1997) Anyone using Verisign's Payflow Link for payment processing? (2000) WebCatalog2 Feature Feedback (1996) WebCat2b13 Command Reference Doc error (1997) Generating unique SKU from [cart] - Still Stumped... (1997) Sub Categories (2000) OT-JS why it does not run on Mac (2001) Initiating NewCart (1997) OT- Move SQL DB's (2004) Sort of a Dilemma! (1998) Slow [spawn] (2003) ReturnRaw context (1997) To Err or Not Custom Error (1999) A Global Variable (1997) Question from a Neebie (2000) price on detail, but not shoppingcart (1997) nesting limits? (1998) WC2b15 - [HTMLx]...[/HTMLx] problems (1997)