goofy syntax for Bing Search API ......documentation???

回答済み goofy syntax for Bing Search API ......documentation???

  • Wednesday, October 31, 2012 10:08 PM
     
     

    If I use Bing Search with IE entering something like "site:my.site.com +(term1 | term2) +(term3 | term4 | term5)" I get what I expect: urls at my.site.com with term1 or term2 and at least one of term3 or 4 or 5.

    If I use the Bing Search API query page (https://api.datamarket.azure.com/Data.ashx/Bing/Search/v1 ) I get the same correct results.

    If I use the same terms in code I get nothing. If I use the query as modified on the query page "%27%2b%28site%3amy.site.com%29%20%2b%28term1%20%7c%2term2%29%20%2b%28term3%20%7c%20term4%20%7c%20term4%29%27" I get random results.

    Anyone have any idea EXACTLY how to use this pattern of search terms in code?

    When I use terms in clode like +(term1 | term2) +(term3 | term4 | term5) I also get what I expect. Adding the site:my.site.com part doesn't work.


    carpe cras

All Replies

  • Friday, November 02, 2012 1:52 AM
    Moderator
     
     Answered

    Hi, since your question is about Bing Search API, I suggest you to contact Bing support on https://support.discoverbing.com/ where I believe you can get better assistance.

    Best Regards

  • Tuesday, November 06, 2012 9:03 AM
    Moderator
     
     

    Hi, I will mark the reply as answer. If you find it no help, please feel free to unmark it and follow up.

    Thanks & Best Regards