Skip to content

Commit

Permalink
Class SearchRequestFactory is final.
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Soszynski <[email protected]>
  • Loading branch information
lukasz-soszynski-eliatra committed Oct 7, 2022
1 parent eb3180b commit cbb2d48
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

import static java.util.concurrent.TimeUnit.MINUTES;

public class SearchRequestFactory {
public final class SearchRequestFactory {

private SearchRequestFactory() {

}
public static SearchRequest queryStringQueryRequest(String indexName, String queryString) {
SearchRequest searchRequest = new SearchRequest(indexName);
SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder();
Expand Down

0 comments on commit cbb2d48

Please sign in to comment.