Search backend¶
Searching in VidiCore is implemented using OpenSearch as the backend. This allows functionality such as boolean operators, faceted searching, term highlighting, search term suggestions, etc.
OpenSearch¶
Requirements¶
- OpenSearch. For supported versions see the Prerequisites section.
- The analysis-icu plugin needs to be installed. If you are using Amazon OpenSearch Service, this plugin is already installed.
- Make sure to configure the search backend and that either
the search backend URL or the opensearchPathproperty is set properly.
- Run vidispine opensearch initto initialize OpenSearch. If an OpenSearch instance is initialized already, the initialization will not create a new index, unless the--recreateargument is used when initializing.
- (Optional) Run vidispine opensearch init --recreate --mappingLimit=<integer>will create a new index and configures theindex.mapping.total_fields.limitwith the integer value(default 1000) in OpenSearch. (New in 23.2.4.)
- (Optional) Run vidispine opensearch init --percolator-indexto initialize the “percolate query” index that is newly introduced in 5.6. This is useful for systems upgrading from an older version, and don’t want to re-initialize everything. (New in 5.6.)
- Running vidispine opensearch checkcan be used to check if OpenSearch is active already or should be initialized.
Limitations¶
The search interface is the same compared to using Solr (both syntactically and semantically), except that:
- The noescapeoption in the “version 1” search document is not supported.
- When searching using cursor for timed intervals, the same item or collection might be returned with different timespans on different result pages. This is because timespans are sorted independently, but grouped to items on a per-result-page basis.
Solr¶
Solr is not supported anymore since 24.4.