I tried entering [groovy] or [grails] -[gradle]
in the search box, but I still get gradle-tagged posts in the results
1 Answer
Is a characteristic of the "or" operator to be parsed last. The results you are seeing is any question tagged groovy, or any question that is tagged grails but not gradle: (groovy) || (grails && !gradle)
.
If you want questions without gradle but with either groovy or grails, you must use double negation along with the or operator so it applies on both sides: [groovy] -[gradle] or [grails] -[gradle]
(do not use the search box to type this and instead write it directly in the url, since the search box changes the ordering and skews the results).
I've pointed out this before, through I don't know if it's the desired behavior or not.
-
-
-
If you use the search box that question is returned as it gets rewritten to what the OP has, but I can't find that question if I change the URL as you suggest... The operator order of precedence you suggest makes sense in that respect.– BenJan 25, 2015 at 19:57