Hi, I am trying to implement auto suggest in AEM 6.1. I tried "/jcr:root[rep:suggest('term')]/(rep:suggest())" and it seems to do what it is supposed to do.
I get all the suggestions for a given term. The index breaks down all words by space etc..
I need to have following features:
I couldn't find much help online or in adobe forums.
Any help in this regard is highly appreciated.
Thanks
Venkat
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Venkat,
Sorry I misread your original request. You are looking some thing like [A] which is not yet in AEM6x. Adobe can confirm the feature GRANITE-7057 status.
[A] http://aemfaq.blogspot.com/2013/07/predictive-search.html
Thanks
Views
Replies
Total Likes
Hi Venkat,
Post your index defnition.
Thanks,
Views
Replies
Total Likes
Here is the configuration:
<lucene-suggest
jcr:primaryType="oak:QueryIndexDefinition"
async="async"
compatVersion="{Long}2"
evaluatePathRestrictions="{Boolean}true"
includedPaths="[/content/mysite/en/home]"
reindex="{Boolean}false"
reindexCount="{Long}20"
type="lucene">
<indexRules jcr:primaryType="nt:unstructured">
<nt:base jcr:primaryType="nt:unstructured">
<properties jcr:primaryType="nt:unstructured">
<jcr:description
jcr:primaryType="nt:unstructured"
analyzed="{Boolean}true"
evaluatePathRestrictions="{Boolean}true"
propertyIndex="{Boolean}true"
useInSpellcheck="{Boolean}true"
useInSuggest="{Boolean}true"/>
<jcr:title
jcr:primaryType="nt:unstructured"
analyzed="{Boolean}true"
evaluatePathRestrictions="{Boolean}true"
propertyIndex="{Boolean}true"
useInSuggest="{Boolean}true"/>
</properties>
</nt:base>
</indexRules>
<suggestion
jcr:primaryType="nt:unstructured"
suggestAnalyzed="{Boolean}true"
suggestUpdateFrequencyMinutes="{Long}20"/>
</lucene-suggest>
Views
Replies
Total Likes
Hi Venkat,
Sorry I misread your original request. You are looking some thing like [A] which is not yet in AEM6x. Adobe can confirm the feature GRANITE-7057 status.
[A] http://aemfaq.blogspot.com/2013/07/predictive-search.html
Thanks
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies