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
tabris17
V2EX  ›  Python

elasticutils 的纠结问题

  •  
  •   tabris17 · 2014-12-11 10:02:16 +08:00 · 2446 次点击
    这是一个创建于 3417 天前的主题,其中的信息可能已经有所发展或是发生改变。
    服务器上的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 条回复    2014-12-11 14:41:48 +08:00
    halfelf
        1
    halfelf  
       2014-12-11 11:41:22 +08:00   ❤️ 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
       2014-12-11 14:36:14 +08:00
    @halfelf 不过我装了测试了一下,貌似0.10.2在0.90上也能用,就是不知道会不会有啥问题。

    我还是装个0.10版的吧
    tabris17
        3
    tabris17  
    OP
       2014-12-11 14:41:48 +08:00
    @halfelf 装了0.10的,依赖的elasticsearch-py是0.4.5的。总算对了,非常感谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4277 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 05:30 · PVG 13:30 · LAX 22:30 · JFK 01:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.