A module for creating a feature rich knowledge-base

Installs: 116

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 2



3.1 2018-02-21 23:05 UTC

This package is auto-updated.

Last update: 2024-06-29 04:39:56 UTC



Provides the ability to create a knowledge base. Functionality is based on top of the silverstripe/faq module.


Uses the [](SilverStripe FAQ module) as a base which contains the following features:

  • Featured FAQ's
  • Categorizing
  • Search results will automatically attempt to detect misspellings of search terms.

Search term synonyms

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.

Changes to Solr configuration.

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. fulltextsearch solrconfig.xml

<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 $FieldDefinitions:

<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