Theme editor

Search Improvements

Search Improvements

Search Improvements 2.19.0

XF 2.3 Addons · by Staraddons · StarAddons Verified Vendor
7 Downloads 73 Views 5 Version 5.00 (1)
A collection of improvements to XF's Enhanced Search and some for XenForo's default MySQL search.
Price
10.00
Buy
  • Like
Reactions: testpilot

Overview Version (5) Reviews (1) Discussion (5)

  • Search Improvements
    Search Improvements
    A collection of improvements to XF's Enhanced Search and some for XenForo's default MySQL search.
    search
    search improvements
    About this resource
    A collection of improvements to XF's Enhanced Search and some for XenForo's default MySQL search.

    MySQL & Elastic Search features;
    • Allow * (or empty search string) to return results, for MySQL and XFES
    • range_query search DSL
      • allows arbitrary range queries for numerical data
    • Allow users to select the default search order independent for the forum wide setting.
      • Re-adds the global option for the default search type
    • Display search terms on the search results page
    • Add "Search only X" search criteria to individual handler pages, where X is thread/conversation/ticket/ect instead of searching thread/post etc.
      • Makes general search a true subset of member search
    Elastic Search Only features:
    • Add ability to push "can view threads/tickets by other" permission(s) into ElasticSearch query, reducing php-side culling of matching content.
      This improves searching forums/tickets where the user lacks these permissions.

      This is gated behind the option Push "View X by others" check into XFES', as it requires a full reindex. (Default disabled)

      Supports the following add-ons:
      • View Sticky Threads.
      • Collaborative Threads.
      • @NixFifty 's Tickets.
      For best results, use ElasticSearch Essentials add-on, as it simplifies this permission constraint compared to stock XenForo
    • Restore default search order option
    • Per content type weighting
    • Adds Elastic Search information to the AdminCP home screen.
    • Adds a debug option to log the search DSL queries to error log for troubleshooting
    • Option to extend search syntax to permit;
      • + signifies AND operation
      • | signifies OR operation
      • - negates a single token
      • " wraps a number of tokens to signify a phrase for searching
      • * at the end of a term signifies a prefix query
      • ( and ) signify precedence
      • ~N after a word signifies edit distance (fuzziness)
      • ~N after a phrase signifies slop amount
      • In order to search for any of these special characters, they will need to be escaped with \.
    • "Specialized index" support
      • Specialized search index allows generating single-purpose elastic search indexes while re-using as much XF search infrastructure as possible.

    These are examples of a "specialized index".

    The username autocomplete it creates an index with just the user/email and replaces the admin quick search and front-end username autocomplete with an elasticsearch powered version.

    The tag autocomplete replaces the front-end tag autocomplete with an elasticsearch powered version.

    In both cases this allows non-start-of-string matching, with typo tolerance.

    Options:
    Search Improvements


    New Permissions
    • Search Options
  • Version
    2.19.0 Stable Available Mar 26, 2026 · 6
    File size: 118.1 KB
    SHA-256: b5216f0e1e9c3e148766f82b4337a4c6dbbaf67b845931eeb9c984021b1a639a
    SHA-256 verified Package valid Compatibility checked Last verified:
    • Workaround "Maximum writeset size exceeded" SQL error when pruning search results
    • Add Maximum number of search/find new results for guests option
      • Initialized to the same value as "Maximum number of search/find new results"
    2.18.0 Stable Available Mar 12, 2026 · 1
    File size: 118 KB
    SHA-256: 6da44ef6bb15f41379d64c7cdc14c3514bf303ba1779e12d6b275730ab0eb2b8
    SHA-256 verified Package valid Compatibility checked Last verified:
    • Require StandardLib v1.23.0+
    • php 8.4+ compatibility fixes
    • Fix Ticket's reply-count range search criteria into search page didn't work
    • Ensure injecting participants search for Tickets keeps working if the macro syntax is updated
    • Compatibility update for upcoming Content Ratings v2.9.0+
    2.17.7 Stable Available Feb 4, 2026 · 0
    File size: 117.1 KB
    SHA-256: b0e2b11ef8e8d162638c3afc63f1e7a3adf4ba8b183f474a625c46c9077391c0
    SHA-256 verified Package valid Compatibility checked Last verified:
    • Improve XF Cloud support
    • Fix sorting by a custom elasticsearch field didn't work as expected when using SearchOrder class (ie Report Improvements and sorting reports by comment count)
    2.17.6 Stable Available Jan 20, 2026 · 1
    File size: 116.6 KB
    SHA-256: 4b8838cda748d6fc6433fb7b2a830f757de1103820b54afd1ce178d400765820
    SHA-256 verified Package valid Compatibility checked Last verified:
    • XF2.3.8 compatibility fix
    • Adjust Collect search DSL & debug statistics so Log & show on search results only displays to members by defaults and not guests.
    2.17.4 Stable Available Nov 1, 2025 · 0
    File size: 116.5 KB
    SHA-256: b93edd65a6c63590cbe37456776798ecaf6bee171507b0c32b83bb4ce78efce5
    SHA-256 verified Package valid Compatibility checked Last verified:
    A collection of improvements to XF's Enhanced Search and some for XenForo's default MySQL search.

    MySQL & Elastic Search features;
    • Allow * (or empty search string) to return results, for MySQL and XFES
    • range_query search DSL
      • allows arbitrary range queries for numerical data
    • Allow users to select the default search order independent for the forum wide setting.
      • Re-adds the global option for the default search type
    • Display search terms on the search results page
    • Add "Search only X" search criteria to individual handler pages, where X is thread/conversation/ticket/ect instead of searching thread/post etc.
      • Makes general search a true subset of member search
    Elastic Search Only features:
    • Add ability to push "can view threads/tickets by other" permission(s) into ElasticSearch query, reducing php-side culling of matching content.
      This improves searching forums/tickets where the user lacks these permissions.

      This is gated behind the option Push "View X by others" check into XFES', as it requires a full reindex. (Default disabled)

      Supports the following add-ons:
      • View Sticky Threads.
      • Collaborative Threads.
      • @NixFifty 's Tickets.
      For best results, use ElasticSearch Essentials add-on, as it simplifies this permission constraint compared to stock XenForo
    • Restore default search order option
    • Per content type weighting
    • Adds Elastic Search information to the AdminCP home screen.
    • Adds a debug option to log the search DSL queries to error log for troubleshooting
    • Option to extend search syntax to permit;
      • + signifies AND operation
      • | signifies OR operation
      • - negates a single token
      • " wraps a number of tokens to signify a phrase for searching
      • * at the end of a term signifies a prefix query
      • ( and ) signify precedence
      • ~N after a word signifies edit distance (fuzziness)
      • ~N after a phrase signifies slop amount
      • In order to search for any of these special characters, they will need to be escaped with \.
    • "Specialized index" support
      • Specialized search index allows generating single-purpose elastic search indexes while re-using as much XF search infrastructure as possible.

    These are examples of a "specialized index".

    The username autocomplete it creates an index with just the user/email and replaces the admin quick search and front-end username autocomplete with an elasticsearch powered version.

    The tag autocomplete replaces the front-end tag autocomplete with an elasticsearch powered version.

    In both cases this allows non-start-of-string matching, with typo tolerance.

    Options:
    View attachment 612

    New Permissions
    • Search Options
  • Reviews (1)
    testpilot · 5/5 · Aug 31, 2026
    Mycket bra.
    1 · 0
  • Discussion

    This resource has a discussion thread on the forum where you can ask questions, report issues, and talk with the author and other users.

    Join the discussion (5)

Resource information
Category XF 2.3 Addons
Author Staraddons
Date Nov 1, 2025
Default release channel Stable
Latest version 2.19.0
SHA-256 b5216f0e1e9c3e148766f82b4337a4c6dbbaf67b845931eeb9c984021b1a639a
Security
File integrity SHA-256 verified
SHA-256
b5216f0e1e9c3e148766f82b4337a4c6dbbaf67b845931eeb9c984021b1a639a
How to verify this file
Statistics
Views 73
Downloads 7
Version 5
Developer
Staraddons
Resource author
More resources
Back
Top