Searched refs:Term (Results 1 – 6 of 6) sorted by relevance
5 use dokuwiki\Search\Collection\Term; alias12 $term = new Term('dokuwiki');18 $this->assertEquals(Term::WILDCARD_NONE, $term->getWildcard());23 $term = new Term('*wiki');29 $this->assertEquals(Term::WILDCARD_START, $term->getWildcard());34 $term = new Term('wiki*');40 $this->assertEquals(Term::WILDCARD_END, $term->getWildcard());45 $term = new Term('*wiki*');51 $this->assertEquals(Term::WILDCARD_START + Term::WILDCARD_END, $term->getWildcard());56 $term = new Term('');[all …]
16 /** @var Term[] all terms indexed by original term name */56 …* @return Term the internal representation of the term, it will not be complete before the search …58 public function addTerm(string $term): Term60 $term = new Term($term);99 * @return Term[] All defined terms keyed by original term string
16 class Term class
5 use dokuwiki\Search\Collection\Term; alias21 * @return Term23 protected function makeTerm(string $word, array $frequencies): Term25 $term = new Term($word);
7 use dokuwiki\Search\Collection\Term; alias23 /** @var Term[] word => Term mapping from CollectionSearch */31 * @param Term[] $terms word => Term mapping from CollectionSearch::execute()
93 …r operations that need to iterate over all splits of an index (eg. when a Term is using a wildcard…228 ''addTerm()'' returns a ''Term'' object. After ''execute()'', each Term holds the full match detail…230 A ''Term'' represents a single search query component that can match one or more tokens in an index…246 Term does not enforce minimum token length. For fulltext search, callers should filter short words …266 ''QueryEvaluator'' takes the RPN array and the ''Term'' results from ''CollectionSearch'' and evalu…