浏览器中自含式搜索引擎的可行性及启示
On the Feasibility and Implications of Self-Contained Search Engines in the Browser
摘要:
现代浏览器中的JavaScript引擎能够运行复杂的多玩家游戏,渲染令人印象深刻的3D场景,并支持复杂的交互式可视化。这种处理能力能被用于信息检索吗?本文探讨了构建一个JavaScript搜索引擎的可行性,该搜索引擎在浏览器的客户端上完全自包含地运行-这包括构建倒排索引、收集用于评分的术语统计信息以及执行查询评估。该设计利用了IndexDB API,该API由Google Chrome浏览器中的LevelDB键值存储实现。实验表明,尽管JavaScript原型的性能远远低于开源Lucene搜索引擎,但它对交互式应用程序的响应是足够的。这种可行性演示为跨多个平台的离线和私有搜索以及混合分离执行架构中的有趣应用打开了大门,客户端和服务器可以通过该架构协作执行查询评估。一个可能的未来场景是在线搜索市场的兴起,其中商业搜索引擎公司和个人用户作为理性的经济行为者参与其中,基于可定制的实用程序配置文件来平衡隐私、资源使用、延迟和其他因素。
英文摘要:
JavaScript engines inside modern browsers are capable of running sophisticated multi-player games, rendering impressive 3D scenes, and supporting complex, interactive visualizations. Can this processing power be harnessed for information retrieval? This paper explores the feasibility of building a JavaScript search engine that runs completely self-contained on the client side within the browser---this includes building the inverted index, gathering terms statistics for scoring, and performing query evaluation. The design takes advantage of the IndexDB API, which is implemented by the LevelDB key-value store inside Google's Chrome browser. Experiments show that although the performance of the JavaScript prototype falls far short of the open-source Lucene search engine, it is sufficiently responsive for interactive applications. This feasibility demonstration opens the door to interesting applications in offline and private search across multiple platforms as well as hybrid split-execution architectures whereby clients and servers collaboratively perform query evaluation. One possible future scenario is the rise of an online search marketplace in which commercial search engine companies and individual users participate as rational economic actors, balancing privacy, resource usage, latency, and other factors based on customizable utility profiles.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。