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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to