Spellcheck search AEM 6.1 configuration
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.