Skip to content

tum-gis/sddi-ckan-solr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SDDI CKAN Solr

Extended CKAN Solr Docker image with additional fields for the SDDI (Spatial Data and Data Infrastructure) project.

Overview

This repository extends the official CKAN Solr spatial Docker image (ckan/ckan-solr:2.11-solr9-spatial) with additional fields to support enhanced metadata indexing for spatial data infrastructure.

Additional Fields

The following field has been added to the Solr managed schema:

  • topic: A multi-valued string field for categorizing datasets by topic

    <field name="topic" type="string" indexed="true" stored="true" multiValued="true"/>

Usage

Using the Pre-built Image

Pull the image from GitHub Container Registry:

docker pull ghcr.io/tum-gis/sddi-ckan-solr:2.11-solr9-spatial

Running the Container

Start the Solr container:

docker run -d -p 8983:8983 --name ckan-solr ghcr.io/tum-gis/sddi-ckan-solr:2.11-solr9-spatial

The Solr instance will be available at http://localhost:8983/solr with a pre-configured ckan core.

Building Locally

To build the image locally:

docker build -t sddi-ckan-solr .

Base Image Features

This image extends the ckan/ckan-solr:2.11-solr9-spatial image and includes all its features:

  • Solr 9.x with CKAN-compatible schema configuration
  • Pre-configured CKAN core
  • Spatial search capabilities with JTS (Java Topology Suite)
  • RPT (Recursive Prefix Tree) field type for spatial geometries
  • Bounding box fields for spatial queries
  • Additional custom topic field for enhanced categorization

Configuration

The base image already includes a CKAN configset with spatial fields. This extension adds:

  • topic: Multi-valued topic categorization field

The base image provides these spatial fields:

  • spatial_geom: RPT field for spatial geometries
  • bbox_area, maxx, maxy, minx, miny: Bounding box fields

CI/CD

The repository includes a GitHub Actions workflow that automatically:

  • Builds the Docker image on pushes to the main branch
  • Publishes the image to GitHub Container Registry (ghcr.io)
  • Uses the same tag as the base image (2.11-solr9-spatial) for easy drop-in replacement

The image is published to: ghcr.io/tum-gis/sddi-ckan-solr:2.11-solr9-spatial

Versioning

  • 2.11-solr9-spatial: Matches the base image tag for easy drop-in replacement

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test the build locally
  5. Submit a pull request

License

This project follows the same licensing as the upstream CKAN Solr project.

Related Projects

  • CKAN - The open source data portal platform
  • CKAN Solr - Official CKAN Solr Docker images
  • TUM-GIS - Technical University of Munich, Chair of Geoinformatics

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages