rustemmer - a module that allows you to search for not only exact matches of the words you are looking for, but also single-rooted words, since the original standard module in Drupal 7 works disgustingly.
We'll patch it in Debian Squeeze.
Install the necessary software for patching by the team:
aptitude install build-essential
Patchim module rustemmer
We download the module for version 6 of drupal, unpack, go to an unarchivated folder, swing the patch and apply it with commands:
wget http://ftp.drupal.org/files/projects/rustemmer-6.x-1.0-rc2.tar.gz tar xvfz rustemmer-6.x-1.0-rc2.tar.gz cd rustemmer wget http://drupal.org/files/issues/rustemmer_6.x-1.0-rc2_to_7.x_0.patch patch -p0 < rustemmer_6.x-1.0-rc2_to_7.x_0.patch
System response to the patch execution:
patching file README.txt patching file rustemmer.info patching file rustemmer.module patching file search-highlight.patch
Remove the patch from the source code by the command:
rm rustemmer_6.x-1.0-rc2_to_7.x_0.patch
If the module for drupal 6 and the patch is not available on the official website, you can download from my site:
wget http://softnastroy.com/downloads/drupal/rustemmer-6.x-1.0-rc2.tar.gz tar xvfz rustemmer-6.x-1.0-rc2.tar.gz cd rustemmer wget http://softnastroy.com/downloads/drupal/rustemmer_6.x-1.0-rc2_to_7.x_0.patch patch -p0 < rustemmer_6.x-1.0-rc2_to_7.x_0.patch
System response to the patch execution:
patching file README.txt patching file rustemmer.info patching file rustemmer.module patching file search-highlight.patch
Remove the patch from the source code by the command:
rm rustemmer_6.x-1.0-rc2_to_7.x_0.patch
Copy the ready-made patched module in Drupal 7 and install it from the site admin:
cp rustemmer /путь к сайту/sites/all/modules/
Patchim's search module
Go to the folder with the standard search Drupal 7, download the patch and patch following the commands:
cd /путь к файлам сайта/modules/search/ wget http://drupal.org/files/issues/search_drupal_7.4_highlight.patch patch -p0 < search_drupal_7.4_highlight.patch
System response to the patch execution:
patching file search.info Hunk #1 succeeded at 7 with fuzz 2. patching file search.module
Remove the patch from the source code by the command:
rm search_drupal_7.4_highlight.patch
If the patch search_drupal_7.4_highlight.patch is not available on the official site, you can download from my website:
cd /путь к файлам сайта/modules/search/ wget http://softnastroy.com/downloads/drupal/search_drupal_7.4_highlight.patch patch -p0 < search_drupal_7.4_highlight.patch
System response to the patch execution:
patching file search.info Hunk #1 succeeded at 7 with fuzz 2. patching file search.module
Remove the patch from the source code by the command:
rm search_drupal_7.4_highlight.patch
Download the ready-made, patched rustemmer module for Drupal 7
Download the finished patched search module for Drupal 7
Install the rustemmer module as standard as any other.
For quick indexing, if the site is not large, you can manually run cron, which will index the articles of the site, and then the search on the site will work, for which we go to the address. name-site/admin/reports/status and start the link: To run cron from the outside, use the link name-site/cron.php?cron_key=R-dr5wDwy7Hs830gw#sh48js7hw482hd73g4gf5DKi3In your case, the link will be different.
The search settings page should be 100% indexed
The rustemmer module is patched, and a standard search module has been installed and patched.
I was with you. Sergey Lazarenko.
A short break in work, we will watch a small video about the



comment