Extension Datasolr


Extension Basics

Title
Datasolr
Name
ckanext-datasolr
Type
Public extension
Description
datasolr is a Ckan extension to use Solr for datastore queries
CKAN versions
Download-Url (zip)
Last commit
6 years ago (2019-11-26 11:39:43)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

Ckan Datastore Solr extension

This extension is no longer maintained.

Travis branch Coveralls github branch

datasolr is a Ckan extension to use Solr to perform datastore queries.

Motivated by low PostgreSQL performance on very large datasets, datasolr provides an alternative API endpoint to perform searches using Solr. datasolr is compatible with and can be configured to replace the datastore_search API endpoint. The returned results may differ however (see differences with datastore_search).

Use case

datasolr aims to replace the search component of the datastore only. It is not a full replacement for the datastore, and it’s use case is for large datasets that are either not updated, or updated at regular intervals only. As such:

  • The data is still stored in (and the actual values fetched from) the PostgreSQL database;
  • datasolr does not currently provide automatic indexing. Future version may provide on demand batch indexing, however modifying rows as they are updated is not a planned feature.

Differences with datastore_search

  • datasolr does not accept double quotes in field names;
  • datsolr only accepts DISTINCT queries on a single field;
  • datastore_search allows for PostgreSQL full text query syntax. datasolr does not, and does not attempt to parse the PostgreSQL syntax into Solr queries (with the exception of field full text search prefix - see below);
  • datasolr implements full text search on specific fields differently than the datastore does. While the q par
Version
1.0.5
Version release date
2018-02-28
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

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