keep inherited address parts after indexing

The inherited housenumber is needed for display output. We can't
take the one from the housenumber field because it is already
normalized. Remove the inherited address only when reindexing.

Fixes #2683.
This commit is contained in:
Sarah Hoffmann
2022-04-28 21:38:00 +02:00
parent de828b723e
commit 3c68b12176
2 changed files with 34 additions and 36 deletions

View File

@@ -376,6 +376,10 @@ Feature: Parenting of objects
| N1 | W3 | 3 |
| N2 | W3 | 3 |
| N3 | W3 | 3 |
When sending geocodejson search query "3, foo" with address
Then results contain
| housenumber |
| 3 |
Scenario: POIs don't inherit from streets
Given the scene building-on-street-corner