You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:15:20 UTC
[jira] [Commented] (SOLR-4111) Context-Sensitive SpellCheck
Collation is not really being tested on IndexBasedSpellChecker
[ https://issues.apache.org/jira/browse/SOLR-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610507#comment-13610507 ]
Commit Tag Bot commented on SOLR-4111:
--------------------------------------
[branch_4x commit] James Dyer
http://svn.apache.org/viewvc?view=revision&revision=1413038
SOLR-4111: test fix for SpellCheckCollatorTest#testContextSensitiveCollate
> 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
> Assignee: James Dyer
> Priority: Trivial
> Fix For: 4.1, 5.0
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org