Skip to main content
formatting
Source Link
johnwards
  • 465
  • 2
  • 8

I am using the search api to search for questions that are tagged with questions"tags" and not with questions"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
http://api.stackoverflow.com/0.9/questions?tagged=php;mysql
OR Search
http://api.stackoverflow.com/0.9/search?tagged=php;mysql

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

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

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

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

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
http://api.stackoverflow.com/0.9/questions?tagged=php;mysql
OR Search
http://api.stackoverflow.com/0.9/search?tagged=php;mysql

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

Source Link
johnwards
  • 465
  • 2
  • 8

AND searching for tags?

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

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

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