Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Spellcheck search AEM 6.1 configuration

Avatar

Level 4

Spell check is not working in AEM 6.1 even after creating the suggested indexes as specified in -- 

 https://docs.adobe.com/docs/en/aem/6-1/deploy/platform/queries-and-indexing.html  and 

https://jackrabbit.apache.org/oak/docs/query/lucene.html

As per the docs spellcheck has been implemented in OAK since versions 1.1.17 and 1.0.13. My OAK version is 1.22 so it should work.The AEM version is Adobe Experience Manager, Version 6.1.0.20150507

Created an index like - 

/oak:index/lucene-spellcheck - jcr:primaryType = "oak:QueryIndexDefinition" - compatVersion = 2 - type = "lucene" - async = "async" + indexRules - jcr:primaryType = "nt:unstructured" + nt:base + properties - jcr:primaryType = "nt:unstructured" + jcr:title - propertyIndex = true - analyzed = true - useInSpellcheck = true

After that ; ran the query - 

SELECT [rep:spellcheck()] FROM nt:base WHERE [jcr:path] = '/content/abc' AND SPELLCHECK('tetspage')

('testpage' is a page; misspelled it as 'tetspage')

I get zero results when I run this query using CRX-DE's query tool as well as using query manager from a jsp.

Please let me know what am I doing wrong. Also please let me know if spell-check is working on anyone of yours AEM 6.1 or 6.2  instance.

5 Replies

Avatar

Administrator

Hi 

I have seen similar issue earlier in the community.

This could be a bug. 

Similar Forum post :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

I would say create a DayCare Ticket for this and once you get the solution, do share it with the community.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni



Kautuk Sahni

Avatar

Administrator

I have asked internal team, i hope they will provide some help here.

~kautuk



Kautuk Sahni

Avatar

Level 4

Hi kautuk,

 

Did you get a reply from internal team ? Also; how can I raise daycare ticket ? Do I need to create login credentials on a portal? I work as an individual user with the jar provided by client.

 

Thanks

Avatar

Administrator

Hi 

No reply from internal team.

For, Creating daycare ticket :-  https://daycare.day.com/public/contact.html

Check with your client, and ask him for the credentials.

~kautuk



Kautuk Sahni

Avatar

Level 3

Hi,

I am running into similar issues using AEM 6.3, so wanted to check if this issue is resolved for AEM 6.1 / 6.2 ?

Thanks,

Hemant