PHP 인터페이스 Smile\ElasticsuiteCore\Api\Index\Bulk\BulkResponseInterface

저자: Aurelien FOUCRET ([email protected])
파일 보기 프로젝트 열기: smile-sa/elasticsuite

공개 메소드들

메소드 설명
aggregateErrorsByReason ( ) : array Aggregate all errors by index, document_type, error type and reason.
countErrors ( ) : integer Count items with an error.
countSuccess ( ) : integer Count successfull items.
getErrorItems ( ) : array Get all items with an errors.
getSuccessItems ( ) : array Get all successfull items.
hasErrors ( ) : boolean Check if the bulk has errors.

메소드 상세

aggregateErrorsByReason() 공개 메소드

Used to log erros in compact mode.
public aggregateErrorsByReason ( ) : array
리턴 array

countErrors() 공개 메소드

Count items with an error.
public countErrors ( ) : integer
리턴 integer

countSuccess() 공개 메소드

Count successfull items.
public countSuccess ( ) : integer
리턴 integer

getErrorItems() 공개 메소드

Get all items with an errors.
public getErrorItems ( ) : array
리턴 array

getSuccessItems() 공개 메소드

Get all successfull items.
public getSuccessItems ( ) : array
리턴 array

hasErrors() 공개 메소드

Check if the bulk has errors.
public hasErrors ( ) : boolean
리턴 boolean