Drupal Module 4.4.0: PIN and EXCLUDE Buttons Work, EXCLUDE ALL Applies, Deleted Documents Leave the Index

· Drupal · Bug Fix · All updates

Three fixes in the Drupal module, version 4.4.0. Curating results from the search page now works, rules that hide a result everywhere are now actually applied, and documents you delete or replace no longer linger in the index.

01 The curation buttons on the results page

The PIN, EXCLUDE and EXCLUDE ALL buttons on your search results page did nothing. Every click came back with a permission error and no rule was saved. Curating results from the one place where you can actually see the problem had never worked since the buttons were added.

They work now. A rule you create from the results page takes effect on the next search.

02 EXCLUDE ALL rules were written but never read

Hiding a result from every search wrote a rule that the search itself never consulted, so the result stayed exactly where it was. The rule existed; nothing looked at it. Elevation rules of this kind now apply to every query.

A saved rule that is never read is worse than no rule: the interface reports success while the search behaves as though nothing happened.

03 Deleted and replaced documents

A deleted PDF stayed searchable forever. Removing a document from your Drupal site never removed it from the index, so visitors kept finding files that no longer existed and clicking through to nothing.

Replacing a file under a different name was worse: the old text stayed in the index next to the new one, and a single search returned both versions of the same document.

Before Delete on site Index untouched Result links to nothing After Delete on site Index follows Result gone from search
Document state on the site and in the index are now kept in step.
  • Delete. The document leaves the index with it.
  • Replace under a different name. The old text goes; only the new version is searchable.
  • Unpublish. Treated the same way, so unpublished files stop appearing.
  • Upload. A newly uploaded document is searchable immediately, rather than at the next bulk ingestion run.
View the full changelog