Interesting Computing stuff in designing User Interfaces

后端 未结 1 1450
说谎
说谎 2021-01-28 17:06

I am working on a Search Application and using open source Search Engine Lucene. Lucene is returning results in few milliseconds. My question is related to the link given below.

相关标签:
1条回答
  • 2021-01-28 17:48

    If you have really fast search engine - it's quite easy to do, but requires lot of resources server-side.

    Firstly, use tool like Firebug (in firefox) or Dragonfly (Opera) or similar to preview what happening when you change any char in search query.

    Site is requesting urls like that: https://demos.netrics.com/ncc7/find_json?table_name=names1M&sensitivity=0.843&query=abc&callback=jsonp1330501624190&_=1330501901072 and server-side scripts returns JSON object, which is decoded and search results are updated client-side (using js).

    Its not very complicated and difficult to do, but as I said - it'll require lot's of server resources when your app get popular.

    0 讨论(0)
提交回复
热议问题