You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Jack Krupansky <ja...@basetechnology.com> on 2013/01/09 18:22:36 UTC

Javadoc bug: FuzzyQuery - minimumSimilarity => maxEdits

There’s a bug/typo in the following Lucene Javadoc:

FuzzyQuery

public FuzzyQuery(Term term,
          int maxEdits,
          int prefixLength)

Calls FuzzyQuery(term, minimumSimilarity, prefixLength, defaultMaxExpansions, defaultTranspositions).

The reference to “minimumSimilarity” should be “maxEdits”.

-- Jack Krupansky

Re: Javadoc bug: FuzzyQuery - minimumSimilarity => maxEdits

Posted by Michael McCandless <lu...@mikemccandless.com>.
Thanks Jack, I committed the fix!

Mike McCandless

http://blog.mikemccandless.com

On Wed, Jan 9, 2013 at 12:22 PM, Jack Krupansky <ja...@basetechnology.com> wrote:
> There’s a bug/typo in the following Lucene Javadoc:
>
> FuzzyQuery
>
> public FuzzyQuery(Term term,
>           int maxEdits,
>           int prefixLength)
>
> Calls FuzzyQuery(term, minimumSimilarity, prefixLength,
> defaultMaxExpansions, defaultTranspositions).
>
> The reference to “minimumSimilarity” should be “maxEdits”.
>
> -- Jack Krupansky

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