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

[2] - https://issues.apache.org/jira/browse/oak-2177


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -