renaming read client
This commit is contained in:
parent
3cc4881f19
commit
10833f023b
3 changed files with 8 additions and 7 deletions
|
@ -1,6 +0,0 @@
|
|||
package org.xbib.elx.api;
|
||||
|
||||
public interface ReadClientProvider<C extends ReadClient> {
|
||||
|
||||
C getReadClient();
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package org.xbib.elx.api;
|
||||
|
||||
@FunctionalInterface
|
||||
public interface SeachClientProvider<C extends SearchClient> {
|
||||
|
||||
C getClient();
|
||||
}
|
|
@ -9,7 +9,7 @@ import org.elasticsearch.action.get.MultiGetResponse;
|
|||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
|
||||
public interface ReadClient {
|
||||
public interface SearchClient {
|
||||
|
||||
ActionFuture<GetResponse> get(GetRequest getRequest);
|
||||
|
Loading…
Reference in a new issue