[
https://issues.apache.org/jira/browse/SOLR-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540995#comment-13540995
]
Jack Krupansky commented on SOLR-4182:
--------------------------------------
I found this comment in MoreLikeThisParams.java:
{code}
// the /mlt request handler uses 'rows'
public final static String DOC_COUNT = mlt.count";
{code}
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: https://issues.apache.org/jira/browse/SOLR-4182
> 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: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]