Home
last modified time | relevance | path

Searched refs:phrases (Results 1 – 3 of 3) sorted by last modified time

/dokuwiki/inc/Ui/
H A DSearchState.php51 * Get a search state for the current search with new search fragments and optionally phrases
55 * @param array $phrases
59 public function withFragments(array $and, array $not, array $phrases = []) argument
64 $parsedQuery['phrases'] = $phrases;
123 $parsedQuery['phrases'],
/dokuwiki/inc/
H A Dfulltext.php97 // since phrases are always parsed as ((W1)(W2)...(P)),
472 // build a regexp from the phrases to highlight
706 * phrases:
910 $q['phrases'][] = $body;
913 $q['phrases'][] = $body;
918 foreach (['words', 'phrases', 'highlight', 'ns', 'notns', 'and', 'not'] as $key) {
968 * Recreate a search query string based on parsed parts, doesn't support negated phrases and `OR` searches
972 * @param array $phrases
978 function ft_queryUnparser_simple(array $and, array $not, array $phrases, array $ns, array $notns)
985 if ($phrases !
938 ft_queryUnparser_simple(array $and, array $not, array $phrases, array $ns, array $notns) global() argument
[all...]
H A Dhtml.php293 * @param array|string $phrases
296 function html_hilight($html, $phrases)
298 $phrases = (array) $phrases;
299 $phrases = array_map('preg_quote_cb', $phrases);
300 $phrases = array_map('ft_snippet_re_preprocess', $phrases);
301 $phrases = array_filter($phrases);
277 html_hilight($html, $phrases) global() argument
[all...]