Search the web
Sign In
New User? Sign Up
ydn-dotnet · CLOSED: Yahoo! .NET Developer Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
REST request - how to pass verbatim string literal to WebSearchServi   Message List  
Reply | Forward Message #162 of 263 |
I am trying to extract the number of hits for certain terms from the
Yahoo Search engine from a tool I have developed.
When I pass a verbatim stringliteral (C#) like the following;


query = "\"" + myQuery + "\"";
string requestUri = String.Format
("http://api.search.yahoo.com/WebSearchService/V1/webSearch?appid={0}
&query={1}", myYahooID, HttpUtility.UrlEncode(@query, Encoding.UTF8));

where the query is something like;

#include <file1.h>

I get 2147483648 hits.

When I enter "#include <file1.h>" at the Yahoo Search web page I get
1
hit (which is correct).

Hw can I force the websearchservive to accept the verbatim string
literal?







Thu Apr 17, 2008 9:26 pm

tim_hoehn
Offline Offline
Send Email Send Email

Forward
Message #162 of 263 |
Expand Messages Author Sort by Date

I am trying to extract the number of hits for certain terms from the Yahoo Search engine from a tool I have developed. When I pass a verbatim stringliteral...
tim_hoehn
Offline Send Email
Apr 17, 2008
9:26 pm
Advanced

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