PHP 인터페이스 Smile\ElasticsuiteCore\Search\RequestInterface

This extends the standard magento request interface to append support of the following features : - document types - hits filtering not applied to aggregations (ElasicSearch root filters) - sort order definition
저자: Aurelien FOUCRET ([email protected])
상속: extends Magento\Framework\Search\RequestInterface
파일 보기 프로젝트 열기: smile-sa/elasticsuite 0 사용 예제들

공개 메소드들

메소드 설명
getFilter ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface Hits filter (does not apply to aggregations).
getSortOrders ( ) : Smile\ElasticsuiteCore\Search\Request\SortOrderInterface[] Request sort order.
getType ( ) : string Searched doucument type.
isSpellchecked ( ) : boolean Indicates if the query has been spellchecked.

메소드 상세

getFilter() 공개 메소드

Filter are actually using QueryInterface since there is no differences beetween queries and filters in Elasticsearch 2.x DSL.
public getFilter ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface
리턴 Smile\ElasticsuiteCore\Search\Request\QueryInterface

getSortOrders() 공개 메소드

Request sort order.
public getSortOrders ( ) : Smile\ElasticsuiteCore\Search\Request\SortOrderInterface[]
리턴 Smile\ElasticsuiteCore\Search\Request\SortOrderInterface[]

getType() 공개 메소드

Searched doucument type.
public getType ( ) : string
리턴 string

isSpellchecked() 공개 메소드

Indicates if the query has been spellchecked.
public isSpellchecked ( ) : boolean
리턴 boolean