pelias / openstreetmap

Import pipeline for OSM in to Pelias
MIT License
112 stars 72 forks source link

tags: map alternate names to individual fields #567

Open missinglink opened 2 years ago

missinglink commented 2 years ago

partner PR for https://github.com/pelias/api/pull/1620

missinglink commented 2 years ago

I've kicked off a full planet build @additional-name-fields-2022-04-01-55f13ca329927bcfa31a576504b9920801ee9046

missinglink commented 2 years ago

this looks promising, grepping the fixture file shows that all name fields now only contain a single entry

orangejulius commented 2 years ago

Yeah, the POI test cases for major landmarks look very good with this change.

Just for some context, here's some relevant tests "before": image

And "after" the changes as of around April 5th: image

In particular the results for "Statue of Liberty" and "Phoenix International Airport" look a lot better.

Note that the percentage pass rate shows an improvement only from 84 to 86%, but the actual increase is a lot higher, since most of the tests are expected to fail. In actuality, there's a net increase of 25 new requests passing, or a 6% improvement. Considering there are a few regressions that might either be a testing artifact or something we can fix, and the nature of many of these autocomplete queries meaning many of the shorter test cases won't ever pass, that's pretty good.