You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jens Wille (JIRA)" <ji...@apache.org> on 2015/06/23 15:00:03 UTC

[jira] [Comment Edited] (SOLR-7639) Bring MLTQParser at par with the MLT Handler w.r.t supported options

    [ https://issues.apache.org/jira/browse/SOLR-7639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597427#comment-14597427 ] 

Jens Wille edited comment on SOLR-7639 at 6/23/15 12:59 PM:
------------------------------------------------------------

Thanks for improving MLTQParser! Unfortunately, this patch contains an error: {{maxqt}} should use {{setMaxQueryTerms}} and {{maxntp}} should use {{setMaxNumTokensParsed}}. Also, what about {{maxdf}} ({{setMaxDocFreq}}) and {{boost}} ({{setBoost}})?

And wouldn't it make sense to use the defaults from {{org.apache.lucene.queries.mlt.MoreLikeThis}} just like MoreLikeThisHandler does?

I can provide patches for most of these (not sure about boosting; seems a bit more involved). Should I add them here or open new ticket(s)?


was (Author: blackwinter):
Thanks for improving MLTQParser! Unfortunately, this patch contains an error: {{maxqt}} should use {{setMaxQueryTerms}} and {{maxntp}} should use {{setMaxNumTokensParsed}}. Also, what about {{maxdf}} ({{setMaxDocFreq}}) and {{boost}} ({{setBoost}})?

And wouldn't it make sense to use the defaults from {{org.apache.lucene.queries.mlt.MoreLikeThis}} just like MoreLikeThisHandler does?

I can provide patches for most of these (not sure about boosting; seems a bit more involved). Should I add them here or open new issue(s)?

> Bring MLTQParser at par with the MLT Handler w.r.t supported options
> --------------------------------------------------------------------
>
>                 Key: SOLR-7639
>                 URL: https://issues.apache.org/jira/browse/SOLR-7639
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Anshum Gupta
>            Assignee: Anshum Gupta
>         Attachments: SOLR-7639.patch, SOLR-7639.patch
>
>
> As of now, there are options that the MLT Handler supports which the QParser doesn't. It would be good to have the QParser tap into everything that's supported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org