메소드 |
설명 |
|
bulkIndex ( array $documents ) |
Performs bulk index of a given array of documents. |
|
delete ( integer | string $id, string $type ) |
Deletes a single document of the given $type by given document $id. |
|
deleteByQuery ( string $query, string $type ) |
Deletes a document(s) of the given $type by given $query string. |
|
find ( eZ\Publish\API\Repository\Values\Content\Query $query, string $type, array $languageFilter = [] ) : mixed |
Finds and returns documents of a given $type for a given $query object. |
|
findRaw ( string $query, string $type ) : Message |
Finds and returns documents of a given $type for a given $query string. |
|
flush ( ) |
Flushes data from memory to the index storage. |
|
index ( Document $document ) |
Indexes a given $document. |
|
purgeIndex ( string $type ) |
Deletes all documents of a given $type from the index. |
|