What is the logic/order of filter processing?

Technical support and discussion of Newsbin Version 6 series.

What is the logic/order of filter processing?

Postby insolution » Thu Apr 18, 2019 9:50 am

I can't seem to wrap my head around how filters are processed. For example, I have a "Test" filer to do the following:

Reject -> Subject Contains -> \.rar$ (files that end with the extension ".rar""

Accept -> Poster Contains -> Some User (posts from the poster "Some User")

How can I filter out JPG's from everyone except "Some User"?

Are the filters processed in a certain order? If they are, can one precede the other to accomplish what I am after?

Can you explain the filter logic/processing order within a filter?

My workaround is multiple filter sets and selecting them one at a time in the Group window and deleting posts one filter at a time to get what I am after. Obviously labor-intensive and fraught with complications.

Or perhaps Newbin could include multiple-filter processing (in order)? Wow, that would be a huge advance--especially for winnowing out spammers.

Scott
insolution
Active Participant
Active Participant
 
Posts: 65
Joined: Fri Aug 08, 2003 11:06 am

Registered Newsbin User since: 09/01/02

Re: What is the logic/order of filter processing?

Postby Quade » Thu Apr 18, 2019 11:42 am

How can I filter out JPG's from everyone except "Some User"?


How about filtering IN just this poster and if you need more filtering add an "ACCEPT" filter for "[.]jpg"

ACCEPT Poster
ACCEPT [.]jpg

Sometimes filtering out isn't what you want. Sometimes you want to filter everything except for specific things.

As for the logic, the accepts are applied first, then the rejects are applied.

I just tested adding three different posters to three "ACCEPT" filters. When I applied the filters, only they showed up.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: What is the logic/order of filter processing?

Postby UPdown » Fri Apr 19, 2019 3:04 pm

Quade,

Thanks for clearing up the application order. It wasn't obvious to me as I constructed them, although it makes sense if you look AFTER the fact. The only question I had left was whether they were accumulative or over-riding. i.e. Accept file cuz it has XYZ while reject it if it has XY and AB (which would be accumulative rejections) rather than a simple reject if it has XY REGARDLESS of whether it also satisfied having AB. Now, it's obvious that XYZ will never make it to the show list because XY kills all accepted XYZ's.

When you think about it, it seems easy. But I was slightly confused. Now, not so much. Thanks.
UPdown
Active Participant
Active Participant
 
Posts: 70
Joined: Sat Dec 29, 2012 10:44 am

Registered Newsbin User since: 12/27/12

Re: What is the logic/order of filter processing?

Postby Quade » Fri Apr 19, 2019 4:35 pm

It's effectively a big OR statement for accepts and rejects. Accept1 or Accept2 or Accept3.

Any one of them will pass it through. Any single rejects will reject.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: What is the logic/order of filter processing?

Postby insolution » Sun Apr 21, 2019 9:36 am

Thanks, Quade. That helps a lot.
insolution
Active Participant
Active Participant
 
Posts: 65
Joined: Fri Aug 08, 2003 11:06 am

Registered Newsbin User since: 09/01/02


Return to V6 Technical Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests