SolrQuery::getQuery

(PECL solr >= 0.9.2)

SolrQuery::getQueryReturns the main query

说明

public SolrQuery::getQuery ( void ) : string

Returns the main search query

参数

此函数没有参数。

返回值

Returns a string on success and NULL if not set.

相关文章
php oci8 函数 returns the next row from a query as an associative or numeric arrayphp solrquery overrides main filter query determines which documents to include in the main groupphp solrquery returns the expand query expand.q parameterphp solrquery returns the lower bound for the first date range for all date faceting on this fieldphp solrquery returns all the facet fieldsphp solrquery returns the group.format valuephp solrquery returns group functions group.func parameter values php solrquery returns the group.main valuephp solrquery returns all the group.query parameter valuesphp solrquery returns the maximum number of characters of the field to returnphp solrquery returns the maximum number of characters into a document to look for suitable snippetsphp solrquery returns if a field will only be highlighted if the query matched in this particular fieldphp solrquery returns whether or not the query will be boosted by the interesting term relevancephp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the query fields and their boostsphp solrquery returns the main queryphp solrquery returns whether or not to include the upper bound term in the result setphp solrquery returns the time in milliseconds allowed for the query to finishphp solrquery if true the result of the first field grouping command is used as the main result list in the response using group.format=simple
关注编程学问公众号