PG Offline

PG Offline => I need Help ! => Topic started by: gavmac on May 30, 2004, 09:27:50 AM

Title: Question about searching
Post by: gavmac on May 30, 2004, 09:27:50 AM
Wilson,
When do you put quotes >"< around  words or partial words and when are they left off ?
In your example screen shot both scenarios appear.
Thanks
Gavin
Title: Re:Question about searching
Post by: Wilson Logan on May 30, 2004, 09:50:28 AM
Gavin,

 You really only need quotes when you're using logical operators so that the operators themselves are not interpreted as search terms.

e.g. if you want to search all messages for the occurance of

1) Bob and Graham

as opposed to

2) "Bob" AND "Graham"


Obviously search 1) returns only messages containing the string 'Bob and Graham' while search 2) returns any messages containing both 'Bob' and 'Graham'.

To take the example further, if you have 2 messages:

Message 1223   'Bob and Graham are friends'
Message 1224   'Bob dislikes Graham'

Search 1) would return only message 1223 whereas search 2) would return both messages as they both contain the words "Bob" AND "Graham"



Cheers,

Wilson.

Title: Re:Question about searching
Post by: gavmac on May 30, 2004, 10:33:10 PM
Thanks Wilson,
That clears it up nicely
Gavin.