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:
> OK and yes. The docs will look like:
>
> <add>
> <doc>
> <field name='item_id'>ipad</field>
> <field name='similar_items'>iphone</field>
> <field name='cross_action_similar_items'>iphone nexus</field>
> </doc>
> <doc>
> <field name='item_id'>iphone</field>
> <field name='similar_items'>ipad</field>
> <field name='cross_action_similar_items'>ipad galaxy</field>
> </doc>
> </add>
>
>
> On Jul 31, 2013, at 11:42 AM, B Lyon <[email protected]> wrote:
>
> I'm interested in helping as well.
> Btw I thought that what was stored in the solr fields were the llr-filtered
> items (ids I guess) for the could-be-recommended things.
>