lucene - Spellcheck not working in search in AEM 6.1 -
spell check not working in aem 6.1 after creating suggested indexes specified in --
https://docs.adobe.com/docs/en/aem/6-1/deploy/platform/queries-and-indexing.html ,
https://jackrabbit.apache.org/oak/docs/query/lucene.html
as per docs spellcheck has been implemented in oak since versions 1.1.17 , 1.0.13. oak version 1.22 should work.the aem version 6.1.0.20150507
created index -
/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
i 0 results when run query using crx-de's query tool using query manager jsp.
select [rep:spellcheck()] nt:base [jcr:path] = '/content/abc' , spellcheck('tetspage')
('testpage' page; misspelled 'tetspage')
running query mentioned in docs
select [rep:spellcheck()] nt:base [jcr:path] = '/' , spellcheck('jackrabit')
returns single node.
am doing wrong; index working in anyone's aem 6.1 ?
this query works me
select [rep:spellcheck()] [nt:base] spellcheck('tetspage') , isdescendantnode('/content/abc')
Comments
Post a Comment