mirror of https://github.com/apache/lucene.git
LUCENE-7776 - adjusted failing tests in solr due to switching to bm25 in knn
This commit is contained in:
parent
9ed722f565
commit
7fde878ae4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue