While implementing full-text search Using Query builder in AEM-6.4, I need to add feature for spell check and suggestion.
Is there any way to implement this using predicate map properties in Query builder, Indexing etc
Updated:
Code snippet -
@Inject
private Suggester suggester;
final String[] suggetions = suggester.getSuggestions(session, "searchGlobal", queryString, true);
final String spellCheck = suggester.spellCheck(session, queryString);
suggetions - is returning empty value & suggester.spellCheck(session, queryString) - is throwing Nullpointer Exception