Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Goal

The aim of this article is to demonstrate how to index DateTime fields so that their type is properly parsed passed to the Hawksearch API.

...

  1. Navigate to Administration → Search indexes (your-site-domain/Sitefinity/Administration/Search)

  2. Open the index for editing

  3. Under Advanced → Additional fields for indexing add the fields e.g. Lastmodified, DateCreated

  4. Save the changes

...

In order to use you custom search service instead of the built-in one please refer to this documentation:
Register custom search service

Check field type in Hawksearch

After you have indexed open your Hawksearch dashboard and check the type of the field you have created. It should look like this :

...