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

Jens Wille commented on SOLR-7639:
----------------------------------

bq. About the defaults from MoreLikeThis.java, I've changed that just to work 
around the fact that the term/doc stats are local and not global by default.

I'm sorry, but I don't understand the latter part. What I meant was

{code}
mlt.setMinTermFreq(localParams.getInt(MoreLikeThisParams.MIN_TERM_FREQ, 
MoreLikeThis.DEFAULT_MIN_TERM_FREQ));
{code}

etc. (see {{SOLR-7639-use-defaults.patch}}). Exactly like 
{{MoreLikeThisHandler}} does it.

> 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
>             Fix For: 5.3
>
>         Attachments: SOLR-7639-use-defaults.patch, 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to