(No version information available, might only be in Git)
SolrDisMaxQuery::setQueryAlt — Set Query Alternate (q.alt parameter)
Set Query Alternate (q.alt parameter)
When the main q parameter is not specified or is blank. The q.alt parameter is used
q
Query String
Example #1 SolrDisMaxQuery::setQueryAlt() example
<?php
$dismaxQuery = new DisMaxQuery();
$dismaxQuery->setQueryAlt('*:*');
?>
The above example will output something similar to:
defType=edismax&q.alt=*:*&q=
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant