Search the web
Sign In
New User? Sign Up
ysearchboss · Yahoo! Search BOSS

Group Information

  • Members: 1036
  • Category: Internet
  • Founded: May 28, 2008
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Can we use OR in query?   Message List  
Reply Message #2750 of 4336 |
Re: [ysearchboss] Can we use OR in query?


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&region=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&region=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.




Thu Jul 29, 2010 11:38 pm

sboss64
Offline Offline
Send Email Send Email

Message #2750 of 4336 |
Expand Messages Author Sort by Date

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,...
Nihar
nihar_n_mehta Offline Send Email
Jul 23, 2010
11:25 pm

Try /ysearch/news/v1/BP+"British Petroleum" "Point of view is worth 80 IQ points" --Alan Kay http://dudefrommangalore.blogspot.com/...
Yogish Baliga
yogishb Offline Send Email
Jul 24, 2010
8:49 am

Hello Nihar, To perform an "OR" news query, you would need to space-delimit the query terms within a pair of parenthesis, such as: ...
BOSS User Group Suppo...
sboss64 Offline Send Email
Jul 29, 2010
11:39 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help