Lines Matching defs:Indexer
11 use dokuwiki\Search\Indexer;
65 $Indexer = idx_get_indexer();
68 $q = ft_queryParser($Indexer, $data['query']);
74 $lookup = $Indexer->lookup($q['words']);
78 foreach ($Indexer->getPages() as $id) {
286 $Indexer = idx_get_indexer();
287 $parsedQuery = ft_queryParser($Indexer, $id);
301 $Indexer = idx_get_indexer();
302 $page_idx = $Indexer->getPages();
313 foreach ($Indexer->lookupKey('title', $id, '_ft_pageLookupTitleCompare') as $p_id) {
692 * @param Indexer $Indexer
696 function ft_queryParser($Indexer, $query)
748 $parsed = $not . ft_termParser($Indexer, $matches[2], false, true);
795 $parsed .= 'NOT(' . ft_termParser($Indexer, $matches[1]) . ')';
798 $parsed .= ft_termParser($Indexer, $token);
932 * @param Indexer $Indexer
938 function ft_termParser($Indexer, $term, $consider_asian = true, $phrase_mode = false)
946 $parsed .= ft_termParser($Indexer, $word, false, $phrase_mode);
950 $words = $Indexer->tokenizer($term_noparen, true);