lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anurag Sharma <>
Subject Re: Minimum Term Matching in More Like This Queries
Date Sat, 08 Nov 2014 13:57:23 GMT
There is no direct way of retrieving doc based on minimum term match in
Solr. mlm params 'mlt.mintf' and 'mlt.match.offset' can be explored if they
meets the criteria. Refer below links for more details:

In case you are using lucene library directly,setPercentTermsToMatch()
function can be used from MoreLikeThisQuery class.
Refer code:

On Fri, Nov 7, 2014 at 9:45 PM, Tim Hearn <> wrote:

> Hi!
> I'm fairly new to Solr.  Is there a feature which enforces minimum term
> matching for MLT Queries?  More precisely, that is, a document will match
> the MLT query if and only if at least x terms in the query are found in the
> document, with x defined by the user.  I could not find such a feature in
> the documentation, and switching to the edismax query parser and using the
> 'mm' parameter does not work for me.
> Thanks!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message