Search Improvements

XF2 Addons Search Improvements 2.11.1
A collection of improvements to XF's Enhanced Search and some for XenForo's default MySQL search

Compatible versions
2.2
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 of 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/etc. instead of searching thread/post etc.
    • Makes general search a true subset of member search
Elastic Search Only features:
  • Add the 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:For best results, use the ElasticSearch Essentials add-on, as it simplifies this permission constraint compared to stock XenForo
  • Restore the 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 the 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 a 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 the generating of single-purpose elastic search indexes while re-using as much XF search infrastructure as possible.
    • Better tag autocomplete

      Tag auto-complete powered by Elasticsearch

      Better username autocomplete

      Username auto-complete powered by Elasticsearch
      These are examples of a "specialized index".

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

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

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


New Permissions
  • Search Options
shanruto
Author shanruto
Level
10
2,115 pts
2.11.1 Version
8 Downloads
262 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)
No Tags

More files from shanruto

Customize Your XenForo 2 Community

Search Improvements provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. shanruto shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom