Have you tried varying mintf and mindf? Setting them higher than 1
seems like it would reduce the number of docs returned......


Best
Erick

On Tue, Oct 25, 2011 at 2:57 AM, vraa <allanv...@gmail.com> wrote:
> Hi
>
> I'm using the MoreLikeThis functionallity
> http://wiki.apache.org/solr/MoreLikeThis
> http://wiki.apache.org/solr/MoreLikeThis , and it works almost perfectly for
> my situation.
>
> But, i get to many hist, and mayby thats the hole idea of MoreLikeThis, but
> im gonna ask anyway.
>
> My query looks like this:
> /select/?q=id:111111&mlt=true&mlt.match.include=true&mlt.fl=make,model,variant&mlt.mindf=1&mlt.mintf=1&fl=id,score,make,model,variant
> .
> The id is a Lamborghini. There are only 8 lamborghinis in my database and
> still i get a lot more hits.
> Is it possible to make it so Solr only return 8 results in this query? Which
> means solr must interpret the query so that there must be a hit on all of
> the "mlt.fl". If not, then remove the last of the "mlt.fl (variant)" and try
> again. If no hits then remove "model" and so forth.
>
> Does it make sense?
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/MoreLikeThis-To-many-hits-tp3450632p3450632.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to