locked
bing location search RRS feed

  • Question

  • Hi guys,

    I wander dose Bing provide such a service to search query autocompletion ?, for example when in query I set "cali" it returns me 'california',

    or other search suggestions that starts with 'cali'.

    Thanks in advance,

    Harroot

    Thursday, April 21, 2011 10:40 AM

Answers

  • Well, Bing actually does that: if you open a search page in your browser and type "cali" it provides the suggestions for searches starting with that word. This is done from javascript code runnng in your browser and sending Ajax queries to the server. Since this is happening inside your browser, you can always reverse-engineer the page (after all, your browser has downloaded all the source code) to see how it is done. You can also capture the http packets being sent from your broser to determine how it is forming the requests to the server in order to obtain that information, and the kind of responses that it is receiving. However, before attempting this reverse engineering, I would suggest that you check out the available documentation, since it is very likely that the APIs for performing these searches are already documented.

    But anyway, the Training and Certification forum is not the best place to discuss this topic. I would suggest one of the development forums on MSDN: http://social.msdn.microsoft.com/Forums/en-US/categories

     

    • Marked as answer by Harroot Friday, April 22, 2011 10:19 AM
    Friday, April 22, 2011 7:08 AM

All replies

  • Well, Bing actually does that: if you open a search page in your browser and type "cali" it provides the suggestions for searches starting with that word. This is done from javascript code runnng in your browser and sending Ajax queries to the server. Since this is happening inside your browser, you can always reverse-engineer the page (after all, your browser has downloaded all the source code) to see how it is done. You can also capture the http packets being sent from your broser to determine how it is forming the requests to the server in order to obtain that information, and the kind of responses that it is receiving. However, before attempting this reverse engineering, I would suggest that you check out the available documentation, since it is very likely that the APIs for performing these searches are already documented.

    But anyway, the Training and Certification forum is not the best place to discuss this topic. I would suggest one of the development forums on MSDN: http://social.msdn.microsoft.com/Forums/en-US/categories

     

    • Marked as answer by Harroot Friday, April 22, 2011 10:19 AM
    Friday, April 22, 2011 7:08 AM
  • Thanks a lot :)

     

    Friday, April 22, 2011 10:20 AM