It took me a while to find the information, that the search already shall do a AND like mentioned here.

I searched [java] "generics" null and it feels like OR. Why doesn't it work without " at generics by the way (side question)?


I have a feeling the search is looking for similar words, as it is highlighting the word generally which I assume the search engine thinks is close to the word generics. Adding quotes around generics tells the search to look for that exact word, not to test against similar words which is why you're getting different results there.

It definitely is doing an AND, it's just when you leave the quotes out it's not ANDing on the word "generics".

  • 1
    Well, it is ANDing on "generics" ... AND CONTAINS(FORMSOF(THESAURUS, 'generics')) :P – user98085 Apr 11 '14 at 16:39
  • And that's why it felt like OR, because it really is something like java AND (generics OR generate OR generation OR general OR generalize), but that's OK, the real solution is my own answer, i.e. to use quotes on the second search term null, too. – jan Apr 28 '14 at 11:38

As stated by comments and the other answer it really is AND. The real answer I found now is this search: [java] "generics" "null"

I don't know why I didn't try that yesterday.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .