PHP 클래스 Smile\ElasticsuiteCore\Search\Request\Query\Boolean

저자: Aurelien FOUCRET ([email protected])
상속: implements Smile\ElasticsuiteCore\Search\Request\QueryInterface
파일 보기 프로젝트 열기: smile-sa/elasticsuite

공개 메소드들

메소드 설명
__construct ( array $must = [], array $should = [], array $mustNot = [], integer $minimumShouldMatch = 1, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE, boolean $cached = false ) Constructor.
getBoost ( ) {@inheritDoc}
getMinimumShouldMatch ( ) : integer Minimum should match query clause.
getMust ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface[] Must clause queries.
getMustNot ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface[] Must not clause queries.
getName ( ) {@inheritDoc}
getShould ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface[] Should clause queries.
getType ( ) {@inheritDoc}
isCached ( ) : boolean Indicates if the bool query needs to be cached or not.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $must = [], array $should = [], array $mustNot = [], integer $minimumShouldMatch = 1, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE, boolean $cached = false )
$must array Must clause queries.
$should array Should clause queries.
$mustNot array Must not clause queries.
$minimumShouldMatch integer Minimum should match query clause.
$name string Query name.
$boost integer Query boost.
$cached boolean Should the query be cached or not.

getBoost() 공개 메소드

{@inheritDoc}
public getBoost ( )

getMinimumShouldMatch() 공개 메소드

Minimum should match query clause.
public getMinimumShouldMatch ( ) : integer
리턴 integer

getMust() 공개 메소드

Must clause queries.
public getMust ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface[]
리턴 Smile\ElasticsuiteCore\Search\Request\QueryInterface[]

getMustNot() 공개 메소드

Must not clause queries.
public getMustNot ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface[]
리턴 Smile\ElasticsuiteCore\Search\Request\QueryInterface[]

getName() 공개 메소드

{@inheritDoc}
public getName ( )

getShould() 공개 메소드

Should clause queries.
public getShould ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface[]
리턴 Smile\ElasticsuiteCore\Search\Request\QueryInterface[]

getType() 공개 메소드

{@inheritDoc}
public getType ( )

isCached() 공개 메소드

Indicates if the bool query needs to be cached or not.
public isCached ( ) : boolean
리턴 boolean