Skip to content

Commit cc8251a

Browse files
committed
TASK: Add default indexing configutation for DateTime fields
1 parent 9cc8bae commit cc8251a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Configuration/Settings.Neos.ContentRepository.Search.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Neos:
3535
elasticSearchMapping:
3636
type: date
3737
format: 'date_time_no_millis'
38+
indexing: '${(value ? Date.format(value, "Y-m-d\TH:i:sP") : null)}'
3839

3940
'Neos\Media\Domain\Model\Asset':
4041
elasticSearchMapping: '' # deliberately don't map or index this

0 commit comments

Comments
 (0)