numo-labs / isearch-ui

:yellow_heart: :mag: The ui for inspirational search!
GNU General Public License v3.0
7 stars 7 forks source link

Mismatch between hotel ids used for ranking #514

Closed lennym closed 8 years ago

lennym commented 8 years ago

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.