Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the search api to search for questions that are tagged with "tags" and not with "tags". However I have noticed that searching for tags is an OR search.

The questions search for tags is an AND search. Why the difference?

e.g. AND Search;mysql
OR Search;mysql

Also would it be possible to switch the searching type from OR to AND on the search api by an option?

share|improve this question
"tagged with questions and not with questions" typo? – systempuntoout Jul 6 '10 at 7:06
your question is not comprehensible. could you specify which path(s) you are referring to and example urls. – Sky Sanders Jul 6 '10 at 7:41
Sorry folks, early morning etc...better now? – johnwards Jul 6 '10 at 8:03

It seems to me that questions allows you to be more exclusive with your filter while search allows you to be more inclusive with your filter.

this flexibility is a good thing and, right now, I would not like to see it changed.

share|improve this answer
But you can't filter out questions that contain certain tags when searching using the question api call. I am also looking for flexibility, the ideal would be able to turn the search from an OR to and AND with an optional flag. – johnwards Jul 6 '10 at 15:13
@john - you may have a point. i will give this some more thought when i get a few quiet moments. – Sky Sanders Jul 6 '10 at 15:26

You must log in to answer this question.

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