Lines Matching full:pages
26 /** @var PageSet|null lazy-loaded universe of all indexed pages */
40 * Evaluate the RPN query and return matching pages with scores
81 // so the top of stack contains pages matching all words in the phrase.
82 // We verify the actual phrase exists in those candidate pages.
180 * - NegatedEntry(NamespacePredicate): exclude pages matching the namespace
182 * @param PageSet $pages the positive page set
186 protected function subtractNegated(PageSet $pages, NegatedEntry $negated): PageSet argument
191 return $inner->exclude($pages);
194 return $pages->subtract($this->materialize($inner));
202 * Check which pages from the candidate set contain the given phrase
206 * Pages that match retain their original scores from the candidate set.
209 * @param PageSet $candidates pages to check (typically the AND'd word results)
210 * @return PageSet pages where the phrase was found, with original scores preserved
244 * cannot be resolved without knowing all existing pages — a namespace
245 * predicate needs the full page list to find matching pages, and a negated
274 * Lazy-load the universe of all indexed pages
276 * @return PageSet all pages with score 0
281 $pages = (new Indexer())->getAllPages();
282 $this->allPages = new PageSet(array_fill_keys($pages, 0));