Install

Works with Drupal: ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 151.46 KB
MD5: a331c5b36c4d04487497c1e23bf09387
SHA-1: 7d2ae8e21343d7097d0454c12f7516197d662bce
SHA-256: d65e5e48cb63abfb746643a33df8a37ce06766d87268fda76bc76ad293d1b8b7
Download zip 255.55 KB
MD5: 1303cf61d130d9a31133829bfa179264
SHA-1: eafbd0d13c83f43f94763b74b3e3f0757e83a923
SHA-256: 858bece2dfbcc1492b3993782a50107df3312c65c205d86003563b6411e5c6e6

Release notes

Quant Search now works on QuantGov. Search on QuantGov runs on Typesense, but the search pages and the autocomplete block always built an Algolia client, so on QuantGov they returned no results. Indexing was not affected.

Quant Search on QuantGov

The module now asks the project which search engine it uses, the same way as the Drupal 7 module, the WordPress plugin and the dashboard search pages:

  • QuantGov projects use Typesense at https://search.quantgov.cloud, with the read-only key and collection that the Quant API returns.
  • QuantCDN projects keep using Algolia, as before.

No configuration is needed. Run drush updb after the update. Update 8104 adds the Typesense endpoint setting. To use another endpoint, for example for stage, set it in settings.php:

$config['quant_search.settings']['typesense_endpoint'] = 'https://search.stage.quantgov.cloud';

Search pages and the autocomplete block also behave better on both engines:

  • Page filters (languages and content types) are written in the syntax of the project's engine, and the project's custom ranking applies on Typesense.
  • A facet that the search index has not registered is left out and logged, instead of leaving the whole page empty. Saving a search page or re-indexing registers its facets. If a facet is missing after you move a project to QuantGov, re-index once.
  • Manual filters are added as written. On QuantGov, write them in Typesense syntax, for example category_en:=`News`.

Fixes

  • The autocomplete block now submits to the search page with the query in ?keys=, which the page reads. Before, pressing Enter opened the search page without the query.

For developers

  • New service quant_search.backend (Drupal\quant_search\SearchBackend) resolves the engine and builds filters.
  • drupalSettings.quantSearch and drupalSettings.quantSearchAutocomplete gain backend, app_id, read_key, index, endpoint and sort_by. The algolia_* keys stay for themes that override the scripts. On QuantGov, algolia_index carries the Typesense collection.
  • New libraries quant_search/typesense-page, quant_search/typesense-autocomplete and quant_search/search-client (Drupal.quantSearch.createSearchClient()).
Created by: stooit
Created on: 1 Nov 2026 at 08:55 UTC
Last updated: 1 Nov 2026 at 08:56 UTC
Bug fixes
New features
Unsupported

Other releases