🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #212929

Re: [Dialog] Compound Expression Scoring

#212929
From: MikeV06
Date: Wed, 19 Dec 2007 01:35
29 lines
1824 bytes
On Mon, 17 Dec 2007 19:33:11 +0100, Enrico Bauer wrote:

> 17.12.2007 15:50:02, *MikeV06*:
>> Is it possible to score on two fields?
> 
> http://www.40tude.com/dialog/wiki/index.php/Frequently_Asked_Questions#Q:_How_can_I_combine_two_conditions_in_one_score_rule.3F
> 
> HTH
> Enrico

Wow, that is cool. 

How can I combine two conditions in one score rule?
A: To combine two conditions you just have to append the second term with
"-@" for "and not" or "+@" for "and". 

Example: 

-100 Subject "sex" "viagra" "enlargement" -@From:"My Girlfriend"
-100 Subject "help" "emergency" +@From:"My Boss"
Notice there is no space after the "@" and the colon. This is important,
otherwise it won't work. 

Now all I got to do is figure out the regex on them to make it work. Thank
you kindly!

Happy holidays.

Mike
Technical Details
Message-ID: <18wfpgx4ru6tq.dlg@mycomputer06.invalid.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.suddenlink.net!not-for-mail
References: <429yh4yrka7e.dlg@mycomputer06.invalid.com> <171207.193311.nsr.65@ID-5349.user.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <18wfpgx4ru6tq.dlg@mycomputer06.invalid.com>
Subject: Re: [Dialog] Compound Expression Scoring
Date: Tue, 18 Dec 2007 19:35:40 -0600
From: MikeV06 <me@mycomputer06.invalid.com>
References: <429yh4yrka7e.dlg@mycomputer06.invalid.com> <171207.193311.nsr.65@ID-5349.user.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.suddenlink.net!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: None
Archive: yes
Lines: 29
NNTP-Posting-Host: 74.194.81.60
X-Complaints-To: abuse@suddenlink.net