# Would mit be a strategy for matching 2 data sets

**URL:** <https://discuss.elastic.co/t/would-mit-be-a-strategy-for-matching-2-data-sets/3741>\
**Category:** Elasticsearch\
**Created:** [January 4, 2011, 10:12pm UTC](https://discuss.elastic.co/t/would-mit-be-a-strategy-for-matching-2-data-sets/3741 "2011-01-04T22:12:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssriram](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssriram/32/3291_2.png) [@ssriram](https://discuss.elastic.co/u/ssriram)\
**Post date:** [January 4, 2011, 10:12pm UTC](https://discuss.elastic.co/t/would-mit-be-a-strategy-for-matching-2-data-sets/3741/1 "2011-01-04T22:12:38Z")

</div>

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  
- MyLikes  
- contains multiple users and multiple records for each user  
with 2 fields i.e. fields username & liketext  
- ForSale  
- contains multiple product records  
with 2 fields i.e. product\_title & description

I want to match MyLikes against ForSale and generate a third dataset  
called Sales\_I\_Might\_Like

The strategies I have in mind are

1. 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
2. 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  
more\_like\_this  
strategy be effective.

Thanks  
S. Sriram

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [January 5, 2011, 12:37pm UTC](https://discuss.elastic.co/t/would-mit-be-a-strategy-for-matching-2-data-sets/3741/2 "2011-01-05T12:37:14Z")

</div>

Yes, that would work.

On Wed, Jan 5, 2011 at 12:12 AM, ssriram [ssriram@gmail.com](mailto:ssriram@gmail.com) wrote:

> I'm looking to deploy a strategy for the following search problem  
> using Elasticsearch.
> 
> A simplified version of the problem is as follows:
> 
> Say I have two data sets
> 
> - MyLikes
> - contains multiple users and multiple records for each user  
> with 2 fields i.e. fields username & liketext
> 
> - ForSale
> - contains multiple product records  
> with 2 fields i.e. product\_title & description
> 
> I want to match MyLikes against ForSale and generate a third dataset  
> called Sales\_I\_Might\_Like
> 
> The strategies I have in mind are
> 
> 1. 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
> 2. 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  
> more\_like\_this  
> strategy be effective.
> 
> Thanks  
> S. Sriram

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:14am UTC](https://discuss.elastic.co/t/would-mit-be-a-strategy-for-matching-2-data-sets/3741/3 "2017-07-06T04:14:18Z")

</div>

Closed on July 6, 2017, 4:14am UTC


