PHP Class eZ\Publish\Core\Search\Elasticsearch\Content\Extractor

Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$facetBuilderVisitor FacetBuilderVisitor Facet builder visitor.

Méthodes publiques

Méthode Description
__construct ( FacetBuilderVisitor $facetBuilderVisitor )
extract ( mixed $data ) : eZ\Publish\API\Repository\Values\Content\Search\SearchResult Extracts search result from $data returned by Elasticsearch.
extractHit ( mixed $hit ) : eZ\Publish\API\Repository\Values\ValueObject Extracts value object from $hit returned by Elasticsearch.

Method Details

__construct() public méthode

public __construct ( FacetBuilderVisitor $facetBuilderVisitor )
$facetBuilderVisitor FacetBuilderVisitor

extract() public méthode

Extracts search result from $data returned by Elasticsearch.
public extract ( mixed $data ) : eZ\Publish\API\Repository\Values\Content\Search\SearchResult
$data mixed
Résultat eZ\Publish\API\Repository\Values\Content\Search\SearchResult

extractHit() abstract public méthode

Needs to be implemented by concrete Extractor.
abstract public extractHit ( mixed $hit ) : eZ\Publish\API\Repository\Values\ValueObject
$hit mixed
Résultat eZ\Publish\API\Repository\Values\ValueObject

Property Details

$facetBuilderVisitor protected_oe property

Facet builder visitor.
protected FacetBuilderVisitor,eZ\Publish\Core\Search\Elasticsearch\Content $facetBuilderVisitor
Résultat FacetBuilderVisitor