* @link https://github.com/pjmazenot/phpsolr-phpdoc
*/
/**
* (PECL solr >= 0.9.2)
* Class SolrQuery
* This class represents a collection of name-value pairs sent to the Solr server during a request.
* @link https://php.net/manual/en/class.solrquery.php
*/
class SolrQuery extends SolrModifiableParams implements Serializable
{
/** @var int Used to specify that the sorting should be in acending order */
public const ORDER_ASC = 0;
/** @var int Used to specify that the sorting should be in descending order */
public const ORDER_DESC = 1;
/** @var int Used to specify that the facet should sort by index */
public const FACET_SORT_INDEX = 0;
/** @var int Used to specify that the facet should sort by count */
public const FACET_SORT_COUNT = 1;
/** @var int Used in the TermsComponent */
public const TERMS_SORT_INDEX = 0;
/** @var int Used in the TermsComponent */
public const TERMS_SORT_COUNT = 1;
/**
* (PECL solr >= 2.2.0)
* Overrides main filter query, determines which documents to include in the main group.
* @link https://php.net/manual/en/solrquery.addexpandfilterquery.php
* @param string $fq
* @return SolrQuery
* Returns a SolrQuery object. *
*/ public function addExpandFilterQuery($fq) {} /** * (PECL solr >= 2.2.0)* Field name *
* @param string $order [optional]* Order ASC/DESC, utilizes SolrQuery::ORDER_* constants. *
** Default: SolrQuery::ORDER_DESC *
* @return SolrQuery* Returns a SolrQuery object. *
*/ public function addExpandSortField($field, $order) {} /** * (PECL solr >= 0.9.2)* The name of the date field. *
* @return SolrQuery* Returns a SolrQuery object. *
*/ public function addFacetDateField($dateField) {} /** * (PECL solr >= 0.9.2)* The value to use. *
* @param string $field_override* The field name for the override. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function addFacetDateOther($value, $field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function addFacetField($field) {} /** * (PECL solr >= 0.9.2)* The facet query *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function addFacetQuery($facetQuery) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns a SolrQuery object. *
*/ public function addField($field) {} /** * (PECL solr >= 0.9.2)* The filter query *
* @return SolrQuery* Returns a SolrQuery object. *
*/ public function addFilterQuery($fq) {} /** * (PECL solr >= 2.2.0)* Returns a SolrQuery object. *
*/ public function addGroupField($value) {} /** * (PECL solr >= 2.2.0)* Returns a SolrQuery object. *
*/ public function addGroupFunction($value) {} /** * (PECL solr >= 2.2.0)* Returns a SolrQuery object. *
*/ public function addGroupQuery($value) {} /** * (PECL solr >= 2.2.0)* Field name *
* @param int $order* Order ASC/DESC, utilizes SolrQuery::ORDER_* constants *
* @return SolrQuery* Returns a SolrQuery object. *
*/ public function addGroupSortField($field, $order) {} /** * (PECL solr >= 0.9.2)* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function addHighlightField($field) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function addMltField($field) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @param float $boost* Its boost value *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function addMltQueryField($field, $boost) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @param int $order* The sort direction. This should be either SolrQuery::ORDER_ASC or SolrQuery::ORDER_DESC. *
* @return SolrQuery* Returns a SolrQuery object. *
*/ public function addSortField($field, $order = SolrQuery::ORDER_DESC) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function addStatsFacet($field) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function addStatsField($field) {} /** * (No version information available, might only be in Git)* Returns a SolrQuery object. *
*/ public function collapse(SolrCollapseFunction $collapseFunction) {} /** * (PECL solr >= 0.9.2)* Optional search query *
*/ public function __construct($q = '') {} /** * (PECL solr >= 0.9.2)* Returns TRUE if group expanding is enabled *
*/ public function getExpand() {} /** * (PECL solr >= 2.2.0)* Returns the expand filter queries *
*/ public function getExpandFilterQueries() {} /** * (PECL solr >= 2.2.0)* Returns the expand query expand.q parameter *
*/ public function getExpandQuery() {} /** * (PECL solr >= 2.2.0)* Returns The number of rows to display in each group (expand.rows) *
*/ public function getExpandRows() {} /** * (PECL solr >= 2.2.0)* Returns an array of fields *
*/ public function getExpandSortFields() {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getFacet() {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getFacetDateEnd($field_override) {} /** * (PECL solr >= 0.9.2)* Returns all the facet.date fields as an array or NULL if none was set *
*/ public function getFacetDateFields() {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getFacetDateGap($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getFacetDateHardEnd($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return array|null* Returns an array on success and NULL if not set *
*/ public function getFacetDateOther($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getFacetDateStart($field_override) {} /** * (PECL solr >= 0.9.2)* Returns an array of all the fields and NULL if none was set *
*/ public function getFacetFields() {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return int|null* Returns an integer on success and NULL if not set *
*/ public function getFacetLimit($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getFacetMethod($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return int|null* Returns an integer on success and NULL if not set *
*/ public function getFacetMinCount($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a boolean on success and NULL if not set *
*/ public function getFacetMissing($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return int|null* Returns an integer on success and NULL if not set *
*/ public function getFacetOffset($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getFacetPrefix($field_override) {} /** * (PECL solr >= 0.9.2)* Returns an array on success and NULL if not set *
*/ public function getFacetQueries() {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return int|null* Returns an integer (SolrQuery::FACET_SORT_INDEX or SolrQuery::FACET_SORT_COUNT) on success or NULL if not * set. *
*/ public function getFacetSort($field_override) {} /** * (PECL solr >= 0.9.2)* Returns an array on success and NULL if not set *
*/ public function getFields() {} /** * (PECL solr >= 0.9.2)* Returns an array on success and NULL if not set *
*/ public function getFilterQueries() {} /** * (PECL solr >= 2.2.0)* Returns true if grouping is enabled *
*/ public function getGroup() {} /** * (PECL solr >= 2.2.0)* Returns group cache percent value *
*/ public function getGroupCachePercent() {} /** * (PECL solr >= 2.2.0)* Returns the group.facet parameter value *
*/ public function getGroupFacet() {} /** * (PECL solr >= 2.2.0)* Returns group fields (group.field parameter values) *
*/ public function getGroupFields() {} /** * (PECL solr >= 2.2.0)* Returns the group.format value *
*/ public function getGroupFormat() {} /** * (PECL solr >= 2.2.0)* Returns group functions (group.func parameter values) *
*/ public function getGroupFunctions() {} /** * (PECL solr >= 2.2.0)* Returns the group.limit value *
*/ public function getGroupLimit() {} /** * (PECL solr >= 2.2.0)* Returns the group.main value *
*/ public function getGroupMain() {} /** * (PECL solr >= 2.2.0)* Returns the group.ngroups value *
*/ public function getGroupNGroups() {} /** * (PECL solr >= 2.2.0)* Returns the group.offset value *
*/ public function getGroupOffset() {} /** * (PECL solr >= 2.2.0)* Returns all the group.query parameter values *
*/ public function getGroupQueries() {} /** * (PECL solr >= 2.2.0)* Returns all the group.sort parameter values *
*/ public function getGroupSortFields() {} /** * (PECL solr >= 2.2.0)* Returns the group.truncate value *
*/ public function getGroupTruncate() {} /** * (PECL solr >= 0.9.2)* Returns the state of the hl parameter *
*/ public function getHighlight() {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getHighlightAlternateField($field_override) {} /** * (PECL solr >= 0.9.2)* Returns an array on success and NULL if not set *
*/ public function getHighlightFields() {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getHighlightFormatter($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getHighlightFragmenter($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return int|null* Returns an integer on success and NULL if not set *
*/ public function getHighlightFragsize($field_override) {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getHighlightHighlightMultiTerm() {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return int|null* Returns an integer on success and NULL if not set *
*/ public function getHighlightMaxAlternateFieldLength($field_override) {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getHighlightMaxAnalyzedChars() {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return bool|null* Returns a boolean on success and NULL if not set *
*/ public function getHighlightMergeContiguous($field_override) {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getHighlightRegexMaxAnalyzedChars() {} /** * (PECL solr >= 0.9.2)* Returns a string on success and NULL if not set *
*/ public function getHighlightRegexPattern() {} /** * (PECL solr >= 0.9.2)* Returns a double on success and NULL if not set. *
*/ public function getHighlightRegexSlop() {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getHighlightRequireFieldMatch() {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getHighlightSimplePost($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return string|null* Returns a string on success and NULL if not set *
*/ public function getHighlightSimplePre($field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return int|null* Returns an integer on success and NULL if not set *
*/ public function getHighlightSnippets($field_override) {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getHighlightUsePhraseHighlighter() {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getMlt() {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getMltBoost() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getMltCount() {} /** * (PECL solr >= 0.9.2)* Returns an array on success and NULL if not set *
*/ public function getMltFields() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getMltMaxNumQueryTerms() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getMltMaxNumTokens() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getMltMaxWordLength() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getMltMinDocFrequency() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getMltMinTermFrequency() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getMltMinWordLength() {} /** * (PECL solr >= 0.9.2)* Returns an array on success and NULL if not set *
*/ public function getMltQueryFields() {} /** * (PECL solr >= 0.9.2)* Returns a string on success and NULL if not set *
*/ public function getQuery() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getRows() {} /** * (PECL solr >= 0.9.2)* Returns an array on success and NULL if none of the parameters was set. *
*/ public function getSortFields() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getStart() {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getStats() {} /** * (PECL solr >= 0.9.2)* Returns an array on success and NULL if not set *
*/ public function getStatsFacets() {} /** * (PECL solr >= 0.9.2)* Returns an array on success and NULL if not set *
*/ public function getStatsFields() {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getTerms() {} /** * (PECL solr >= 0.9.2)* Returns a string on success and NULL if not set *
*/ public function getTermsField() {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getTermsIncludeLowerBound() {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getTermsIncludeUpperBound() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getTermsLimit() {} /** * (PECL solr >= 0.9.2)* Returns a string on success and NULL if not set *
*/ public function getTermsLowerBound() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getTermsMaxCount() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getTermsMinCount() {} /** * (PECL solr >= 0.9.2)* Returns a string on success and NULL if not set *
*/ public function getTermsPrefix() {} /** * (PECL solr >= 0.9.2)* Returns a boolean on success and NULL if not set *
*/ public function getTermsReturnRaw() {} /** * (PECL solr >= 0.9.2)
* Returns an integer on success and NULL if not set
* SolrQuery::TERMS_SORT_INDEX indicates that the terms are returned by index order.
* SolrQuery::TERMS_SORT_COUNT implies that the terms are sorted by term frequency (highest count first)
*
* Returns a string on success and NULL if not set *
*/ public function getTermsUpperBound() {} /** * (PECL solr >= 0.9.2)* Returns an integer on success and NULL if not set *
*/ public function getTimeAllowed() {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeExpandFilterQuery($fq) {} /** * (PECL solr >= 2.2.0)* Field name *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeExpandSortField($field) {} /** * (PECL solr >= 0.9.2)* The name of the date field to remove *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeFacetDateField($field) {} /** * (PECL solr >= 0.9.2)* The value *
* @param string $field_override [optional]* The name of the field. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeFacetDateOther($value, $field_override) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeFacetField($field) {} /** * (PECL solr >= 0.9.2)* The value *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeFacetQuery($value) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeField($field) {} /** * (PECL solr >= 0.9.2)* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeFilterQuery($fq) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeHighlightField($field) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeMltField($field) {} /** * (PECL solr >= 0.9.2)* The query field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeMltQueryField($queryField) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeSortField($field) {} /** * (PECL solr >= 0.9.2)* The value *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeStatsFacet($value) {} /** * (PECL solr >= 0.9.2)* The name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function removeStatsField($field) {} /** * (PECL solr >= 0.9.2)* TRUE or FALSE *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setEchoHandler($flag) {} /** * (PECL solr >= 0.9.2)* The type of parameters to include: *
** Returns the current SolrQuery object, if the return value is used. *
*/ public function setEchoParams($type) {} /** * (PECL solr >= 2.2.0)* Bool flag * * @return SolrQuery
* Returns the current SolrQuery object, if the return value is used. *
*/ public function setExpand($value) {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function setExpandQuery($q) {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function setExpandRows($value) {} /** * (PECL solr >= 0.9.2)* The Lucene query to identify a set of documents *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setExplainOther($query) {} /** * (PECL solr >= 0.9.2)* TRUE enables faceting and FALSE disables it. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacet($flag) {} /** * (PECL solr >= 0.9.2)* See facet.date.end *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetDateEnd($value, $field_override) {} /** * (PECL solr >= 0.9.2)* See facet.date.gap *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetDateGap($value, $field_override) {} /** * (PECL solr >= 0.9.2)* See facet.date.hardend *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetDateHardEnd($value, $field_override) {} /** * (PECL solr >= 0.9.2)* See facet.date.start *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetDateStart($value, $field_override) {} /** * (PECL solr >= 0.9.2)* The minimum frequency *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetEnumCacheMinDefaultFrequency($frequency, $field_override) {} /** * (PECL solr >= 0.9.2)* The maximum number of constraint counts *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetLimit($limit, $field_override) {} /** * (PECL solr >= 0.9.2)* The method to use. *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetMethod($method, $field_override) {} /** * (PECL solr >= 0.9.2)* The minimum count *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetMinCount($mincount, $field_override) {} /** * (PECL solr >= 0.9.2)* TRUE turns this feature on. FALSE disables it. *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetMissing($flag, $field_override) {} /** * (PECL solr >= 0.9.2)* The offset *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetOffset($offset, $field_override) {} /** * (PECL solr >= 0.9.2)* The prefix string *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetPrefix($prefix, $field_override) {} /** * (PECL solr >= 0.9.2)* Use SolrQuery::FACET_SORT_INDEX for sorting by index order or SolrQuery::FACET_SORT_COUNT for sorting by count. *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setFacetSort($facetSort, $field_override) {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function setGroup($value) {} /** * (PECL solr >= 2.2.0)* Setting this parameter to a number greater than 0 enables caching for result grouping. Result Grouping executes * two searches; this option caches the second search. The server default value is 0. Testing has shown that group * caching only improves search time with Boolean, wildcard, and fuzzy queries. For simple queries like term or * "match all" queries, group caching degrades performance. group.cache.percent parameter. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setGroupCachePercent($percent) {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function setGroupFacet($value) {} /** * (PECL solr >= 2.2.0)
* Sets the group.format parameter. If this parameter is set to simple, the grouped documents are presented in a
* single flat list, and the start and rows parameters affect the numbers of documents instead of groups.
* Accepts: grouped/simple
*
* Returns the current SolrQuery object, if the return value is used. *
*/ public function setGroupFormat($value) {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function setGroupLimit($value) {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function setGroupMain($value) {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function setGroupNGroups($value) {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function setGroupOffset($value) {} /** * (PECL solr >= 2.2.0)* Returns the current SolrQuery object, if the return value is used. *
*/ public function setGroupTruncate($value) {} /** * (PECL solr >= 0.9.2)
* Setting it to TRUE enables highlighted snippets to be generated in the query response.
* Setting it to FALSE disables highlighting
*
* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlight($flag) {} /** * (PECL solr >= 0.9.2)* The name of the backup field *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightAlternateField($field, $field_override) {} /** * (PECL solr >= 0.9.2)* Currently the only legal value is "simple" *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightFormatter($formatter, $field_override) {} /** * (PECL solr >= 0.9.2)* The standard fragmenter is gap. Another option is regex, which tries to create fragments that resembles a certain * regular expression *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightFragmenter($fragmenter, $field_override) {} /** * (PECL solr >= 0.9.2)* The size, in characters, of fragments to consider for highlighting *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightFragsize($size, $field_override) {} /** * (PECL solr >= 0.9.2)* Whether or not to use SpanScorer to highlight phrase terms only when they appear within the query phrase in the * document. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightHighlightMultiTerm($flag) {} /** * (PECL solr >= 0.9.2)* The length of the field *
** If SolrQuery::setHighlightAlternateField() was passed the value TRUE, this parameter specifies the maximum * number of characters of the field to return *
** Any value less than or equal to 0 means unlimited. *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightMaxAlternateFieldLength($fieldLength, $field_override) {} /** * (PECL solr >= 0.9.2)* The number of characters into a document to look for suitable snippets *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightMaxAnalyzedChars($value) {} /** * (PECL solr >= 0.9.2)* Whether or not to collapse contiguous fragments into a single fragment *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightMergeContiguous($flag, $field_override) {} /** * (PECL solr >= 0.9.2)* The maximum number of characters to analyze from a field when using the regex fragmenter *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightRegexMaxAnalyzedChars($maxAnalyzedChars) {} /** * (PECL solr >= 0.9.2)* The regular expression for fragmenting. This could be used to extract sentences *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightRegexPattern($value) {} /** * (PECL solr >= 0.9.2)* The factor by which the regex fragmenter can stray from the ideal fragment size (specified by * SolrQuery::setHighlightFragsize) to accommodate the regular expression. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightRegexSlop($factor) {} /** * (PECL solr >= 0.9.2)
* If TRUE, then a field will only be highlighted if the query matched in this particular field.
* This will only work if SolrQuery::setHighlightUsePhraseHighlighter() was set to TRUE.
*
* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightRequireFieldMatch($flag) {} /** * (PECL solr >= 0.9.2)* Sets the text which appears after a highlighted term. The default is </em> *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightSimplePost($simplePost, $field_override) {} /** * (PECL solr >= 0.9.2)* Sets the text which appears before a highlighted term. The default is <em> *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightSimplePre($simplePre, $field_override) {} /** * (PECL solr >= 0.9.2)* The maximum number of highlighted snippets to generate per field *
* @param string $field_override [optional]* Name of the field *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightSnippets($value, $field_override) {} /** * (PECL solr >= 0.9.2)* Whether or not to use SpanScorer to highlight phrase terms only when they appear within the query phrase in the * document. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setHighlightUsePhraseHighlighter($flag) {} /** * (PECL solr >= 0.9.2)* TRUE enables it and FALSE turns it off. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setMlt($flag) {} /** * (PECL solr >= 0.9.2)* Sets to TRUE or FALSE *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setMltBoost($flag) {} /** * (PECL solr >= 0.9.2)* The number of similar documents to return for each result *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setMltCount($count) {} /** * (PECL solr >= 0.9.2)* The maximum number of query terms that will be included in any generated query *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setMltMaxNumQueryTerms($value) {} /** * (PECL solr >= 0.9.2)* The maximum number of tokens to parse *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setMltMaxNumTokens($value) {} /** * (PECL solr >= 0.9.2)* The maximum word length above which words will be ignored *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setMltMaxWordLength($maxWordLength) {} /** * (PECL solr >= 0.9.2)* Sets the frequency at which words will be ignored which do not occur in at least this many docs. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setMltMinDocFrequency($minDocFrequency) {} /** * (PECL solr >= 0.9.2)* The frequency below which terms will be ignored in the source docs *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setMltMinTermFrequency($minTermFrequency) {} /** * (PECL solr >= 0.9.2)* The minimum word length below which words will be ignored *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setMltMinWordLength($minWordLength) {} /** * (PECL solr >= 0.9.2)* TRUE excludes the header from the result. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setOmitHeader($flag) {} /** * (PECL solr >= 0.9.2)* The search query *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setQuery($query) {} /** * (PECL solr >= 0.9.2)* The maximum number of rows to return *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setRows($rows) {} /** * (PECL solr >= 0.9.2)* Whether to show debug info. TRUE or FALSE *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setShowDebugInfo($flag) {} /** * (PECL solr >= 0.9.2)* The number of rows to skip. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setStart($start) {} /** * (PECL solr >= 0.9.2)* TRUE turns on the stats component and FALSE disables it. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setStats($flag) {} /** * (PECL solr >= 0.9.2)* TRUE enables it. FALSE turns it off *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTerms($flag) {} /** * (PECL solr >= 0.9.2)* The field name *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsField($fieldname) {} /** * (PECL solr >= 0.9.2)* Include the lower bound term in the result set *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsIncludeLowerBound($flag) {} /** * (PECL solr >= 0.9.2)* TRUE or FALSE *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsIncludeUpperBound($flag) {} /** * (PECL solr >= 0.9.2)* The maximum number of terms to return. All the terms will be returned if the limit is negative. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsLimit($limit) {} /** * (PECL solr >= 0.9.2)* The lower bound Term *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsLowerBound($lowerBound) {} /** * (PECL solr >= 0.9.2)* The maximum document frequency. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsMaxCount($frequency) {} /** * (PECL solr >= 0.9.2)* The minimum frequency *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsMinCount($frequency) {} /** * (PECL solr >= 0.9.2)* Restrict matches to terms that start with the prefix *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsPrefix($prefix) {} /** * (PECL solr >= 0.9.2)* TRUE or FALSE *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsReturnRaw($flag) {} /** * (PECL solr >= 0.9.2)
* If SolrQuery::TERMS_SORT_COUNT, sorts the terms by the term frequency (highest count first).
* If SolrQuery::TERMS_SORT_INDEX, returns the terms in index order
*
* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsSort($sortType) {} /** * (PECL solr >= 0.9.2)* The term to stop at *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTermsUpperBound($upperBound) {} /** * (PECL solr >= 0.9.2)* The time allowed for a search to finish. This value only applies to the search and not to requests in general. * Time is in milliseconds. Values less than or equal to zero implies no time restriction. Partial results may be * returned, if there are any. *
* @return SolrQuery* Returns the current SolrQuery object, if the return value is used. *
*/ public function setTimeAllowed($timeAllowed) {} }