diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-06-16 14:41:59 +0200 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-06-16 15:45:05 +0200 |
commit | 80423ab626c72923f347e2196ce660957dcc216f (patch) | |
tree | 2991cebd7702f6fff1a662be569755db8e160a99 /inc/indexer.php | |
parent | 782807733e52295b535005074a62cee46640b0db (diff) | |
download | rpg-80423ab626c72923f347e2196ce660957dcc216f.tar.gz rpg-80423ab626c72923f347e2196ce660957dcc216f.tar.bz2 |
Perform quick search in title as well
Diffstat (limited to 'inc/indexer.php')
-rw-r--r-- | inc/indexer.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/indexer.php b/inc/indexer.php index 54277a88c..01ba76b08 100644 --- a/inc/indexer.php +++ b/inc/indexer.php @@ -305,6 +305,8 @@ function idx_addPage($page){ } unset($page_idx); // free memory + idx_saveIndexLine('title', '', $pid, p_get_first_heading($page, false)); + $pagewords = array(); // get word usage in page $words = idx_getPageWords($page); |