SolrDisMaxQuery::setQueryAlt
Set Query Alternate (q.alt parameter)
説明
public SolrDisMaxQuery SolrDisMaxQuery::setQueryAlt(string $q
)
When the main q parameter is not specified or is blank. The q.alt parameter is used
例
例1 SolrDisMaxQuery::setQueryAlt example
<?php
$dismaxQuery = new DisMaxQuery();
$dismaxQuery->setQueryAlt('*:*');
?>
defType=edismax&q.alt=*:*&q=