• 请不要在回答技术问题时复制粘贴 AI 生成的内容
hackingwu
V2EX  ›  程序员

代码搜索引擎

  •  
  •   hackingwu ·
    hackingwu · Jul 25, 2016 · 2978 views
  •   You need to sign in to view this topic
    This topic created in 3661 days ago, the information mentioned may be changed or developed.

    想做一个像 Github 搜索代码的功能,给自己项目的代码做一个搜索引擎。现在有没有什么简单成熟的解决方案?最好可以是实现 Web UI 的代码搜索(高亮)。我现在想的是 Elasticsearch+kibana+logstash ,还没有验证可行性。有没有做过这方面事情的 V 友,分享一下经验。

    3 replies    2016-07-25 22:44:37 +08:00
    Comdex
        1
    Comdex  
       Jul 25, 2016
    bing 不是在做了吗
    sunchen
        2
    sunchen  
       Jul 25, 2016
    Github 就是基于 ES
    rekulas
        3
    rekulas  
       Jul 25, 2016
    github 的搜索很坑的啊,自己做需要处理的工作又太多了(主要分词方案在某些代码里效果不是很好),可以考虑用 opengrok 方案 http://androidxref.com
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1398 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:59 · PVG 00:59 · LAX 09:59 · JFK 12:59
    ♥ Do have faith in what you're doing.