Home
last modified time | relevance | path

Searched refs:Term (Results 1 – 6 of 6) sorted by relevance

/dokuwiki/_test/tests/Search/Collection/
H A DTermTest.php5 use dokuwiki\Search\Collection\Term; alias
12 $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 …]
/dokuwiki/inc/Search/Collection/
H A DCollectionSearch.php16 /** @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): Term
60 $term = new Term($term);
99 * @return Term[] All defined terms keyed by original term string
H A DTerm.php16 class Term class
/dokuwiki/_test/tests/Search/Query/
H A DQueryEvaluatorTest.php5 use dokuwiki\Search\Collection\Term; alias
21 * @return Term
23 protected function makeTerm(string $word, array $frequencies): Term
25 $term = new Term($word);
/dokuwiki/inc/Search/Query/
H A DQueryEvaluator.php7 use dokuwiki\Search\Collection\Term; alias
23 /** @var Term[] word => Term mapping from CollectionSearch */
31 * @param Term[] $terms word => Term mapping from CollectionSearch::execute()
/dokuwiki/inc/Search/
H A Dconcept.txt93 …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…