| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- namespace Elastica\QueryBuilder\Version;
- use Elastica\QueryBuilder\Version;
- /**
- * elasticsearch 2.4 DSL.
- *
- * @see https://www.elastic.co/guide/en/elasticsearch/reference/2.4/index.html
- *
- * @author Cariou Pierre-Yves <cariou.p@gmail.com>
- */
- class Version240 extends Version
- {
- protected $queries = [
- 'match',
- 'multi_match',
- 'bool',
- 'boosting',
- 'common_terms',
- 'constant_score',
- 'dis_max',
- 'function_score',
- 'fuzzy',
- 'geo_shape',
- 'has_child',
- 'has_parent',
- 'ids',
- 'match_all',
- 'more_like_this',
- 'nested',
- 'parent_id',
- 'prefix',
- 'query_string',
- 'simple_query_string',
- 'range',
- 'regexp',
- 'span_first',
- 'span_multi_term',
- 'span_near',
- 'span_not',
- 'span_or',
- 'span_term',
- 'term',
- 'terms',
- 'wildcard',
- 'geo_distance',
- 'exists',
- 'type',
- 'percolate',
- ];
- protected $aggregations = [
- 'min',
- 'max',
- 'sum',
- 'sum_bucket',
- 'avg',
- 'avg_bucket',
- 'stats',
- 'extended_stats',
- 'value_count',
- 'percentiles',
- 'percentile_ranks',
- 'cardinality',
- 'geo_bounds',
- 'top_hits',
- 'scripted_metric',
- 'global_agg', // original: global
- 'filter',
- 'filters',
- 'missing',
- 'nested',
- 'reverse_nested',
- 'children',
- 'terms',
- 'significant_terms',
- 'range',
- 'date_range',
- 'ipv4_range',
- 'histogram',
- 'date_histogram',
- 'geo_distance',
- 'geohash_grid',
- 'bucket_script',
- 'serial_diff',
- ];
- protected $suggesters = [
- 'term',
- 'phrase',
- 'completion',
- 'context',
- ];
- }
|