You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Chongchen Chen (Jira)" <ji...@apache.org> on 2019/08/22 05:09:00 UTC

[jira] [Commented] (SOLR-13505) MLT (MoreLikeThis) broken in Techproducts example

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

Chongchen Chen commented on SOLR-13505:
---------------------------------------

In MoreLikeThis.java. default tf is 2, default df is 5. so I think it behaves correctly. No bug.

{code:java}
  /**
   * Ignore terms with less than this frequency in the source doc.
   *
   * @see #getMinTermFreq
   * @see #setMinTermFreq
   */
  public static final int DEFAULT_MIN_TERM_FREQ = 2;

  /**
   * Ignore words which do not occur in at least this many docs.
   *
   * @see #getMinDocFreq
   * @see #setMinDocFreq
   */
  public static final int DEFAULT_MIN_DOC_FREQ = 5;
{code}

> MLT (MoreLikeThis) broken in Techproducts example
> -------------------------------------------------
>
>                 Key: SOLR-13505
>                 URL: https://issues.apache.org/jira/browse/SOLR-13505
>             Project: Solr
>          Issue Type: Bug
>          Components: MoreLikeThis
>    Affects Versions: 8.1.1
>            Reporter: Markus Kalkbrenner
>            Priority: Major
>
> In the techproducts example the "more like this" link in search results of the
> {code:java}
> /browse{code}
> query handler always returns no results.
> You need to add
> {code:java}
> &mlt.mintf=1&mlt.mindf=1
> {code}
> to the query to get results!



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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