-
Book Overview & Buying
-
Table Of Contents
Apache Solr PHP Integration
By :
Let us go through the different spell checker implementations available with Solr:
DirectSolrSpellChecker: This implementation does not require a separate index to be built for spell checking. It uses the main Solr index for spelling suggestions.
IndexBasedSpellChecker: This implementation is used to create and maintain a spelling dictionary that is based on the Solr index. Since a separate index is created and maintained, we need to build/rebuild the index whenever the main index changes. This can be done automatically by enabling buildOnCommit or buildOnOptimize in the configuration. Also, we need to specify the location of the index to be created using the spellcheckIndexDir variable in our Solr spellcheck component configuration.
The buildOnCommit component is very expensive. It is recommended to use buildOnOptimize or explicit build using spellcheck.build=true in Solr URL.
FileBasedSpellChecker: This implementation uses a flat file...
Change the font size
Change margin width
Change background colour