Ah, I see. I have, more or less, only used the MoreLikeThis (single document) version, and the fq-filter is then applied to the (only) query that is made. Sorry.
/Clas On Mon, Jan 19, 2009 at 4:42 PM, Andrew Ingram <a...@andrewingram.net> wrote: > Thanks, I'll try this. > > I tried using the /select version and the problem was that fq applies only > to the original query rather than the mlt results which are effectively > separate queries. > > > Clas Rydergren wrote: >> >> Hi, >> >> Even if you use the /solr/select-version of MLT, I guess that just >> adding the fq-parameter may work. >> >> If you would like to add the MLT request handler, add something like >> >> <requestHandler name="mlt" class="solr.MoreLikeThisHandler"> >> <lst name="defaults"> >> <str name="mlt.fl">title,data</str> >> <int name="mlt.mindf">1</int> >> </lst> >> </requestHandler> >> >> as a request handler plugin in your solrconfig.xml file. If you are >> running on Tomcat you will have to make adjustments to you >> web.xml-file. >> >> /Clas, Frisim.com >> >