Doug, does the good old 'fq' not work with MLT? It should...
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Doug Steigerwald <dsteigerw...@mcclatchyinteractive.com> > To: solr-user@lucene.apache.org > Sent: Wednesday, March 4, 2009 9:20:40 AM > Subject: MoreLikeThis filtering > > Is it possible to filter similarities found by the MLT component/handler? > Something like mlt.fq=site_id:86? > > We have 32 cores in our Solr install, and some of those cores have up to 8 > sites > indexed in them. Typically those cores will have one very large site with a > few > hundred thousand indexed documents, and lots of small sites with > significantly > less documents indexed. > > We're looking to implement a MLT component for our sites but want the similar > stories to be only for a specific site (not all sites in the core). > > Is there a way to do something like this, or will we have to make mods (I'm > not > seeing anything jump out at me in the Solr 1.3.0 or Lucene 2.4.0 code)? > > /solr/dsteiger/mlt?q=story_id:188665+AND+site_id:86&mlt.fq=site_id:86 > > (We have all all of our other defaults set up in the handler config.) > > Thanks. > --- > Doug Steigerwald > Software Developer > McClatchy Interactive > dsteigerw...@mcclatchyinteractive.com