diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-20 18:24:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-20 18:24:41 +0000 |
commit | 0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e (patch) | |
tree | 17978ad881e137708ceed1f29b170360df014155 /modules/search/search.module | |
parent | ee700371aca60269b9c752d1e143cae64d18a745 (diff) | |
download | brdo-0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e.tar.gz brdo-0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e.tar.bz2 |
- Patch #349504 by keith.smith: clean up sentence spacing in code comments.
Diffstat (limited to 'modules/search/search.module')
-rw-r--r-- | modules/search/search.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index 8c3f496ca..13193fdb4 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -434,7 +434,7 @@ function search_index($sid, $type, $text) { global $base_url; $node_regexp = '@href=[\'"]?(?:' . preg_quote($base_url, '@') . '/|' . preg_quote(base_path(), '@') . ')(?:\?q=)?/?((?![a-z]+:)[^\'">]+)[\'">]@i'; - // Multipliers for scores of words inside certain HTML tags. The weights are stored + // Multipliers for scores of words inside certain HTML tags. The weights are stored // in a variable so that modules can overwrite the default weights. // Note: 'a' must be included for link ranking to work. $tags = variable_get('search_tag_weights', array( @@ -585,7 +585,7 @@ function search_index($sid, $type, $text) { // Insert results into search index foreach ($results[0] as $word => $score) { // If a word already exists in the database, its score gets increased - // appropriately. If not, we create a new record with the appropriate + // appropriately. If not, we create a new record with the appropriate // starting score. db_merge('search_index')->key(array( 'word' => $word, @@ -656,7 +656,7 @@ function search_nodeapi_update_index($node) { * Implementation of hook_nodeapi_update(). */ function search_nodeapi_update($node) { - // Reindex the node when it is updated. The node is automatically indexed + // Reindex the node when it is updated. The node is automatically indexed // when it is added, simply by being added to the node table. search_touch_node($node->nid); } @@ -880,7 +880,7 @@ function _search_parse_query(&$word, &$scores, $not = FALSE) { * indexed search (and thus, implements hook_update_index()). * * Results are retrieved in two logical passes. However, the two passes are - * joined together into a single query. And in the case of most simple + * joined together into a single query. And in the case of most simple * queries the second pass is not even used. * * The first pass selects a set of all possible matches, which has the benefit |