When interaction events are sent to the kinesis stream for packages they use only the last part of the id - i.e. 8755 - but when we do the lookup in lambda-ian-rankin the full id string is used - i.e. hotel:ne.wvid.8755.
This means that all packages always return a score of 0.
The easiest way to fix this is probably to strip the hotel:newvid. part from any tags in lambda-ian-rankin before doing a lookup.
When interaction events are sent to the kinesis stream for packages they use only the last part of the id - i.e.
8755
- but when we do the lookup inlambda-ian-rankin
the full id string is used - i.e.hotel:ne.wvid.8755
.This means that all packages always return a score of 0.
The easiest way to fix this is probably to strip the
hotel:newvid.
part from any tags inlambda-ian-rankin
before doing a lookup.