SolrDisMaxQuery::__construct
Class Constructor
説明
public SolrDisMaxQuery::__construct(string $q
= ?)
パラメータ
-
q
-
Search Query (q parameter)
エラー / 例外
Emits SolrIllegalArgumentException in case of an invalid parameter was passed.
例
例1 SolrDisMaxQuery::__construct example
<?php
$dismaxQuery = new SolrDisMaxQuery('lucene');
echo $dismaxQuery;
?>