Comments (3)
Hm, didn't think that through.
If I add all the required words to a query of course they will all be required. The alternative would be to not add them at all if the option to only require at least one (or x) to be present. The obvious downside is that the results are only filtered after the indexer was called. Depending on the words this would mean to potentially throw away a lot of results which could result in more API calls.
If I choose to add that option the user should be very certain that that is what he wants.
from nzbhydra2.
On the other hand that can "easily" be achieved using required regexes:
(option1|option2)
matches any result that has "option1" or "option2" in its title.
(?=.*musthavethis)(?=.*andhavethis)
matches any result that has "musthavethis" and "andhavethis" in any order in its title.
Ah, the magic of regex. https://xkcd.com/208/
from nzbhydra2.
I agree with you that the ability of regex might be better suited for this and has the bonus of it already being implemented. While it is less user friendly overall, it definitely is more powerful. So I think how it is currently setup is good.
from nzbhydra2.
Related Issues (20)
- Mark results as downloaded (even though they have not been) HOT 2
- Database is in read-only mode after upgrade to 5.19 from 4.76 HOT 3
- Custom Mappings: Can't filter properly HOT 5
- Category mapping fallback improvements HOT 4
- Custom Mappings: Not always applied HOT 1
- Calling /api/stats/indexers gives a 500 error
- Docker - Out of memory HOT 1
- Upgrade to 5.x failed during database migration HOT 6
- BUG: You have more than 3 logging markers enabled Warning when saving config HOT 7
- 5.1.10 launches but crashes when I open the browser HOT 15
- nzbgeek multilanguage bug HOT 3
- Unable to add Indexers to Radarr V5 HOT 1
- Animetosho Torznab fails when used over API HOT 7
- Change the wiki to include traefik as reverse proxy. HOT 3
- Service terminates unexpectedly without user interaction HOT 4
- Filter Results not working HOT 4
- out of memory: qnap /tmp folder nzbhydra
- Cannot get 5.1.11 to start on rpi4 ---- [Errno 8] Exec format error HOT 2
- Disable color logging HOT 3
- Docker instance keeps spamming github for new release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nzbhydra2.