You are here

function SolrFilterSubQuery::__construct in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 Solr_Base_Query.php \SolrFilterSubQuery::__construct()
  2. 6.3 Solr_Base_Query.php \SolrFilterSubQuery::__construct()
1 call to SolrFilterSubQuery::__construct()
SolrBaseQuery::__construct in ./Solr_Base_Query.php
1 method overrides SolrFilterSubQuery::__construct()
SolrBaseQuery::__construct in ./Solr_Base_Query.php

File

./Solr_Base_Query.php, line 38
This class allows you to make operations on a query that will be sent to Apache Solr. methods such as adding and removing sorts, remove and replace parameters, adding and removing filters, getters and setters for various parameters and more

Class

SolrFilterSubQuery
This class allows you to make operations on a query that will be sent to Apache Solr. methods such as adding and removing sorts, remove and replace parameters, adding and removing filters, getters and setters for various parameters and…

Code

function __construct($operator = 'OR', $exclude = FALSE) {
  $this->operator = $operator;
  $this->exclude = $exclude;
  $this->id = ++SolrFilterSubQuery::$idCount;
}