[x] unit_child: if we search for 1769 FRANKFORD AVE specifying include_units, return 1) an exact match for the base address followed by all children with type unit_child
[x] unit_sibling: assume AIS has # 4 and APT 4. if we search for UNIT 4, it should return # 4 and APT 4 with match type same_unit. Use matches_unit relationship type from address_link.
[x] unmatched: if we search for an address that doesn't exist in AIS, drop down to centerline geocode and return service areas.
MATCH TYPES
exact
base_address
unit_child
: if we search for1769 FRANKFORD AVE
specifyinginclude_units
, return 1) anexact
match for the base address followed by all children with typeunit_child
unit_sibling
: assume AIS has # 4 and APT 4. if we search for UNIT 4, it should return # 4 and APT 4 with match typesame_unit
. Usematches_unit
relationship type fromaddress_link
.unmatched
: if we search for an address that doesn't exist in AIS, drop down to centerline geocode and return service areas.sample response: