Register correct response for `can_match` proxy response

Relates to #25658
Closes #25698
This commit is contained in:
Simon Willnauer 2017-07-13 08:33:56 +02:00
parent ded9f55263
commit 02e9ad6d6f
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ public class SearchTransportService extends AbstractComponent {
channel.sendResponse(new CanMatchResponse(canMatch));
}
});
TransportActionProxy.registerProxyAction(transportService, QUERY_CAN_MATCH_NAME, QuerySearchResult::new);
TransportActionProxy.registerProxyAction(transportService, QUERY_CAN_MATCH_NAME, CanMatchResponse::new);
}
public static final class CanMatchResponse extends SearchPhaseResult {