File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
server/src/test/java/org/elasticsearch/search/query Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -151,12 +151,6 @@ tests:
151
151
- class : org.elasticsearch.xpack.ml.integration.MlJobIT
152
152
method : testDeleteJobAsync
153
153
issue : https://github.com/elastic/elasticsearch/issues/112212
154
- - class : org.elasticsearch.search.query.ScriptScoreQueryTests
155
- method : testScriptTermStatsAvailable
156
- issue : https://github.com/elastic/elasticsearch/issues/112278
157
- - class : org.elasticsearch.search.query.ScriptScoreQueryTests
158
- method : testScriptTermStatsNotAvailable
159
- issue : https://github.com/elastic/elasticsearch/issues/112290
160
154
- class : org.elasticsearch.search.retriever.rankdoc.RankDocsSortBuilderTests
161
155
method : testEqualsAndHashcode
162
156
issue : https://github.com/elastic/elasticsearch/issues/112312
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public void initSearcher() throws IOException {
72
72
w .commit ();
73
73
reader = DirectoryReader .open (w );
74
74
searcher = newSearcher (reader );
75
- leafReaderContext = reader .leaves ().get (0 );
75
+ leafReaderContext = searcher . getTopReaderContext () .leaves ().get (0 );
76
76
}
77
77
78
78
@ After
You can’t perform that action at this time.
0 commit comments