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

网站检索的问题,这应该是非常常见的功能,有什么高级点的解决方案?

  •  
  •   levon · Jun 17, 2014 · 3659 views
    This topic created in 4527 days ago, the information mentioned may be changed or developed.
    数据库达到一定的程度,记录600多万。文章类型,按标题检索记录,用like耗时10秒以上,都说加索引,但是我在标题上加索引也没什么变化。

    还有那些大网站搜索还很智能,不是硬式的like,

    不知道这里面都涉及到些什么知识,有什么通用点的库或者什么好的解决方案没有?
    6 replies  •  2014-06-18 13:44:02 +08:00
    insub
    insub
    Jun 17, 2014❤️1
    1
    这种情况需要自建搜索方案,比如:
    https://github.com/sunspot/sunspot
    https://github.com/elasticsearch/elasticsearch

    各语音应该都有自己的成熟的自建搜索方案可用,如果是中文内容,注意选中文分词支持的好的
    levon
    levon
    OP
    Jun 17, 2014
    2
    不限语言,找来学习学习
    shiniv
    shiniv
    Jun 17, 2014
    3
    试一下 Coreseek?
    a591826944
    a591826944
    Jun 17, 2014
    4
    全文检索引擎。。分词
    pubby
    pubby
    Jun 17, 2014
    5
    @shiniv 新版一直难产...
    lang1pal
    lang1pal
    Jun 18, 2014 via iPhone
    6
    solr
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2762 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 10:32 · PVG 18:32 · LAX 02:32 · JFK 05:32
    ♥ Do have faith in what you're doing.