V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · May 24, 2015 · 6627 views
    This topic created in 4004 days ago, the information mentioned may be changed or developed.
    RT.
    12 replies    2015-10-28 15:42:19 +08:00
    lerry
        1
    lerry  
       May 24, 2015   ❤️ 1
    我是用PostgreSQL实现的,因为不想太多服务依赖,ElasticSearch更专业
    hustlzp
        2
    hustlzp  
    OP
       May 24, 2015
    @lerry 恩... 好像 PostgreSQL 本身就有全文索引功能。
    WildCat
        3
    WildCat  
       May 24, 2015 via iPhone   ❤️ 1
    MySQL 貌似也要有了吧
    kslr
        4
    kslr  
       May 24, 2015 via Android   ❤️ 1
    Sphinx
    yhf
        5
    yhf  
       May 24, 2015   ❤️ 1
    毕业设计刚好用到,Flask+Elasticsearch
    no13bus
        6
    no13bus  
       May 24, 2015   ❤️ 1
    @hustlzp 貌似礼物说用的是ElasticSearch
    haoawesome
        7
    haoawesome  
       May 24, 2015   ❤️ 2
    ElasticSearch比较好,我们的Python日报搜索就是用ES做的 http://py.memect.com/search
    R4rvZ6agNVWr56V0
        8
    R4rvZ6agNVWr56V0  
       May 24, 2015   ❤️ 1
    CoreSeek也很不错的
    karloku
        9
    karloku  
       May 24, 2015   ❤️ 1
    es的rest-style接口很好用, 脚本/插件之类的扩展起来也方便
    hustlzp
        10
    hustlzp  
    OP
       May 24, 2015
    honovationeric
        11
    honovationeric  
       Jun 8, 2015
    在用户规模没到相当的级别建议直接使用postgresql的全文检索支持。这篇文章可以参考下: https://blog.lateral.io/2015/05/full-text-search-in-milliseconds-with-postgresql/ 。

    Elasticsearch绝对是全文检索领域最好的开源软件,但也很重,建议融了A轮再考虑。
    shsf4
        12
    shsf4  
       Oct 28, 2015
    mark
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2892 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 10:42 · PVG 18:42 · LAX 03:42 · JFK 06:42
    ♥ Do have faith in what you're doing.