Con risposta Bing Search API - SpellingSuggestions

  • Friday, December 07, 2012 5:55 AM
     
     

    If i send a sentences containing 13,14 words it returns empty result if i trim same sentences to 5-6 words its working. i did not see any limit for query value it says just string. is there any way to pass it ? I need to send a full sentence so it returns more reasonable suggestions. 

    end point of my request is : 

    https://api.datamarket.azure.com/Bing/Search/v1/SpellingSuggestions?$format=json&Query={ my query}


All Replies

  • Monday, December 10, 2012 5:02 AM
    Moderator
     
     Answered

    Hi,

    First you need to check there is any encoding word or special word in query. I think it will be some length limitation in query, but it cannot be 13,14 words long. I don't know the exact value. For my searching experience for using Bing or other searching tool, I think a suitable string length is important. 13,14 is a little longer to narrow the result, which means too much filter word to search. This can be the cause for your issue. only when this string is a very popular or fixed using in daily, you can get the result. using less word can let you get more results. If you think the result is too much, then add some more filters until you find the closer one you need.

    Thanks, 


    QinDian Tang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.