| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | public static function get(): array |
||
| 9 | { |
||
| 10 | return [ |
||
| 11 | 'price' => [ |
||
| 12 | 'type' => 'histogram', |
||
| 13 | 'label' => 'Price', |
||
| 14 | 'options' => [ |
||
| 15 | 'field' => 'price_web_us', |
||
| 16 | 'interval' => 10000*100, |
||
| 17 | 'min_doc_count' => 1 |
||
| 18 | ] |
||
| 19 | ], |
||
| 20 | 'taxon' => [ |
||
| 21 | 'type' => 'terms', |
||
| 22 | 'label' => 'Taxon', |
||
| 23 | 'options' => [ |
||
| 24 | 'field' => 'product_taxons.keyword' |
||
| 25 | ] |
||
| 30 |