Added the Porter Stemmer module to improve searches. This doesn't deal with some...
[yaffs-website] / web / modules / contrib / porterstemmer / INSTALL.txt
1 For general information about this module, check the README.txt file.
2
3 Installation
4 ------------
5
6 1. Unzip the files, and upload them as a subdirectory of the
7 modules/ directory of your Drupal installation (or the
8 location you normally use for contributed modules).
9
10 2. Go to 'Manage > Extend', and enable the Porter Stemmer module.
11
12 3. Go to 'Manage > Configuration > Search pages'
13 and click 'Re-index site'.  You should do this step whenever you upgrade to a
14 new version of the Porter Stemmer module, so that the search index is
15 rebuilt with any changes to the stemming algorithm.
16
17 4. Ensure that cron has run at least once, to build the search
18 index. On larger sites, it may take several cron runs to complete the
19 search index. You can check progress on the Search settings page, and
20 you can run cron manually by visiting 'Administer > Reports > Status report',
21 and clicking on 'Run cron manually'.
22
23 5. This module will use the PECL "stem" library for PHP, if it is installed
24 on your server. If you have full administrative/root access to your server, and
25 are comfortable with Apache/PHP configuration and system administration, you
26 can install this library by following the instructions at:
27   http://us3.php.net/manual/en/install.pecl.php
28 Once the library is installed, you will need to add a line to your php.ini
29 file to enable the module:
30   extension=stem.so
31 If the PECL "stem" library is not available, the module uses a PHP
32 implementation of the stemming algorithm. The output is identical.
33 More information about the PECL "stem" library:
34   http://pecl.php.net/package/stem