Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Search API Lunr

Security covered

Part of the Search ecosystem · 87 projects

View on drupal.org

For an introduction on how this module works, read Fast and fuzzy client-side search with Lunr.js and Drupal.

This module provides a Search API backend for the the JavaScript search engine Lunr. The module works like a standard Search API back-end, you can configure fields and a pipeline of processors, however instead of adding content to a search back-end, they are written to JSON files to be loaded directly into the browser.

This is similar to the lunr module, however there are some key differences:

  • This module uses SAPI's index tracking to add items to the index on-demand as content is created or updated, instead of requiring the index be rebuilt.
  • This module uses the SAPI interface for configuring indexable fields, instead of views.

Due to the on-demand nature of indexing, this module best serves the use-case of an integrated Drupal front-end with instant-search like capabilities vs a statically generated site that goes through a build process.

Features:

  • Per-document boosting - choose a field to act as a boost to make specific search results rank higher or lower.
  • Per-field boosting - choose how much weight should be given to each indexed field when ranking search results.
  • An instant search autocomplete block - go directly to relevant results or search the whole index.
  • A JavaScript API - execute custom searches, access documents in the index, integrate results from the index into your site in any way that works for you.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jan 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
3.1.0 Stable Aug 11, 2024
3.0.1 Stable Dec 13, 2023
3.0.0 Stable Feb 2, 2023
3.x-dev Dev Jan 31, 2023