You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by sarxos <gi...@git.apache.org> on 2017/09/16 12:07:29 UTC

[GitHub] lucene-solr pull request #248: Fix invalid javadoc example in SpellChecker

GitHub user sarxos opened a pull request:

    https://github.com/apache/lucene-solr/pull/248

    Fix invalid javadoc example in SpellChecker

    Hello Lucene team.
    
    This pull request is to address [LUCENE-7971](https://issues.apache.org/jira/browse/LUCENE-7971) bug from JIRA.
    
    It is a fix for invalid example in ```SpellChecker``` javadoc. Index dictionary can be done by invoking ```checker.indexDictionary(dictionary, config, true)``` but in javadoc example the ```checker.indexDictionary(dictionary)``` method is used instead, which is wrong, because such method does not exist.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sarxos/lucene-solr patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/248.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #248
    
----
commit 5d132c5cdd57f5ade3c7f09b92eb653667775413
Author: Bartosz Firyn <ba...@gmail.com>
Date:   2017-09-16T11:52:55Z

    Fix invalid javadoc example in SpellChecker
    
    This is fix for invalid example in SpellChecker javadoc. Index dictionary can be done by invoking SpellChecker::indexDictionary(Dictionary, IndexWriterConfig, boolean), but in javadoc example the SpellChecker::indexDictionary(Dictionary) method is used instead, which is wrong because such method does not exist.

----


---

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