V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
hustlzp
V2EX  ›  Python

Python web 应用中大家是如何做全文搜索的? Whoosh? ElasticSearch?

  •  
  •   hustlzp ·
    hustlzp · 2015-05-24 09:13:20 +08:00 · 5581 次点击
    这是一个创建于 3260 天前的主题,其中的信息可能已经有所发展或是发生改变。
    RT.
    12 条回复    2015-10-28 15:42:19 +08:00
    lerry
        1
    lerry  
       2015-05-24 09:42:14 +08:00   ❤️ 1
    我是用PostgreSQL实现的,因为不想太多服务依赖,ElasticSearch更专业
    hustlzp
        2
    hustlzp  
    OP
       2015-05-24 09:51:45 +08:00
    @lerry 恩... 好像 PostgreSQL 本身就有全文索引功能。
    WildCat
        3
    WildCat  
       2015-05-24 10:14:05 +08:00 via iPhone   ❤️ 1
    MySQL 貌似也要有了吧
    kslr
        4
    kslr  
       2015-05-24 10:21:58 +08:00 via Android   ❤️ 1
    Sphinx
    yhf
        5
    yhf  
       2015-05-24 10:23:05 +08:00   ❤️ 1
    毕业设计刚好用到,Flask+Elasticsearch
    no13bus
        6
    no13bus  
       2015-05-24 10:41:10 +08:00   ❤️ 1
    @hustlzp 貌似礼物说用的是ElasticSearch
    haoawesome
        7
    haoawesome  
       2015-05-24 11:00:03 +08:00   ❤️ 2
    ElasticSearch比较好,我们的Python日报搜索就是用ES做的 http://py.memect.com/search
    GeekGao
        8
    GeekGao  
       2015-05-24 11:26:40 +08:00   ❤️ 1
    CoreSeek也很不错的
    karloku
        9
    karloku  
       2015-05-24 14:12:33 +08:00   ❤️ 1
    es的rest-style接口很好用, 脚本/插件之类的扩展起来也方便
    hustlzp
        10
    hustlzp  
    OP
       2015-05-24 15:13:54 +08:00
    honovationeric
        11
    honovationeric  
       2015-06-08 11:38:11 +08:00
    在用户规模没到相当的级别建议直接使用postgresql的全文检索支持。这篇文章可以参考下: https://blog.lateral.io/2015/05/full-text-search-in-milliseconds-with-postgresql/ 。

    Elasticsearch绝对是全文检索领域最好的开源软件,但也很重,建议融了A轮再考虑。
    shsf4
        12
    shsf4  
       2015-10-28 15:42:19 +08:00
    mark
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5777 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.