略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SolrQuery::__construct

2024-12-22

SolrQuery::__construct

(PECL solr >= 0.9.2)

SolrQuery::__constructConstructor

说明

public SolrQuery::__construct(string $q = ?)

Constructor.

参数

q

Optional search query

返回值

None

错误/异常

Emits SolrIllegalArgumentException in case of an invalid parameter was passed.

更新日志

版本 说明
PECL solr 2.0.0 If q was invalid, then a SolrIllegalArgumentException is now thrown. Previously an error was emitted.
add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/solrquery.construct.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3