-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for minutely/hourly/daily updates #26
Comments
any updates on this? how do you handle partial updates or could someone share a update script to do the full import and switch es index using aliases? |
Hi @masterpropper,
We will eventually share some scripts for doing this update. Unfortunately the previously used scripts for this went down with the Mapzen ship and can't be used or shared. The Elasticsearch Index Aliases and Snapshot and Restore pages are where you should start for now. There's a good description of the process over in pelias/pelias#412 (comment) |
@orangejulius Are these scripts for background import available somewhere? P.S.: I am using AWS |
…mbered_streets Add cleanup module with numbered street handling
Once the schema is stable enough we can consider doing partial updates to the index instead of importing the whole OSM planet every time.
ref: http://planet.openstreetmap.org/replication/
Note: some investigation needs to be done about how these diffs work, for example:
ref: http://wiki.openstreetmap.org/wiki/OsmChange
We also need to come up with a strategy for
elasticsearch
as it does not support partial updates to documents (without scripting enabled) so we will most likely need to GET the record, modify it and PUT it back; which has potential to cause problems related to idempotency/atomicity/race-conditions.Eg.
The text was updated successfully, but these errors were encountered: