推荐学习书目
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
tabris17
V2EX  ›  Python

elasticutils 的纠结问题

  •  
  •   tabris17 · Dec 11, 2014 · 3243 views
    This topic created in 4171 days ago, the information mentioned may be changed or developed.
    服务器上的elasticsearch是0.90.XX版本的,暂时没法升级。

    我看elasticsearch-py主页上写的文档是,0.90.XX得用 0.4 版本的。1.X版本的是针对 >= 1.X 的 elasticsearch。


    而elasticutils项目上说是支持>=0.9版本的elasticsearch,但是依赖的elasticsearch-py缺必须是>=1.0

    这不是自相矛盾了嘛
    3 replies    2014-12-11 14:41:48 +08:00
    halfelf
        1
    halfelf  
       Dec 11, 2014   ❤️ 1
    大概是他们忘了改首页的依赖了,elasticutils 0.10.2以后就不支持0.90版本的elastic search了,0.10.2是一个过渡版本,建议所有玩家升级elasticsearch。
    如果用elasticutils,估计最后一个确定支持0.90和elasticsearch-py 0.4的版本是0.10
    tabris17
        2
    tabris17  
    OP
       Dec 11, 2014
    @halfelf 不过我装了测试了一下,貌似0.10.2在0.90上也能用,就是不知道会不会有啥问题。

    我还是装个0.10版的吧
    tabris17
        3
    tabris17  
    OP
       Dec 11, 2014
    @halfelf 装了0.10的,依赖的elasticsearch-py是0.4.5的。总算对了,非常感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5709 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 06:05 · PVG 14:05 · LAX 23:05 · JFK 02:05
    ♥ Do have faith in what you're doing.