3/30/2026 at 6:13:50 PM
This was a very meandering project, and trying to corral it into some sort of coherent narrative was a bit of an undertaking on its own. Hopefully it makes some sense.by marginalia_nu
3/30/2026 at 6:41:43 PM
Hi Viktor! Really cool write-up, thanks! Uruky is already using the `nsfw` param, but set to `0` or `1`, and I see in your example this looks like a new value option (`2`) that's "better" than `1`? How "safe" is it to implement it as the value to send when someone wants SFW results?by BrunoBernardino
3/30/2026 at 6:52:40 PM
0 disables all filtering1 filters 'harmful' sites per the UT1 blacklists
2 is 1 + the new NSFW filter.
The new filter works pretty good in my assessment. It's not infallible, but it gives significantly cleaner results.
And if you do find queries it fails to sanitize, I'd love to hear about them.
by marginalia_nu
3/30/2026 at 7:58:13 PM
Can you add 3, which only returns content flagged as NSFW?So I can make sure I know what sites to stay away from, of course
by IncreasePosts
3/30/2026 at 8:24:46 PM
Wouldn't work very well, in that you'd get awful recall.The way the filter is implemented, it runs after the query has been executed. I'd have to run it at document processing time, code in a pseudo-keyword for the label, and then add that to the query.
It's doable, but I question whether the juice is worth the squeeze.
by marginalia_nu
3/31/2026 at 1:41:11 AM
Asking the real questions.by cosmicgadget
3/30/2026 at 8:22:15 PM
Or perhaps -2by VectorLock
3/30/2026 at 7:22:24 PM
Thanks, already implemented and tested a couple of queries and it does look good!by BrunoBernardino