[ https://issues.apache.org/jira/browse/SOLR-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534167#comment-13534167 ]
Commit Tag Bot commented on SOLR-4111: -------------------------------------- [branch_4x commit] James Dyer http://svn.apache.org/viewvc?view=revision&revision=1423093 SOLR-4111: fix occasional failures > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org