mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[TEST] Rename variable to make it less confusing
This commit is contained in:
parent
fd57101952
commit
682abb90ee
@ -281,8 +281,8 @@ public class SearchServiceTests extends ESSingleNodeTestCase {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected QueryBuilder doRewrite(QueryRewriteContext queryShardContext) {
|
||||
if (queryShardContext.convertToShardContext() != null) {
|
||||
protected QueryBuilder doRewrite(QueryRewriteContext queryRewriteContext) {
|
||||
if (queryRewriteContext.convertToShardContext() != null) {
|
||||
throw new IllegalStateException("Fail on rewrite phase");
|
||||
}
|
||||
return this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user