프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$client | eZ\Publish\Core\Search\Elasticsearch\Content\Gateway\HttpClient | ||
$criterionVisitorDispatcher | Query criterion visitor dispatcher. | ||
$facetBuilderVisitor | Query facet builder visitor. | ||
$indexName | string | Name of the index in the search backend. | |
$serializer | Document serializer. | ||
$sortClauseVisitor | Query sort clause visitor. |
메소드 | 설명 | |
---|---|---|
__construct ( eZ\Publish\Core\Search\Elasticsearch\Content\Gateway\HttpClient $client, |
||
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 ) : |
Finds and returns documents of a given $type for a given $query string. | |
flush ( ) | Flushes data from memory to the index storage. | |
index ( |
Indexes a given $document. | |
purgeIndex ( string $type ) | Deletes all documents of a given $type from the index. |
public __construct ( eZ\Publish\Core\Search\Elasticsearch\Content\Gateway\HttpClient $client, |
||
$client | eZ\Publish\Core\Search\Elasticsearch\Content\Gateway\HttpClient | |
$serializer | ||
$criterionVisitorDispatcher | ||
$sortClauseVisitor | ||
$facetBuilderVisitor | ||
$indexName | string |
public deleteByQuery ( string $query, string $type ) | ||
$query | string | |
$type | string |
public index ( |
||
$document |
public purgeIndex ( string $type ) | ||
$type | string |
protected HttpClient,eZ\Publish\Core\Search\Elasticsearch\Content\Gateway $client | ||
리턴 | eZ\Publish\Core\Search\Elasticsearch\Content\Gateway\HttpClient |
protected CriterionVisitorDispatcher,eZ\Publish\Core\Search\Elasticsearch\Content $criterionVisitorDispatcher | ||
리턴 |
protected FacetBuilderVisitor,eZ\Publish\Core\Search\Elasticsearch\Content $facetBuilderVisitor | ||
리턴 |
protected string $indexName | ||
리턴 | string |
protected Serializer,eZ\Publish\Core\Search\Elasticsearch\Content $serializer | ||
리턴 |