\ElasticaSearchHelperInterface
Synopsis
interface ElasticaSearchHelperInterface
{
- // methods
- public [type] augmentQuery()
- public void updateFilters()
- public [type] updateAggregation()
- public array getIndexFieldTitleMapping()
- public array getDefaultSort()
Methods
public
- augmentQuery() — Alter the query or add to it, perhaps for example adding aggregation.
- getDefaultSort() — In the event of using aggregates and no query provided, sort by this.
- getIndexFieldTitleMapping() — Get a mapping from indexed field name to human readable title.
- updateAggregation() — Manipulate the array of aggregations post search butprior to rendering them in a template.
- updateFilters() — Update filters, perhaps remaps them, prior to performing a search.