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

写了一个从 elasticsearch 倒数据到 mongo 的脚本。。

  •  
  •   yanzixuan · Dec 12, 2016 · 2299 views
    This topic created in 3576 days ago, the information mentioned may be changed or developed.
    非常奇葩的需求,但是真正遇到的时候也挺烦人的。
    google 了一下,有人居然是通过该 es 的 mapping 控制返回全量的。感觉很无语
    用 scroll 就能搞定。
    https://github.com/howardyan93/useful_script/blob/master/dump_es2mongo.py
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5010 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 07:36 · PVG 15:36 · LAX 00:36 · JFK 03:36
    ♥ Do have faith in what you're doing.