>
> So if I search for "id:1 OR id:2 OR id:3", I want the MLT result to be a
> single list of items, rather than 3 lists.
>
I did not understand this. Isn't the "q" parameter in MLT handler supposed
to serve the same objective. "/mlt?q=(id:1 OR id:2 OR
id:3)&mlt.fl=mlt-field&mlt.mintf=1" just works fine.

Cheers
Avlesh

On Fri, Jul 31, 2009 at 5:38 PM, Andrew Ingram <a...@andrewingram.net>wrote:

> Hi all,
> I'm trying various methods of building a user-specific product
> recommendation system and one idea is to use solr's MLT functionality.
>
> For each customer I have a list of items they've bought, and I want to find
> similar items that are new to the site.
>
> The problem is that MLT operates on each result found (if I send it an id,
> it will return a list for that id, if I send it lots of ids it will return
> a
> list for EACH result), what I really want is to return a single list based
> on the combined factors of all items return by the initial query.
>
> So if I search for "id:1 OR id:2 OR id:3", I want the MLT result to be a
> single list of items, rather than 3 lists.
>
> Is this possible without writing a completely new handler?
>
> Regards,
> Andrew Ingram
>

Reply via email to