Skip to content
Snippets Groups Projects
Commit 4ace9795 authored by Vibhuti Sharma [Microsoft]'s avatar Vibhuti Sharma [Microsoft]
Browse files

debug

parent 4805843f
No related branches found
No related tags found
1 merge request!271Handle path prefix in elasticsearch url
Pipeline #90184 failed
Pipeline: Indexer

#90185

    ......@@ -423,7 +423,7 @@ public class ElasticUtils {
    url = url.trim().replaceAll("^(?i)(https?)://","");
    URI uri = new URI(scheme + "://" + url);
    log.info(String.format("host:%s, port:%s, scheme:%s", uri.getHost(), uri.getPort(), uri.getScheme()));
    log.info(String.format("host:%s, port:%s, scheme:%s", uri.getHost(), port, uri.getScheme()));
    RestClientBuilder builder = RestClient.builder(new HttpHost(uri.getHost(), port, uri.getScheme()));
    builder.setPathPrefix(uri.getPath());
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment