diff --git a/app/indices/concerns/typesense_media_index.rb b/app/indices/concerns/typesense_media_index.rb index 8356e19dd..0f4c8c1d1 100644 --- a/app/indices/concerns/typesense_media_index.rb +++ b/app/indices/concerns/typesense_media_index.rb @@ -33,11 +33,13 @@ module TypesenseMediaIndex # Start and end dates field 'start_date', type: 'object', optional: true + field 'start_date.is_null', type: 'bool', facet: true, optional: true field 'start_date.year', type: 'int32', facet: true, optional: true field 'start_date.month', type: 'int32', facet: true, optional: true field 'start_date.day', type: 'int32', facet: true, optional: true field 'start_date.timestamp', type: 'int64', optional: true field 'end_date', type: 'object', optional: true + field 'end_date.is_null', type: 'bool', facet: true, optional: true field 'end_date.year', type: 'int32', facet: true, optional: true field 'end_date.month', type: 'int32', facet: true, optional: true field 'end_date.day', type: 'int32', facet: true, optional: true