Hi, Have you tried to add a filter directly to the /solr/mlt?q=-request? Try to add "&fq=available:yes", and see if you can limit the MoreLikeThis-documents to documents that has "yes" in the "available"-field. I have had some success with this approach.
/Clas, Frisim.com On Mon, Jan 19, 2009 at 2:49 PM, Andrew Ingram <a...@andrewingram.net> wrote: > Hi, > > I'm using Solr's MoreLikeThese functionality for a rudimentary related > products system, but we need it to only return related products that match > certain criteria. For example, we don't want to see any related products > that are discontinued. I'm having difficulty figuring out if there's a way > to filter/query on the MLT result. > > Regards, > Andrew Ingram >