Install
Works with Drupal: ^9.2 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
33 KB
MD5: ddd287c59778aa5b3c0c35fb1190ff76
SHA-1: f781e04d673cbe8c0428a61ec8ab525b9f60711a
SHA-256: 12e43d15a8b26787c42c767d4e673e8338e24e4708f383d3277cd7a4fdaea3f7
Download zip
56.83 KB
MD5: 089eb2fe34dd0a9e4a71fc376dc49e33
SHA-1: 9f56f15602002b293a9e600dda4e6f4ad33b1ae5
SHA-256: 1c020c1941f659883c052a52171f280656f249c66b49c14ec33736629b33cb97
Release notes
Upgrade notes
- Search pages now explicitly sort by relevance to enable boost factors (which was already the default). If you've added a custom sort in
hook_search_api_query_alter()and want it to take priority you'll need to clear the existing sorts first. - Results now render through Search API's datasource API. In
search-api-page-result.html.twig,entityis empty for items that aren't entities, so custom templates should usetitleandurl. The default template no longer outputs a link when a result has no URL, overridden templates need the same{% if url %}check. - The
pagequery parameter is now read through core's pager manager. If you're subclassing the controller, the$requestparameter ofprepareQuery()is unused and deprecated, and will be removed in 2.0.
Contributors (6)
Anybody, ash2303, Grevil, ishfaqafridi85, KarlShea, siliconandincense
Changelog
Issues: 11 issues resolved.
Changes since 8.x-1.2 (compare):
Bug
- #3616112 Block should not use "url" as cache context
- #3580419 Use pager manager to get the page
- #3344139 Explicitly sort by relevance to enable boost factors
- #3427546 Remove some assumptions about entities
- #3178523 Leave non-search URLs alone regardless of user access.
Feature
- #3108496 Add support for setting parse mode conjunction
- #3097396 Allow per-page templates
- #3381138 Highlight title excerpt
- #3137984 Add min search length setting