PHP Conference Japan 2024

SolrDisMaxQuery 类

(无版本信息可用,可能仅存在于 Git 中)

简介

类概要

class SolrDisMaxQuery extends SolrQuery implements Serializable {
/* 继承的属性 */
/* 方法 */
public __construct(string $q = ?)
public addBigramPhraseField(string $field, string $boost, string $slop = ?): SolrDisMaxQuery
public addBoostQuery(string $field, string $value, string $boost = ?): SolrDisMaxQuery
public addPhraseField(string $field, string $boost, string $slop = ?): SolrDisMaxQuery
public addQueryField(string $field, string $boost = ?): SolrDisMaxQuery
public addTrigramPhraseField(string $field, string $boost, string $slop = ?): SolrDisMaxQuery
/* 继承的方法 */
public SolrQuery::addFacetDateOther(字符串 $value, 字符串 $field_override = ?): SolrQuery
public SolrQuery::addSortField(字符串 $field, 整数 $order = SolrQuery::ORDER_DESC): SolrQuery
public SolrQuery::getFacetDateEnd(字符串 $field_override = ?): 字符串
public SolrQuery::getFacetDateGap(字符串 $field_override = ?): 字符串
public SolrQuery::getFacetDateOther(字符串 $field_override = ?): 数组
public SolrQuery::getFacetDateStart(字符串 $field_override = ?): 字符串
public SolrQuery::getFacetLimit(字符串 $field_override = ?): 整数
public SolrQuery::getFacetMethod(字符串 $field_override = ?): 字符串
public SolrQuery::getFacetMinCount(字符串 $field_override = ?): 整数
public SolrQuery::getFacetMissing(字符串 $field_override = ?): 布尔值
public SolrQuery::getFacetOffset(字符串 $field_override = ?): 整数
public SolrQuery::getFacetPrefix(字符串 $field_override = ?): 字符串
public SolrQuery::getFacetSort(字符串 $field_override = ?): 整数
public SolrQuery::getHighlightFragsize(字符串 $field_override = ?): 整数
public SolrQuery::getHighlightSnippets(字符串 $field_override = ?): 整数
public SolrQuery::removeFacetDateOther(字符串 $value, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetDateEnd(字符串 $value, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetDateGap(字符串 $value, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetDateHardEnd(布尔值 $value, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetDateStart(字符串 $value, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetLimit(整数 $limit, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetMethod(字符串 $method, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetMinCount(整数 $mincount, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetMissing(布尔值 $flag, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetOffset(整数 $offset, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetPrefix(字符串 $prefix, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setFacetSort(整数 $facetSort, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setHighlightFormatter(字符串 $formatter, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setHighlightFragmenter(字符串 $fragmenter, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setHighlightFragsize(整数 $size, 字符串 $field_override = ?): SolrQuery
public SolrQuery::setHighlightSimplePost(string $simplePost, string $field_override = ?): SolrQuery
public SolrQuery::setHighlightSimplePre(string $simplePre, string $field_override = ?): SolrQuery
public SolrQuery::setHighlightSnippets(int $value, string $field_override = ?): SolrQuery
}

预定义常量

SolrDisMaxQuery::ORDER_ASC

用于指定排序应为升序(为了更容易迁移而复制)

SolrDisMaxQuery::ORDER_DESC

用于指定排序应为降序(为了更容易迁移而复制)

SolrDisMaxQuery::FACET_SORT_INDEX

用于指定分面应按索引排序(为了更容易迁移而复制)

SolrDisMaxQuery::FACET_SORT_COUNT

用于指定分面应按计数排序(为了更容易迁移而复制)

SolrDisMaxQuery::TERMS_SORT_INDEX

在 TermsComponent 中使用(为了更容易迁移而复制)

SolrDisMaxQuery::TERMS_SORT_COUNT

在 TermsComponent 中使用(为了更容易迁移而复制)

目录

添加注释

用户贡献的注释

此页面没有用户贡献的注释。
To Top