summaryrefslogtreecommitdiff
path: root/inc/indexer.php
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2010-06-16 14:41:59 +0200
committerAdrian Lang <lang@cosmocode.de>2010-06-16 15:45:05 +0200
commit80423ab626c72923f347e2196ce660957dcc216f (patch)
tree2991cebd7702f6fff1a662be569755db8e160a99 /inc/indexer.php
parent782807733e52295b535005074a62cee46640b0db (diff)
downloadrpg-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.php2
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);