[
https://issues.apache.org/jira/browse/SOLR-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomás Fernández Löbbe updated SOLR-4111:
----------------------------------------
Attachment: SOLR-4111.patch
> Context-Sensitive SpellCheck Collation is not really being tested on
> IndexBasedSpellChecker
> -------------------------------------------------------------------------------------------
>
> Key: SOLR-4111
> URL: https://issues.apache.org/jira/browse/SOLR-4111
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Tomás Fernández Löbbe
> Priority: Trivial
> Attachments: SOLR-4111.patch
>
>
> Looks like a typo in the code.
> SpellCheckCollatorTest.testContextSensitiveCollate() has:
> {code:java}
> // DirectSolrSpellChecker IndexBasedSpellChecker
> String[] dictionary = {"direct", "default_teststop" };
> for(int i=0 ; i<1 ; i++) {
> ... test stuff using dictionary[i]...
> }
> {code}
> where it should be
> {code:java}
> // DirectSolrSpellChecker IndexBasedSpellChecker
> String[] dictionary = {"direct", "default_teststop" };
> for(int i=0 ; i<=1 ; i++) {
> ... test stuff using dictionary[i]...
> }
> {code}
> due to this, the tests are not being run with a IndexBasedSpellChecker.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]