Subject: Setting up a recommender


oops, mistyped…

If the LLR created DRM has a row:

Key: 1, Value { 0:1.0,}

where 0 -> iphone and 1 -> ipad then wouldn't the doc look like

<doc>
     <field name='item_id'>ipad</field>
     <field name='similar_items'>iphone</field>
</doc>
On Jul 31, 2013, at 12:14 PM, Pat Ferrel <[EMAIL PROTECTED]> wrote:

Sorry not sure what you are saying.

If the LLR created DRM has a row:

Key: 0, Value { 1:1.0,}

where 0 -> iphone and 1 -> ipad then wouldn't the doc look like

<doc>
     <field name='item_id'>ipad</field>
     <field name='similar_items'>iphone</field>
</doc>

or rather the csv equivalent?

On Jul 31, 2013, at 12:04 PM, Ted Dunning <[EMAIL PROTECTED]> wrote:

The fields actually point the other direction.  They contain items which,
if they appear in a history, indicate that the current document is a good
recommendation.

This reversal of roles is what makes search work.

Going the other way works for a single doc, but that only gives a list of
id's which then have to be retrieved.  Better to have the tags for the
single doc on all the related docs so that a single retrieval will pull
them all in with their details.
On Wed, Jul 31, 2013 at 11:51 AM, Pat Ferrel <[EMAIL PROTECTED]> wrote: