@@ -658,23 +658,23 @@ public void testPartition() throws IOException {
658658 assertEquals (3 , scorer .firstRequiredScorer ); // no required clauses
659659
660660 // less than the minimum score of every clause
661- scorer .minCompetitiveScore = 0.09f ;
661+ scorer .scorable . minCompetitiveScore = 0.09f ;
662662 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
663663 scorer .updateMaxWindowScores (4 , 100 );
664664 assertTrue (scorer .partitionScorers ());
665665 assertEquals (0 , scorer .firstEssentialScorer ); // all clauses are still essential
666666 assertEquals (3 , scorer .firstRequiredScorer ); // no required clauses
667667
668668 // equal to the maximum score of `the`
669- scorer .minCompetitiveScore = 0.1f ;
669+ scorer .scorable . minCompetitiveScore = 0.1f ;
670670 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
671671 scorer .updateMaxWindowScores (4 , 100 );
672672 assertTrue (scorer .partitionScorers ());
673673 assertEquals (0 , scorer .firstEssentialScorer ); // all clauses are still essential
674674 assertEquals (3 , scorer .firstRequiredScorer ); // no required clauses
675675
676676 // gt than the minimum score of `the`
677- scorer .minCompetitiveScore = 0.11f ;
677+ scorer .scorable . minCompetitiveScore = 0.11f ;
678678 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
679679 scorer .updateMaxWindowScores (4 , 100 );
680680 assertTrue (scorer .partitionScorers ());
@@ -683,7 +683,7 @@ public void testPartition() throws IOException {
683683 assertSame (the , scorer .allScorers [0 ].scorer );
684684
685685 // equal to the sum of the max scores of the and quick
686- scorer .minCompetitiveScore = 1.1f ;
686+ scorer .scorable . minCompetitiveScore = 1.1f ;
687687 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
688688 scorer .updateMaxWindowScores (4 , 100 );
689689 assertTrue (scorer .partitionScorers ());
@@ -692,7 +692,7 @@ public void testPartition() throws IOException {
692692 assertSame (the , scorer .allScorers [0 ].scorer );
693693
694694 // greater than the sum of the max scores of the and quick
695- scorer .minCompetitiveScore = 1.11f ;
695+ scorer .scorable . minCompetitiveScore = 1.11f ;
696696 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
697697 scorer .updateMaxWindowScores (4 , 100 );
698698 assertTrue (scorer .partitionScorers ());
@@ -703,7 +703,7 @@ public void testPartition() throws IOException {
703703 assertSame (fox , scorer .allScorers [2 ].scorer );
704704
705705 // equal to the sum of the max scores of the and fox
706- scorer .minCompetitiveScore = 1.2f ;
706+ scorer .scorable . minCompetitiveScore = 1.2f ;
707707 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
708708 scorer .updateMaxWindowScores (4 , 100 );
709709 assertTrue (scorer .partitionScorers ());
@@ -714,7 +714,7 @@ public void testPartition() throws IOException {
714714 assertSame (fox , scorer .allScorers [2 ].scorer );
715715
716716 // greater than the sum of the max scores of the and fox
717- scorer .minCompetitiveScore = 1.21f ;
717+ scorer .scorable . minCompetitiveScore = 1.21f ;
718718 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
719719 scorer .updateMaxWindowScores (4 , 100 );
720720 assertTrue (scorer .partitionScorers ());
@@ -725,7 +725,7 @@ public void testPartition() throws IOException {
725725 assertSame (fox , scorer .allScorers [2 ].scorer );
726726
727727 // equal to the sum of the max scores of quick and fox
728- scorer .minCompetitiveScore = 2.1f ;
728+ scorer .scorable . minCompetitiveScore = 2.1f ;
729729 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
730730 scorer .updateMaxWindowScores (4 , 100 );
731731 assertTrue (scorer .partitionScorers ());
@@ -736,7 +736,7 @@ public void testPartition() throws IOException {
736736 assertSame (fox , scorer .allScorers [2 ].scorer );
737737
738738 // greater than the sum of the max scores of quick and fox
739- scorer .minCompetitiveScore = 2.11f ;
739+ scorer .scorable . minCompetitiveScore = 2.11f ;
740740 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
741741 scorer .updateMaxWindowScores (4 , 100 );
742742 assertTrue (scorer .partitionScorers ());
@@ -747,7 +747,7 @@ public void testPartition() throws IOException {
747747 assertSame (fox , scorer .allScorers [2 ].scorer );
748748
749749 // greater than the sum of the max scores of quick and fox
750- scorer .minCompetitiveScore = 2.11f ;
750+ scorer .scorable . minCompetitiveScore = 2.11f ;
751751 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
752752 scorer .updateMaxWindowScores (4 , 100 );
753753 assertTrue (scorer .partitionScorers ());
@@ -758,7 +758,7 @@ public void testPartition() throws IOException {
758758 assertSame (fox , scorer .allScorers [2 ].scorer );
759759
760760 // equal to the sum of the max scores of all terms
761- scorer .minCompetitiveScore = 2.2f ;
761+ scorer .scorable . minCompetitiveScore = 2.2f ;
762762 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
763763 scorer .updateMaxWindowScores (4 , 100 );
764764 assertTrue (scorer .partitionScorers ());
@@ -769,7 +769,7 @@ public void testPartition() throws IOException {
769769 assertSame (fox , scorer .allScorers [2 ].scorer );
770770
771771 // greater than the sum of the max scores of all terms
772- scorer .minCompetitiveScore = 2.21f ;
772+ scorer .scorable . minCompetitiveScore = 2.21f ;
773773 Collections .shuffle (Arrays .asList (scorer .allScorers ), random ());
774774 scorer .updateMaxWindowScores (4 , 100 );
775775 assertFalse (scorer .partitionScorers ()); // no possible match in this window
0 commit comments