Home
last modified time | relevance | path

Searched refs:phrases (Results 1 - 3 of 3) sorted by relevance

/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 = [])
64 $parsedQuery['phrases'] = $phrases;
123 $parsedQuery['phrases'],
/dokuwiki/inc/
H A Dhtml.php258 * @param array|string $phrases
261 function html_hilight($html, $phrases) {
262 $phrases = (array) $phrases; variable
263 $phrases = array_map('preg_quote_cb', $phrases); variable
264 $phrases = array_map('ft_snippet_re_preprocess', $phrases); variable
265 $phrases = array_filter($phrases); variable
[all...]
H A Dfulltext.php88 // since phrases are always parsed as ((W1)(W2)...(P)),
419 // build a regexp from the phrases to highlight
647 * phrases:
847 $q['phrases'][] = $body;
850 $q['phrases'][] = $body;
855 foreach (array('words', 'phrases', 'highlight', 'ns', 'notns', 'and', 'not') as $key) {
904 * Recreate a search query string based on parsed parts, doesn't support negated phrases and `OR` searches
908 * @param array $phrases
914 function ft_queryUnparser_simple(array $and, array $not, array $phrases, array $ns, array $notns) {
920 if (!empty($phrases)) {
[all...]

Completed in 4 milliseconds