Examples of spellingSuggestion()


Examples of com.araby.boss.search.SearchClient.spellingSuggestion()

    private static String getBossSuggestionSearch(String q) throws IOException, SearchException {
        SearchClient client = new SearchClient(API_KEY);

        SpellingSuggestionRequest spellSerachRequest = new SpellingSuggestionRequest(q);

        SpellingSuggestionResults result = client.spellingSuggestion(spellSerachRequest);

        return result.getSuggestion();
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.