I'm looking to deploy a strategy for the following search problem
using elastic search.
A simplified version of the problem is as follows:
Say I have two data sets
- contains multiple users and multiple records for each user
with 2 fields i.e. fields username & liketext
- contains multiple product records
with 2 fields i.e. product_title & description
I want to match MyLikes against ForSale and generate a third dataset
The strategies I have in mind are
- Turn each ForSale entry into a tagsoup by removing stopwords and
use these tags to go against MyLikes and build a table of users
for each Product ranked by number of hits
- Do a more_like_this search for each ForSale Record against the
MyLikes dataset and use those results.
Are there any other strategies that I could use and would the
strategy be effective.