Search query and candidate product title similarity
Compute the Jaccard similarity between the user's search query and the candidate product title.
Candidate product was viewed by user
Determine if the candidate product is included in the user's most recent 10 product visits within the last hour.