🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #44154

Re: filters??? for Gravity 2.1

#44154
From: Tom B.
Date: Fri, 30 Oct 1998 00:00
71 lines
2422 bytes
DancesWithWords posted ...

 [ snip ] 
> Well this was a filter I tried to create in the above note.  My aim was 
> to exclude Variations of US, engineer, Senior etc while on the other hand 
> include the words Ottawa, web, web designer etc.
> 
> As you can see I'm trying to build a filter for a job search.  Maybe I'm 
> approaching this from the wrong point of view.  As I said I'm not so good 
> at this.
> 
> I was trying to use "not" to mean I don't want it to show up in my 
> results at these do show if I just use the "contains" Ottawa, Web, Web 
> Designer etc....
> 
> 
> Not
>    (
>    Subject contains "US"
>    Or
>    Subject contains "U.S."
>    Or
>    Subject contains "u.s."
>    Or
>    Subject contains "us"
>    Or
>    Subject contains "engineer"
>    Or
>    Subject contains "senior"
>    )
> Or
> Subject contains "ottawa"
> Or
> Subject contains "web"
> Or
> 

This looks like you are barking up the right tree.
First, case doesn't matter so, 'us' will find 'us' or 'US'.

I would leave off the ending "OR" (there is no following 
condition) and change the operator between the "does contain " and 
"does not contain" to AND. Finally, I would list the positives 
first enclosed in parentheses like this (ok I'm being picky but it 
makes it easier to understand):

(
   Subject contains "ottawa"
   Or
   Subject contains "web"
)

And
Not
   (
   Subject contains "us"
   Or
   Subject contains "u.s."
   Or
   Subject contains "senior"
   )
 

This should do it. By the way, if you are familiar with Gravity's 
scoring system, it is great for this type of thing.
-- 

     Tom B.   NAPLES, FL
     nfn03862@naples.net

Technical Details
Message-ID: <MPG.10a3dfd5cc67c5bb989810@news.naplesfl.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <MPG.10a071d3c55bce9c9896a0@news.uottawa.ca> <MPG.10a1992446d8e0bc98980e@news.naplesfl.net> <MPG.10a3bafdc59bab069896a2@news.uottawa.ca>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.10a3dfd5cc67c5bb989810@news.naplesfl.net>
Subject: Re: filters??? for Gravity 2.1
Date: Fri, 30 Oct 1998 00:00:00 +0000
From: nfn03862@naples.net (Tom B.)
References: <MPG.10a071d3c55bce9c9896a0@news.uottawa.ca> <MPG.10a1992446d8e0bc98980e@news.naplesfl.net> <MPG.10a3bafdc59bab069896a2@news.uottawa.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 406775824
Reply-To: nfn03862@naples.net
NNTP-Posting-Date: Fri, 30 Oct 1998 14:39:38 EDT
Newsgroups: news.software.readers