| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function getCurrentDataTrackerIndexConfig(ElasticsearchContextInterface $elasticsearchContext): array |
||
| 28 | { |
||
| 29 | return [ |
||
| 30 | 'index' => $elasticsearchContext->getCurrentDataTrackerIndex(), |
||
| 31 | 'body' => [ |
||
| 32 | 'mappings' => [ |
||
| 33 | 'date_detection' => $this->dateDetection, |
||
| 34 | 'dynamic_date_formats' => [$this->dateFormats], |
||
| 35 | 'properties' => $this->currentDataTrackerProperties, |
||
| 36 | ], |
||
| 41 |