LUCENE-7776 - adjusted failing tests in solr due to switching to bm25 in knn

This commit is contained in:
Tommaso Teofili 2017-04-12 09:55:03 +02:00
parent 9ed722f565
commit 7fde878ae4
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ public class ClassificationUpdateProcessorTest extends SolrTestCaseJ4 {
updateProcessorToTest=new ClassificationUpdateProcessor(params,mockProcessor,reader,req().getSchema());
updateProcessorToTest.processAdd(update);
assertThat(unseenDocument1.getFieldValue(PREDICTED_CLASS),is("class1"));
assertThat(unseenDocument1.getFieldValue(PREDICTED_CLASS),is("class2"));
}
@Test
@ -119,7 +119,7 @@ public class ClassificationUpdateProcessorTest extends SolrTestCaseJ4 {
updateProcessorToTest=new ClassificationUpdateProcessor(params,mockProcessor,reader,req().getSchema());
updateProcessorToTest.processAdd(update);
assertThat(unseenDocument1.getFieldValue(TRAINING_CLASS),is("class1"));
assertThat(unseenDocument1.getFieldValue(TRAINING_CLASS),is("class2"));
}
@Test