JetBrains IDE 中基于嵌入的搜索
Embedding-based search in JetBrains IDEs
AI总结:
针对JetBrains IDE的Search Everywhere搜索功能未考虑语义、存在同义词/拼写错误等场景下可发现性不足的问题,提出基于机器学习的嵌入搜索改进方法,并分享了落地过程中的障碍与解决方案。
摘要:
大多数现代集成开发环境(IDE)和代码编辑器都具备在可用功能及打开项目的条目间进行搜索的功能。在 JetBrains IDE 中,该功能被称为 Search Everywhere(全局搜索):它允许用户从单一入口搜索文件、操作、类、符号、设置以及版本控制系统(VCS)历史中的任何内容。然而,该功能所使用的候选生成算法未考虑语义因素,例如同义词、复杂词序变化、词性修改和拼写错误。在本研究中,我们介绍了为提升搜索条目的可发现性而实现的机器学习方法,同时分享了在此过程中遇到的障碍以及我们的解决方式。
英文摘要:
Most modern Integrated Development Environments (IDEs) and code editors have a feature to search across available functionality and items in an open project. In JetBrains IDEs, this feature is called Search Everywhere: it allows users to search for files, actions, classes, symbols, settings, and anything from VCS history from a single entry point. However, it works with the candidates obtained by algorithms that don't account for semantics, e.g., synonyms, complex word permutations, part of the speech modifications, and typos. In this work, we describe the machine learning approach we implemented to improve the discoverability of search items. We also share the obstacles encountered during this process and how we overcame them.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。