lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-6283) More Like This: skip terms, like Fields and lenient defaults
Date Mon, 23 Feb 2015 14:49:12 GMT


Robert Muir commented on LUCENE-6283:

I am also curious, what is the difference between skipTerms and MoreLikeThis's setStopWords?
It already has a separate stoplist (usually you want something more aggressive here):

   * Set the set of stopwords.
   * Any word in this set is considered "uninteresting" and ignored.
   * Even if your Analyzer allows stopwords, you might want to tell the MoreLikeThis code
to ignore them, as
   * for the purposes of document similarity it seems reasonable to assume that "a stop word
is never interesting".
   * @param stopWords set of stopwords, if null it means to allow stop words
   * @see #getStopWords
  public void setStopWords(Set<?> stopWords) {

> More Like This: skip terms, like Fields and lenient defaults
> ------------------------------------------------------------
>                 Key: LUCENE-6283
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: Trunk
>            Reporter: Alex Ksikes
>            Priority: Minor
>         Attachments: LUCENE-6283.patch
> - added skip terms: list of terms not to be considered as interesting
> - added like on Fields and Terms objects
> - made defaults more lenient

This message was sent by Atlassian JIRA

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

View raw message