Hello Nihar,
To perform an "OR" news query, you would need to space-delimit the query terms within a pair of parenthesis, such as:
http://boss.yahooapis.com/ysearch/news/v1/(cars autos)?appid={insert your APP ID here}&format=xml&lang=en®ion=us
The above BOSS news query will return some news articles with "cars", as well as other news articles with "autos".
-----------
Performing an "OR" query against the "web" back-end is a little different:
http://boss.yahooapis.com/ysearch/web/v1/cars OR autos?appid={insert your APP ID here}&format=xml&lang=en®ion=us
-----------
Hope this helps,
Jay
On 7/23/10 4:17 PM, Nihar wrote:
Can we search use syntax:
http://boss.yahooapis.com/ysearch/news/v1/"BP" OR "British+Petroleum"
Spaces and quote properly escaped in our query. The word OR, seems to be ignored by Yahoo BOSS service and we get results which contains all three words: BP, British, and Petroleum.
Any suggestions?
Thanks.