Resource icon

Search Improvements by Xon 2.17.4

  • Author Author kashif
  • Creation date Creation date
Fix guests searching by user would restart the search query the first time they tried to visit the a different page of the search results
  • Requires StandardLib v1.19.0+
  • If installed, requires Redis Cache 2.17.0+
  • XF2.3 compatibility update
  • php 8.4 compatibility fix
  • Require StandardLib v1.19.0+
  • Code cleanup
  • Add getSearchIdFromEntityId() helper method for transforming an XF entity id into the Elasticsearch index id
  • Workaround XF2.2.13 does the search beforechecking it it can save it as a cached value, which can result in a query that is massively more complex than expected being sent to elasticsearch
    • This issue practically doesn't occur with stock XFES, but with additional search addons such as ElasticSearch Essentials this can generate unexpected errors
  • Support tag/username autocomplete using XFES add-ons todo prefix matching on autocomplete
  • Improve how thread/tickets by others in a category without view-other permission are filtered out of search results when using XFES without ElasticSearch Essentials
  • Add PermissionConstraint helper class, designed to simplify implementing XF Search handler's getTypePermissionConstraints function
  • Add "Collect search DSL & debug statistics" option (Default off), designed as a developer tool and strongly not recommended for production usage.
  • Cleanup add-on description & readme file
  • Update XFES dependent option descriptions to include if they require XFES
  • Improve styling of 'no results' search result in an overlay
  • Fix search result terms do not display when search results are in an overlay
  • Fix custom styling triggering "Your changes have been saved." when clicking a member search link
  • Fix "before" search result term would print an integer instead of a human readable yyyy-mm-dd formatted string
  • Change 'no results found' handling to display search terms on the relevent page
    • If using ElasticSearch Essentials, recommend updating to v3.13.0+ as this change may impact some options which display on no results found.
  • Fixes for search term on results page
    • Add missing "With X thread" search term
    • Fix "Users" search term could fail to render the list of usernames
    • Add the 'content type' search term
Top