9

My intent was to find this question How do I override default PrimeFaces CSS with custom styles? to see if it's useful enough to vote as a duplicate or to include as a "see also" link in a new answer.

So I searched using the keyword user:me [primefaces][css]. However, it unexpectedly returned 775 results. It seems that the tags are not searched using the AND condition. Without the "user:me" as in [primefaces][css] it returns 67 results. I tried to fix the search query to be user:me +[primefaces] +[css], but no cigar. It still shows all the 775 results.

Replacing "user:me" with "inheritance" as in inheritance [primefaces][css] yielded exactly 1 result, exactly the answer I was looking for (currently, it's 2 results ;) ).

So it seems that the tags are incorrectly treated as an OR condition when used in combination with "user:me". This seems a nasty bug to me. Can we please fix it?

  • 4
    Nice to see you're using the same searches I use, whenever I need a JSF answer. Well, actually I use Google as that allows for typing BalusC rather than some user id ;-) – Arjan Jun 7 '12 at 18:42
  • + 1 to yourself + @Arjen : I agree with Arjan here. I also use Google for searching my post in SO. So in your case try this stackoverflow BalusC primefaces.css in Google – Siddharth Rout Jun 7 '12 at 18:50
  • Well, @Siddharth, I was not trying to say I am using Google to search my own posts :-) And, Stack Overflow is not the only nice resource one gets when searching for BalusC, so I don't even limit to stackoverflow.com in my Google searches! – Arjan Jun 7 '12 at 19:16
  • @SiddharthRout why not a search like BalusC primefaces.css site:stackoverflow.com – Some Helpful Commenter Jun 7 '12 at 21:35
  • @SomeHelpfulCommenter: Yup :) you can do that as well. Google in that matter is very flexible. – Siddharth Rout Jun 7 '12 at 21:44
2

These go through the same code path now, so the effect is no longer and OR but an AND, consistent with other searching. An OR search ability is coming, I just need a few hours to get it done.

|improve this answer|||||
  • Well done, thank you. – BalusC Feb 4 '13 at 14:25
1

Try using this search query:

user:157882 [primefaces] + [css]

Notice the use of plus indicating AND not OR.

It gives me 20 results, which are all tagged how you wanted.

|improve this answer|||||
  • Wow. It's the space which solved it. If you remove the spaces around the +, it fails again. Is this in turn a bug or "by design"? – BalusC Jun 21 '12 at 22:55
  • @Chichiray no clue. Good luck to you, though! – Richard J. Ross III Jun 21 '12 at 22:56

You must log in to answer this question.

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