Package de.spinscale.elasticsearch.client.action.suggest

Examples of de.spinscale.elasticsearch.client.action.suggest.SuggestRefreshRequestBuilder


        return suggestResponse.suggestions();
    }

    @Override
    public void refreshAllSuggesters() throws Exception {
        SuggestRefreshRequestBuilder builder = new SuggestRefreshRequestBuilder(client());
        builder.execute().actionGet();
    }
View Full Code Here


        builder.execute().actionGet();
    }

    @Override
    public void refreshIndexSuggesters(String index) throws Exception {
        SuggestRefreshRequestBuilder builder = new SuggestRefreshRequestBuilder(client()).setIndices(index);
        builder.execute().actionGet();
    }
View Full Code Here

        builder.execute().actionGet();
    }

    @Override
    public void refreshFieldSuggesters(String index, String field) throws Exception {
        SuggestRefreshRequestBuilder builder = new SuggestRefreshRequestBuilder(client()).setIndices(index).setField(field);
        builder.execute().actionGet();
    }
View Full Code Here

        return suggestResponse.suggestions();
    }

    @Override
    public void refreshAllSuggesters() throws Exception {
        SuggestRefreshRequestBuilder builder = new SuggestRefreshRequestBuilder(getTransportClient());
        builder.execute().actionGet();
    }
View Full Code Here

        builder.execute().actionGet();
    }

    @Override
    public void refreshIndexSuggesters(String index) throws Exception {
        SuggestRefreshRequestBuilder builder = new SuggestRefreshRequestBuilder(getTransportClient()).setIndices(index);
        builder.execute().actionGet();
    }
View Full Code Here

        builder.execute().actionGet();
    }

    @Override
    public void refreshFieldSuggesters(String index, String field) throws Exception {
        SuggestRefreshRequestBuilder builder = new SuggestRefreshRequestBuilder(getTransportClient()).setIndices(index).setField(field);
        builder.execute().actionGet();
    }
View Full Code Here

        super(NAME);
    }

    @Override
    public SuggestRefreshRequestBuilder newRequestBuilder(Client client) {
        return new SuggestRefreshRequestBuilder(client);
    }
View Full Code Here

TOP

Related Classes of de.spinscale.elasticsearch.client.action.suggest.SuggestRefreshRequestBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.