This project is not covered by Drupal’s security advisory policy.

This module provides Search API support for fields created with the Recurring Dates Field module.

Features

This module allows entities with recurring date fields to be indexed multiple times in a search index, with one item for each date occurrence.

The module defines an additional content entity datasource for each recurring date field. This datasource should be used instead of the datasource for content entities that comes with Search API module. The recurring date field datasource generates multiple items for each occurrence of a recurring date field, up to a configurable point in the future. Each occurrence will appear as a different search result.

When search items are loaded, the occurrence date is set on a computed field on the entity. This field should be used for filtering, sorting, and displaying results instead of the recurring date field.

Post-Installation

  1. Edit or create a SearchAPI index.
  2. Enable the 'Date occurrences' datasource for the entity type and recurring date you want to index.
  3. Add the computed date occurrence field to the index to sort items by date.
  4. Configure the view mode used in search results to shoe the computed date occurrence field.

Additional Requirements

  • Recurring Dates Field
  • Search API
  • Computed Field

Recommended modules/libraries

  • Search API Common Fields allows using common fields between Recurring Date datasources and Search API's built-in Content datasources.
Supporting organizations: 
Sponsored developer time
Sponsored developer time

Project information

Releases