[OSM-talk] Searching for recently added names not working
David Earl
david at frankieandshadow.com
Thu Aug 21 11:19:58 BST 2008
I'm afraid the name finder index has got a problem which means that
index entries for new objects (node/way/relation) added since August 8
are missing. (Actually it is a bit more subtle than that, depending on
whether the object was also later modified, and whether there happened
to be no deletions of objects of the same type on any particular day).
The problem was that when I switched it to using the daily planet gz
instead of bz2 files, I hadn't realized that the name of the XML tag for
additions also changed from "<add ..." to "<create ...". The log files
all look reasonable: it was showing a large number of ways etc being
processed, but of course it was only counting modified ones, not new
ones, skipping the entries enclosed by "create" completely. So I only
discovered this when I searched for some streets I added this week and
couldn't find some but did find others (those I had later modified) and
investigated why.
Fortunately all the daily diffs back to 8/8 are still there, so I am now
going to suspend the daily update, re-run all the updates for the last
two weeks, and then catch up with tonight's and maybe tomorrow's later -
the longer update may well take more than a day to run. In the meantime,
searching will be very slow and may not find entries which are removed
during the file processing phase but have not yet been processed in the
update phase (which will be many hours apart).
Sorry about this. The rules changed under my feet!
David
More information about the talk
mailing list