Page 1 of 1

What is the logic/order of filter processing?

PostPosted: Thu Apr 18, 2019 9:50 am
by insolution
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

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

PostPosted: Thu Apr 18, 2019 11:42 am
by Quade
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.

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

PostPosted: Fri Apr 19, 2019 3:04 pm
by UPdown
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.

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

PostPosted: Fri Apr 19, 2019 4:35 pm
by Quade
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.

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

PostPosted: Sun Apr 21, 2019 9:36 am
by insolution
Thanks, Quade. That helps a lot.