_count hangs, closes #52
This commit is contained in:
parent
b13f6b1bdd
commit
83a78b3979
|
@ -49,7 +49,7 @@ import org.elasticsearch.util.component.AbstractComponent;
|
||||||
import org.elasticsearch.util.settings.Settings;
|
import org.elasticsearch.util.settings.Settings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kimchy (Shay Banon)
|
* @author kimchy (shay.banon)
|
||||||
*/
|
*/
|
||||||
public class ServerClient extends AbstractComponent implements Client {
|
public class ServerClient extends AbstractComponent implements Client {
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ public class ServerClient extends AbstractComponent implements Client {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void count(CountRequest request, ActionListener<CountResponse> listener) {
|
@Override public void count(CountRequest request, ActionListener<CountResponse> listener) {
|
||||||
countAction.execute(request);
|
countAction.execute(request, listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public ActionFuture<SearchResponse> search(SearchRequest request) {
|
@Override public ActionFuture<SearchResponse> search(SearchRequest request) {
|
||||||
|
|
Loading…
Reference in New Issue