A module for creating a feature rich knowledge-base
Provides the ability to create a knowledge base. Functionality is based on top of the
Uses the [https://github.com/silverstripe/silverstripe-faq](SilverStripe FAQ module) as a base which contains the following features:
The use of custom synonym definitions is another way in which misspelling suggestions can be controlled. Synonyms are configured out of the box in this module.
You can configure your synonyms in the Settings tab in the CMS.
Note that only admin users (who are those with privileges necessary to run the Solr_Configure task) will be able to view and edit this field.
composer require silverstripe/knowledgebase
Then ensure to run
$ framework/sake dev/tasks/Solr_Configure and
$ framework/sake dev/tasks/Solr_Reindex, and you should have the Knowledge base module ready to use.
If you are using the
cwp/cwp module, you will need to ensure you do not enable the
SynonymsSiteConfig extension in your config as it is enabled in this module by default.
The following outlines the changes that have been made to the specified Solr configuration files compared to the default silverstripe/faq settings:
<lst name="spellchecker"> <str name="name">default</str> <str name="field">_text</str>
<lst name="spellchecker"> <str name="name">default</str> <str name="field">_spellcheckText</str>
Apply exact figures in
fulltextsearch module which is needs to work Synonym perfectly.
<float name="accuracy">0</float> <int name="minQueryLength">1</int> <float name="maxQueryFrequency">0</float>
<float name="accuracy">0.5</float> <int name="minQueryLength">4</int> <float name="maxQueryFrequency">0.01</float>
Added the following underneath
<field name='_spellcheckText' type='textSpellHtml' indexed='true' stored='false' multiValued='true' />
Move SynonymFilterFactory to bottom of analyzer to include Synonyms in search results.
See this pull request for more information
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem