AEM 6.1 configuration for Search Sugesstion and StopWords -
we using aem6.1 , implementing ootb search functionality. requirement have implement stopwords(will not user search common words such like,for,is) , spellcheck(did mean ?) features part of implementation.can suggest best way achieve requirement.
thanks
you can configure stopwords in oak index definition.
-fulltextindex - jcr:primarytype = "oak:queryindexdefinition" - compatversion = 2 - type = "lucene" - async = "async" + analyzers + default - class = "org.apache.lucene.analysis.standard.standardanalyzer" - lucenematchversion = "lucene_47" (optional) + stopwords (nt:file)
please check following documentation on oak[1].
to see more details on better follow jira story on jackrabbit oak jira[2]. part of oak1.1.2 , since aem6.1 comes oak1.2.2, should able configure stop words directly.
[1] - https://jackrabbit.apache.org/oak/docs/query/lucene.html
Comments
Post a Comment