File tree 1 file changed +1
-3
lines changed
modules/parent-join/src/test/java/org/elasticsearch/join/query
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 31
31
import org .apache .lucene .search .join .ScoreMode ;
32
32
import org .apache .lucene .search .similarities .PerFieldSimilarityWrapper ;
33
33
import org .apache .lucene .search .similarities .Similarity ;
34
- import org .apache .lucene .util .LuceneTestCase ;
35
34
import org .elasticsearch .Version ;
36
35
import org .elasticsearch .cluster .metadata .IndexMetaData ;
37
36
import org .elasticsearch .common .Strings ;
73
72
import static org .hamcrest .CoreMatchers .instanceOf ;
74
73
import static org .hamcrest .CoreMatchers .notNullValue ;
75
74
76
- @ LuceneTestCase .AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/29362" )
77
75
public class HasChildQueryBuilderTests extends AbstractQueryTestCase <HasChildQueryBuilder > {
78
76
79
77
private static final String TYPE = "_doc" ;
@@ -99,7 +97,7 @@ protected Settings indexSettings() {
99
97
100
98
@ Override
101
99
protected void initializeAdditionalMappings (MapperService mapperService ) throws IOException {
102
- similarity = randomFrom ("classic " , "BM25" );
100
+ similarity = randomFrom ("boolean " , "BM25" );
103
101
XContentBuilder mapping = jsonBuilder ().startObject ().startObject ("_doc" ).startObject ("properties" )
104
102
.startObject ("join_field" )
105
103
.field ("type" , "join" )
You can’t perform that action at this time.
0 commit comments