lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky (JIRA)" <>
Subject [jira] [Commented] (SOLR-4182) MoreLikeThisHandler ignores mlt.count
Date Sat, 29 Dec 2012 20:54:12 GMT


Jack Krupansky commented on SOLR-4182:

I found this comment in

  // the /mlt request handler uses 'rows'
  public final static String DOC_COUNT = mlt.count";

In other words, you're SUPPOSED to use &rows=n with the /mlt handler rather than &mlt.count=n.

So, it's not really a bug per se, more of an inconsistency that could be improved. For example,
maybe the default for &rows in the mlt handler should be &mlt.count.

And maybe the doc could be improved a little. I would note that mlt.count is ONLY listed under
the MLT search component and NOT mentioned in the handler. The doc for the handler shoulder
probably explicitly say that it uses &rows rather than &mlt.count.

> MoreLikeThisHandler ignores mlt.count
> -------------------------------------
>                 Key: SOLR-4182
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: MoreLikeThis
>    Affects Versions: 4.1
>         Environment: solr-impl 4.1-SNAPSHOT 1421381 - ncindex - 2012-12-13 10:16:41
>            Reporter: Shawn Heisey
>             Fix For: 4.2, 5.0
> MoreLikeThisHandler ignores the mlt.count parameter.  This seems to be the case whether
it's on the URL path or in the handler definition.
> When using MoreLikeThisComponent in a search handler, mlt.count works.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message