PHP Interface Smile\ElasticsuiteCore\Search\Request\BucketInterface
- Define new usable bucket types in ElasticSuite (histogrrams)
- Additional methods to handle nested and filtered aggregations
Afficher le fichier
Open project: smile-sa/elasticsuite
Interface Usage Examples
Méthodes publiques
Méthode |
Description |
|
getFilter ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface | null |
Optional filter for filtered aggregations. |
|
getNestedFilter ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface | null |
Optional filter for nested filters (eg. filter by customer group for price). |
|
getNestedPath ( ) : string |
Nested path for nested aggregations. |
|
isNested ( ) |
Indicates if the aggregation is nested. |
|
Method Details
getFilter()
public méthode
Optional filter for filtered aggregations.
public getFilter ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface | null |
Résultat |
Smile\ElasticsuiteCore\Search\Request\QueryInterface | null |
|
getNestedFilter()
public méthode
Optional filter for nested filters (eg. filter by customer group for price).
public getNestedFilter ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface | null |
Résultat |
Smile\ElasticsuiteCore\Search\Request\QueryInterface | null |
|
getNestedPath()
public méthode
Nested path for nested aggregations.
isNested()
public méthode
Indicates if the aggregation is nested.