Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
This is release 1.10 of the Search API, containing numerous new features and bug fixes.
Note: After upgrading, you might encounter the following log message:
SearchApiException: Required field search_api_access_node not indexed on index Default node index. Could not perform access checks. in _search_api_query_add_node_access()
If you have the "Node access" data alteration disabled, please disregard that message. This faulty message is a known problem, fixed with #2118589-22: Node access check missing from comment indexes, and a new 1.11 release containing that bugfix will be released shortly.
The main focus for this release was a revamp of the admin user interface undertaken with the help of Bojhan Somers. Hopefully, the UI improvements will make the Search API easier to use for new users, and also make common tasks reachable faster for existing ones. While a lot of areas were improved, most functionality should still be easy to find if you are used to the old UI, though.
If you have any questions, please create a support request issue (after making sure the question hasn't been answered already). If you have any more suggestions for UI improvements, please create a feature request issue using the Usability tag.
One particular UI improvement I want to mention was added in [##2130819]: on the index's "View" tab (which got merged with "Status") we now also check how many items are actually indexed on the server and can be found in a search – compared with the ones we think should be indexed, according to our tracking tables. This can help you spot any discrepancies that might have been caused by bugs in older versions of the module. (Particularly, we also fixed some related issues in #1551302: Fix server tasks system in this release.) If there are more or less items indexed on the server than their should be, a red warning will be displayed on the index's "View" tab. (When using Solr, however, a warning caused by too few indexed items on the server can also be due to Solr's commit behavior – wait a couple of minutes and see whether the warning is still there before taking any action). Also, if there are invalid items indexed on the server not associated with any index anymore, there is now also a button on the server's "View" tab to clear the complete indexed data of that server.
The release also contains fixes for the regressions accidentally introduced with #2110315: Specialized filter for users and terms in the 1.9 release. Please report there any issues you are still experiencing with taxonomy term filters.
Complete list of changes since release 1.9:
- #2130819 by drunken monkey, Bojhan: Added UI improvements for the "View" tabs.
- #2152327 by sirtet, miro_dietiker: Fixed typo in help text for drush sapi-c.
- #2144531 by drunken monkey: Fixed cloning of queries to clone filters, too.
- #2100671 by drunken monkey: Fixed stopwords processor to ignore missing stopwords.
- #2139239 by drunken monkey: Fixed highlighting for the last word of a field.
- #1925114 by azinck: Fixed Views Facet Block integration with Panels.
- #2139215 by drunken monkey: Fixed $context parameter of batch callback.
- #2143659 by khiminrm: Fixed typo in update function 7116.
- #2134509 by kscheirer, drunken monkey: Removed unused variables and parameters.
- #2136019 by drunken monkey: Fixed mapping callback for taxonomy term facets.
- #2128001 by drunken monkey: Fixed the logic of the "contains none of these words" fulltext operator.
- #2128947 by stBorchert, drunken monkey: Fixed facet handling for multiple searches on a page.
- #2128529 by Frando, drunken monkey: Added a way for facet query type plugins to pass options to the search query.
- #1551302 by drunken monkey: Fixed the server tasks system.
- #2135363 by drumm, drunken monkey: Added support for Views' use_count_query() method.
- #1390598 by Damien Tournoud, drunken monkey: Added the concept of query filter tags.
- #2135255 by dww: Fixed missing pager on first page of search results.
- #1832334 by Damien Tournoud, drunken monkey: Fixed performance issues of Views options filter handler for huge options lists.
- #2118589 by mxr576, drunken monkey: Added node access for comment indexes.
- #1961120 by drunken monkey: Fixed Views handling of short fulltext keywords.
- #2100231 by drunken monkey: Renamed "Workflow" tab to "Filters".
- #2100193 by drunken monkey: Turned operations in overview into D8 dropbuttons.
- #2100199 by drunken monkey: Merged index tabs for a cleaner look.
- #2115127 by drunken monkey: Fixed cron indexing logic to keep the right order.
- #1750144 by jsacksick, drunken monkey: Fixed missing Boost option for custom fulltext field types.
- #1956650 by drunken monkey, wwhurley: Fixed trackItemChange not checking for empty $item_ids.
- #2100191 by drunken monkey, Bojhan: Added an admin description to the Search API landing page.