Extension Similar Datasets


Extension Basics

Title
Similar Datasets
Name
ckanext-similar-datasets
Type
Public extension
Description
Shows similar datasets in the dataset detail view using SOLR's 'More Like This' feature for content-based recommendations.
CKAN versions
Download-Url (zip)
Last commit
a year ago (2024-08-22 16:27:24)
Url to repo
Category
Specialized Tools


Background Infos

Description (long)
Show details

ckanext-similar-datasets

CKAN plugin to show similar datasets. Shows similar datasets in the dataset detail view using SOLR’s MoreLikeThisHandler (MLT) feature.

Originally part of ckanext-discovery (stadt-karlsruhe). Reimplemented as a standalone extension.

Requirements

  • CKAN 2.9 or later (tested with 2.9, migration for 2.10.4 available)
  • SOLR with MoreLikeThisHandler configured
  • SOLR schema.xml must have termVectors=”true” on the text field

Configuration

Add the following to your SOLR solrconfig.xml:

<requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
</requestHandler>

Add termVectors to the text field in schema.xml:

<field name="text" type="text" indexed="true" stored="false" multiValued="true" termVectors="true"/>

In ckan.ini:

ckan.plugins = similar_datasets
ckanext.similar_datasets.max_num = 5

The max_num setting controls the maximum number of similar datasets to display (default: 5).

License

AGPL-3.0. Copyright (C) 2021 Ondics GmbH.

Version
1.0.0
Version release date
2021-11-12
Contact name
Ondics GmbH
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

ckanext.similar_datasets.max_num = 5

Plugins to configure (ckan.ini)
similar_datasets
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions