Lines Matching defs:subqueries
118 $subqueries = new \Elastica\Query\BoolQuery();
119 $subqueries->addMust($qstring);
135 // add ACL subqueries
136 $this->addACLSubqueries($subqueries);
139 $this->addLanguageSubquery($subqueries, $this->getLanguageFilter());
143 $this->addDateSubquery($subqueries, $INPUT->str('min'));
165 $this->addPluginConfigurations($equery, $subqueries);
167 $equery->setQuery($subqueries);
213 protected function addPluginConfigurations($equery, $subqueries)
227 $subqueries->addMust($pluginSubquery);
244 * @param Elastica\Query\BoolQuery $subqueries
247 protected function addDateSubquery($subqueries, $min)
255 $subqueries->addMust($dateSubquery);
261 * @param Elastica\Query\BoolQuery $subqueries
264 protected function addLanguageSubquery($subqueries, $langFilter)
270 $subqueries->addMust($langSubquery);
306 * Inserts subqueries based on current user's ACLs, none for superusers
308 * @param \Elastica\Query\BoolQuery $subqueries
310 protected function addACLSubqueries($subqueries)
334 $subqueries->addMust($includeSubquery);
345 $subqueries->addShould($excludeSubquery);
351 $subqueries->addMustNot($term);