Lines Matching refs:int
12 private int $_offset = 0;
13 private int $_snippetSize = 512;
14 private int $_resultsPerPage = 10;
15 private int $_titlePriority = 1;
16 private int $_bodyPriority = 1;
17 private int $_namespacePriority = 1;
18 private int $_pagenamePriority = 1;
22 private int $_port = 9312;
24 public function __construct(string $host, int $port, string $index)
34 public function setSnippetSize(int $size): void { if ($size > 0) $this->_snippetSize = $size; }
37 public function search(int $start, int $resultsPerPage = 10): bool
179 public function getOffset(): int { return $this->_offset; }
181 public function getTotalFound(): int { return (int)($this->_result['total_found'] ?? 0); }
182 public function setNamespacePriority(int $p): void { $this->_namespacePriority = $p; }
183 public function setPagenamePriority(int $p): void { $this->_pagenamePriority = $p; }
184 public function setTitlePriority(int $p): void { $this->_titlePriority = $p; }
185 public function setBodyPriority(int $p): void { $this->_bodyPriority = $p; }