Lines Matching defs:ns
124 $ns = cleanID(substr($token, 3)) . ':';
127 if (strpos($id, $ns) === 0) {
288 if (count($parsedQuery['ns']) > 0) {
289 $ns = cleanID($parsedQuery['ns'][0]) . ':';
320 if (isset($ns)) {
322 if (strpos($p_id, $ns) !== 0) {
710 * @include:namespace (or ns:include:namespace)
711 * ^exclude:namespace (or -ns:exclude:namespace)
721 * this query is equivalent to [ -(-aa or -"bb cc" or -ns:dd:ee) ]
787 } elseif (preg_match('/^(?:\^|-ns:)(.+)$/u', $token, $matches)) {
790 } elseif (preg_match('/^(?:@|ns:)(.+)$/u', $token, $matches)) {
892 $q['ns'][] = $body; // for backward compatibility
918 foreach (['words', 'phrases', 'highlight', 'ns', 'notns', 'and', 'not'] as $key) {
973 * @param array $ns
978 function ft_queryUnparser_simple(array $and, array $not, array $phrases, array $ns, array $notns)
989 if ($ns !== []) {
990 $query .= ' @' . implode(' @', $ns);