@@ -46,7 +46,7 @@ public void testOrdered() throws IOException {
4646 CannedTokenStream ts = new CannedTokenStream (new Token ("term1" , 1 , 2 ), new Token ("term2" , 3 , 4 ), new Token ("term3" , 5 , 6 ));
4747
4848 IntervalsSource source = BUILDER .analyzeText (new CachingTokenFilter (ts ), -1 , true );
49- IntervalsSource expected = XIntervals .ordered (Intervals .term ("term1" ), Intervals .term ("term2" ), Intervals .term ("term3" ));
49+ IntervalsSource expected = Intervals .ordered (Intervals .term ("term1" ), Intervals .term ("term2" ), Intervals .term ("term3" ));
5050
5151 assertEquals (expected , source );
5252
@@ -57,7 +57,7 @@ public void testUnordered() throws IOException {
5757 CannedTokenStream ts = new CannedTokenStream (new Token ("term1" , 1 , 2 ), new Token ("term2" , 3 , 4 ), new Token ("term3" , 5 , 6 ));
5858
5959 IntervalsSource source = BUILDER .analyzeText (new CachingTokenFilter (ts ), -1 , false );
60- IntervalsSource expected = XIntervals .unordered (Intervals .term ("term1" ), Intervals .term ("term2" ), Intervals .term ("term3" ));
60+ IntervalsSource expected = Intervals .unordered (Intervals .term ("term1" ), Intervals .term ("term2" ), Intervals .term ("term3" ));
6161
6262 assertEquals (expected , source );
6363
@@ -101,7 +101,7 @@ public void testSimpleSynonyms() throws IOException {
101101 );
102102
103103 IntervalsSource source = BUILDER .analyzeText (new CachingTokenFilter (ts ), -1 , true );
104- IntervalsSource expected = XIntervals .ordered (
104+ IntervalsSource expected = Intervals .ordered (
105105 Intervals .term ("term1" ),
106106 Intervals .or (Intervals .term ("term2" ), Intervals .term ("term4" )),
107107 Intervals .term ("term3" )
@@ -122,7 +122,7 @@ public void testSimpleSynonymsWithGap() throws IOException {
122122 );
123123
124124 IntervalsSource source = BUILDER .analyzeText (new CachingTokenFilter (ts ), -1 , true );
125- IntervalsSource expected = XIntervals .ordered (
125+ IntervalsSource expected = Intervals .ordered (
126126 Intervals .term ("term1" ),
127127 Intervals .extend (Intervals .or (Intervals .term ("term2" ), Intervals .term ("term3" ), Intervals .term ("term4" )), 1 , 0 ),
128128 Intervals .term ("term5" )
@@ -143,7 +143,7 @@ public void testGraphSynonyms() throws IOException {
143143 );
144144
145145 IntervalsSource source = BUILDER .analyzeText (new CachingTokenFilter (ts ), -1 , true );
146- IntervalsSource expected = XIntervals .ordered (
146+ IntervalsSource expected = Intervals .ordered (
147147 Intervals .term ("term1" ),
148148 Intervals .or (Intervals .term ("term2" ), Intervals .phrase ("term3" , "term4" )),
149149 Intervals .term ("term5" )
@@ -166,7 +166,7 @@ public void testGraphSynonymsWithGaps() throws IOException {
166166 );
167167
168168 IntervalsSource source = BUILDER .analyzeText (new CachingTokenFilter (ts ), -1 , true );
169- IntervalsSource expected = XIntervals .ordered (
169+ IntervalsSource expected = Intervals .ordered (
170170 Intervals .term ("term1" ),
171171 Intervals .or (
172172 Intervals .extend (Intervals .term ("term2" ), 1 , 0 ),
@@ -190,7 +190,7 @@ public void testGraphTerminatesOnGap() throws IOException {
190190 );
191191
192192 IntervalsSource source = BUILDER .analyzeText (new CachingTokenFilter (ts ), -1 , true );
193- IntervalsSource expected = XIntervals .ordered (
193+ IntervalsSource expected = Intervals .ordered (
194194 Intervals .term ("term1" ),
195195 Intervals .or (Intervals .term ("term2" ), Intervals .phrase ("term3" , "term4" )),
196196 Intervals .extend (Intervals .term ("term5" ), 1 , 0 )
0 commit comments