diff --git a/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/component/opensearch/impl/service/DocumentMappingService.kt b/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/component/opensearch/impl/service/DocumentMappingService.kt index 76ebad758..0e81d565d 100644 --- a/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/component/opensearch/impl/service/DocumentMappingService.kt +++ b/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/component/opensearch/impl/service/DocumentMappingService.kt @@ -104,7 +104,7 @@ class DocumentMappingService { fun toAddressDoc(address: AlternativePostalAddress): AddressDoc { return AddressDoc( - administrativeAreas = setOf(TextDoc(address.administrativeAreaLevel2.toString())), + administrativeAreas = setOf(TextDoc(address.administrativeAreaLevel1.toString())), postCodes = setOf(TextDoc(address.postCode.toString())), localities = setOf(TextDoc("")), thoroughfares = setOf(TextDoc("")),