These docs are for v2.1. Click to read the latest docs for v5.0.

Search, Filter and Sort

Search, Filter, Sort

OpenContent data, more specifically multi-item data, can be filtered, sorted or searched.

This feature is based on Lucene.net

This feature needs to be activated by adding the "index: true" in the Manifest.

Ones activated the module data will be indexed.
Lucene index is stored in /APP_Data/OpenContent/lucene_index
Tools to analyse lucene index : Luke

After activation, a new menu item "Filter Settings" will be available. Here you can configure how the data should be filtered, search and sorted prior to being made available to the template (via the Model in razor template or via json through webapi).
In the Filter Setting, there is also a button to rebuild the index for the data of that module.