Home
Sign Up
Sign In
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
V2EX
›
Python
写了一个从 elasticsearch 倒数据到 mongo 的脚本。。
yanzixuan
·
Dec 12, 2016
· 1974 views
This topic created in 3432 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
mongo
mapping
Scroll
脚本
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
4077 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms ·
UTC 10:22
·
PVG 18:22
·
LAX 03:22
·
JFK 06:22
♥ Do have faith in what you're doing.
❯