Edit:
Could we get the -[tag]
and -word
usage documented on the search tips page?
As Tim notes in the comments, it appears the "-" operator doesn't work for words, just tags. (Is there a reason for this? Is it too expensive an operation?) (See Nick's answer.)
I also propose that we give some sort of warning when -word
is used in a search, like:
The minus operator can only be used with tags. Did you mean to type
-[word]
?
Below is the original version of this post.
At the time I posted this, the search [ndk] -[android] -[android-ndk] -android
returned no results, despite the fact that this question was tagged [c++] [cocos2d-iphone] [cygwin] [ndk] [rtti]
and did not mention "android" anywhere, nor did its answer. This question should therefore have shown up in the search results, right?
ndk isn't a special Android tag with the little green icon, unlike android-ndk, so this behavior is unexpected to me. Is it because ndk mentions Android in its wiki?
Related: Merge [ndk] into [android-ndk] and blacklist the former one
-
operator even work for non-tags?-"android"
doesn't seem to help.-
appears to be undocumented in the first place, so I suppose I should be grateful it even works for tags :P