Hi. I'm using AEM 6.4 and using the out of the box Suggester service like this:
for (final String suggestion : suggester.getSuggestions(session, INDEX, keyword, spellCheck)) {
[...]
suggestions.add(suggestion);
}
where INDEX is :
private static final String INDEX = "oak-cq:Page";
The suggester works great, returning what I'm expecting, with one small problem.
I want to only have suggestions from my project, not from we-retail as well.
I've tried making a custom index "lucene-suggest" and put it below my content/desiredProject. But, I don't know how to have my suggester use this index.
Any help is welcomed,
Thank you.