SolrDisMaxQuery::useDisMaxQueryParser

(No version information available, might only be in Git)

SolrDisMaxQuery::useDisMaxQueryParserSwitch QueryParser to be DisMax Query Parser

说明

public SolrDisMaxQuery::useDisMaxQueryParser ( void ) : SolrDisMaxQuery

Switch QueryParser to be DisMax Query Parser

参数

此函数没有参数。

返回值

SolrDisMaxQuery

范例

Example #1 SolrDisMaxQuery::useDisMaxQueryParser() example

<?php

$dismaxQuery 
= new SolrDisMaxQuery();
$dismaxQuery->useDisMaxQueryParser();
echo 
$dismaxQuery;
?>

以上例程的输出类似于:

defType=dismax

参见

  • SolrDisMaxQuery::useDisMaxQueryParser()
相关文章
php ibm db2 函数 returns the auto generated id of the last insert query that successfully executed on this connectionphp eio 函数 returns number of requests to be processedphp sqlsrv 函数 returns the number of rows modified by the last insert update or delete query executedphp mongocursor sets whether this query can be done on a secondary deprecated php mysqlnduhconnection retrieves information about the most recently executed queryphp mysqlnduhconnection performs a query on the databasephp parle parser consume the data for processingphp solrdismaxquery adds a boost query field with value and optional boost bq parameter php solrdismaxquery add a query field with optional boost qf parameter php solrdismaxquery removes a boost query partial by field name bq php solrdismaxquery removes a query field qf parameter php solrdismaxquery directly sets boost query parameter bq php solrdismaxquery set query alternate q.alt parameter php solrdismaxquery specifies the amount of slop permitted on phrase queries explicitly included in the user s query string qf parameter php solrdismaxquery switch queryparser to be dismax query parserphp solrdismaxquery switch queryparser to be edismaxphp 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 set if the query will be boosted by the interesting term relevance
关注编程学问公众号