Search in sources :

Example 1 with OptimizeResponse

use of io.zulia.message.ZuliaServiceOuterClass.OptimizeResponse in project zuliasearch by zuliaio.

the class OptimizeIndex method execute.

@Override
public OptimizeIndexResult execute(ZuliaConnection zuliaConnection) {
    ZuliaServiceBlockingStub service = zuliaConnection.getService();
    OptimizeResponse optimizeResponse = service.optimize(getRequest());
    return new OptimizeIndexResult(optimizeResponse);
}
Also used : ZuliaServiceBlockingStub(io.zulia.message.ZuliaServiceGrpc.ZuliaServiceBlockingStub) OptimizeIndexResult(io.zulia.client.result.OptimizeIndexResult) OptimizeResponse(io.zulia.message.ZuliaServiceOuterClass.OptimizeResponse)

Aggregations

OptimizeIndexResult (io.zulia.client.result.OptimizeIndexResult)1 ZuliaServiceBlockingStub (io.zulia.message.ZuliaServiceGrpc.ZuliaServiceBlockingStub)1 OptimizeResponse (io.zulia.message.ZuliaServiceOuterClass.OptimizeResponse)1