Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
This is release 1.11 of the Search API module, containing several new bug fixes, partially for regressions introduced in release 1.10.
The most important bug fix is a follow-up to #2118589: Node access check missing from comment indexes. A missing check in the original patch for that issue means that, with the 1.10 version of Search API, the following message will appear in your logs for every search if you don't have the "Node access" data alteration enabled:
SearchApiException: Required field search_api_access_node not indexed on index Default fuzzysearch index. Could not perform access checks.
The message can be safely ignored, there is no actual error here – however, the message is of course disturbing and will also completely flood your logs. It is therefore advised that you upgrade to 1.11 as soon as possible if you are using the 1.10 release already.
Another improvement are the new descriptions for the "Node access", "Access check" and "Exclude unpublished nodes" data alterations, introduced in #2155127: Clarify the scope of the "Node access" and "Exclude unpublished nodes" data alterations. These should now make it clearer to users that these data alterations will only filter on the indexed nodes (or the indexed comments' nodes) themselves, and will have no effect at all on related nodes, referenced on the indexed item.
If you are using one of these data alterations and are displaying related nodes in your search results (or make them otherwise available in the search), please make sure that this issue does not affect you and that end users cannot access content that should be invisible to them that way.
Complete list of changes since release 1.10:
- #1879196 by drunken monkey: Fixed invalid old indexes causing errors.
- #2155127 by drunken monkey: Clarified the scope of the "Node access" and "Exclude unpublished nodes" data alterations.
- #2155575 by drunken monkey: Fixed incorrect "Server index status" warnings.
- #2159011 by idebr, drunken monkey: Fixed highlighting of keywords with PCRE special characters.
- #2155721 by rjacobs, drunken monkey: Added support for Views' get_total_rows property.
- #2158873 by drumm, drunken monkey: Fixed "all of" operator of Views entity filter handler.
- #2156021 by jgullstr: Fixed confirm message when disabling servers.
- #2146435 by timkang: Fixed Views paging with custom pager add-ons.
- #2150347 by drunken monkey: Added access callbacks for indexes and servers.