使用 Lucene/swish-e 的自定义代码浏览器
我正在开发一个 C++ 项目,该项目拥有庞大的代码库和多个组件。我想为其创建一个丰富的代码浏览器,这将提供类似视觉工作室的体验。我正在考虑使用 Lucene 或 Swish-e 作为后端文本索引器的 Adobe AIR 应用程序。我从未使用过这两者中的任何一个。如果您使用过其中之一或两者,请问Lucene/Swish-e是否适合此类应用?我可以对其进行配置以使其支持 C++、Flex 等语言吗?有没有针对这个问题的现有开源解决方案我可以看看?
I am working on a C++ project which has a huge code base and multiple components. I want to create a rich code browser for it which will give a visual studio like experience. I am thinking of an Adobe AIR app with Lucene or Swish-e as the backend text indexer. I have never used either of the two. If you have used one or both of them, can you please tell me if Lucene/Swish-e is suitable for this kind of application? Can I configure it to make it language aware for C++, Flex, etc? Are there existing open source solutions for this problem I can take a look at?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
《Lucene 实践》第二版。包含有关名为 krugle 的产品的一章,该产品使用 Lucene 搜索源代码。我从来没有使用过 swish-e,所以我无法比较它们,但是那本书谈到了使用 Lucene 的好处和坏处。您也可以在此处尝试搜索,了解其价值。
总结他们的章节:
Lucene in Action 2nd ed. contains a chapter on a product called krugle which uses Lucene for searching source code. I have never used swish-e, so I can't compare them, but that book talks about the benefits and detriments of using Lucene. You can also try their search here, for what that's worth.
To summarize their chapter: