Search Overrides logo
Screen capture of the override form created by this module
Now has options to mange node-specific overrides within the node edit form

This module provides a method for users with the necessary permissions to manually override the results being returned by Search API Solr. They will be able to choose a specific search term, and pick which nodes should be at the top, and also choose to exclude nodes so they will not be shown in the results.

New Features in the 2.x Branch

  • Edit in the node form - A big new feature is the ability to manage overrides for a node within the node edit form, as shown in the bottom screen capture to the right
  • Promote more than nodes - you now have the option to have the autocomplete query Solr instead of just node titles. That means any content in your index can be promoted, not just nodes

Similar Modules

This module has overlap with Search API Best Bets in its use of Solr's elevateIds and excludeIds. That module only allows individually promoting or excluding nodes, and so doesn't provide a way for an editor to specify the order if more than one node has been promoted.

Requirements

Also note that support for the elevateIds and excludeIds parameters was introduced in Solr 4.7, so this module won't work for environments with very old Solr installs.

Installation

Once the module is installed, users with access can go in the toolbar to Configuration > Search > Search Overrides and begin creating as many overrides as needed. If you update the settings with your search path and query parameter, it will provide links for each override to view the results both modified and unmodified.

Also note that using this module will cause Solr to ignore the contents of an elevate.xml file for the core, if one is available.

Demo

Demo Video on YouTube

Supporting organizations: 

Project information

Releases