SOLR-4111: test fix for SpellCheckCollatorTest#testContextSensitiveCollate

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413036 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Dyer 2012-11-23 19:24:54 +00:00
parent f40f9dd181
commit 3bb8a5e877
2 changed files with 5 additions and 1 deletions

View File

@ -279,6 +279,10 @@ Other Changes
* SOLR-1916: DIH to not use Lucene-forbidden Java APIs
(default encoding, locale, etc.) (James Dyer, Robert Muir)
* SOLR-4111: SpellCheckCollatorTest#testContextSensitiveCollate to test against
both DirectSolrSpellChecker & IndexBasedSpellChecker
(Tomás Fernández Löbbe via James Dyer)
================== 4.0.0 ==================
Versions of Major Components

View File

@ -376,7 +376,7 @@ public class SpellCheckCollatorTest extends SolrTestCaseJ4 {
public void testContextSensitiveCollate() throws Exception {
// DirectSolrSpellChecker IndexBasedSpellChecker
String[] dictionary = {"direct", "default_teststop" };
for(int i=0 ; i<1 ; i++) {
for(int i=0 ; i<=1 ; i++) {
assertQ(
req(
"q", "teststop:(flew AND form AND heathrow)",