[ Index ] |
|
Code source de DokuWiki 2006-11-06 |
[Code source] [Imprimer] [Statistiques]
DokuWiki fulltextsearch functions using the index
Author: | Andreas Gohr <andi@splitbrain.org> |
License: | GPL 2 (http://www.gnu.org/licenses/gpl.html) |
Poids: | 339 lignes (10 kb) |
Inclus ou requis: | 3 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers inc/indexer.php inc/parserutils.php |
ft_pageSearch($query,&$poswords) X-Ref |
The fulltext search Returns a list of matching documents for the given query |
ft_backlinks($id) X-Ref |
Returns the backlinks for a given page Does a quick lookup with the fulltext index, then evaluates the instructions of the found pages |
ft_pageLookup($id,$pageonly=true) X-Ref |
Quicksearch for pagenames By default it only matches the pagename and ignores the namespace. This can be changed with the second parameter author: Andreas Gohr <andi@splitbrain.org> |
ft_snippet($id,$poswords) X-Ref |
Creates a snippet extract author: Andreas Gohr <andi@splitbrain.org> |
ft_resultCombine($args) X-Ref |
Combine found documents and sum up their scores This function is used to combine searched words with a logical AND. Only documents available in all arrays are returned. based upon PEAR's PHP_Compat function for array_intersect_key() param: array $args An array of page arrays |
ft_queryParser($query) X-Ref |
Builds an array of search words from a query |
Généré le : Tue Apr 3 20:47:31 2007 | par Balluche grâce à PHPXref 0.7 |