nswdpc/silverstripe-search-typesense

Typesense integration

Installs: 14

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

Type:silverstripe-vendormodule

v0.2.0 2025-03-31 04:52 UTC

This package is auto-updated.

Last update: 2025-10-02 01:08:46 UTC


README

This module:

  • allows programmatic creation of search forms to query a Typesense collection
  • carrying out of Typesense searches on a selected collection
  • provides a consistent data structure for indexing and rendering results
  • allows adding of support Typesense instantsearch to your data models, with configuration within the administration area
  • provides an extension to handle upsert and removal of documents that are marked for indexing

This module does not provide any implementations for searching in your Typesense collections. Use the following modules to implement this:

  • nswdpc/silverstripe-typesense-cms - provides a Typesense page to search and display results from collections
  • nswdpc/silverstripe-typesense-elemental - provides Elemental content blocks to search collections

For NSW users wanting to integrate with the NSW Design System, the module nswdpc/waratah-typesense will assist.

Documentation

Requirements

  • a Typesense server or servers

Installation

The only supported way of installing this module is via composer. Ensure you have a repo entry until this module is added to packagist:

{
    "type": "vcs",
    "url": "git@github.com:nswdpc/silverstripe-search-typesense.git"
}
composer require nswdpc/silverstripe-search-typesense

License

BSD-3-Clause

Configuration

Environment:

TYPESENSE_API_KEY="API key that can read and write"
TYPESENSE_SERVER="https://host:port"
TYPESENSE_SEARCH_KEY='Optional search only key for creating scoped API keys for Instantsearch'

Maintainers

  • PD web team

Bugtracker

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the code of conduct prior to opening a new issue.

Security

If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the code of conduct prior to completing a pull request.