Similar threads

Similar threads 3.9

No permission to download

Shows a list of similar threads when a user is creating or viewing a thread.

The Similar threads add-on will do the following:
  • Show a list of similar threads when a user is creating a new thread.
  • Show a list of similar threads when a user is viewing a thread.
(Example of Similar threads shown during thread creation)


(Example of Similar threads shown in thread view)


(Example of Options page)


(Example of User group permissions)


  • Forum view permissions honored. If a member doesn't have permission to view certain forums, similar threads will not be shown from those forums.
  • Supports Enhanced search.
  • All phrases start with similarthreads_ for your convenience.
  1. Download and unzip it.
  2. Copy the src/addons/Andy/SimilarThreads directory to your server.
  3. From the Admin Control Panel Install the add-on.
User group permissions:

Normally you will want to set "Allow" for the following two user groups:

Unregistered / Unconfirmed

Creating optional widget:

This widget is used to display a similar threads block in the thread view sidebar.
  1. Admin Control Panel -> Appearance -> Widgets
  2. Widget definition = Similar threads
  3. Widget key = similar_threads
  4. Title = (leave blank)
  5. Display in positions = Thread view: Sidebar
  6. Click Save.
(Example of Similar threads widget)


Enhanced search:

To enable Enhanced search, select in the Options page. Make sure you have ElasticSearch 6.x installed on your server.

Enhanced search gives better similar thread results because it uses stemming.

Question and answers:

Q: Do I ever have to rebuild the search or thread indexes to use this add-on?
A: No.

Q: Are thread titles and posts searched?
A: Only thread titles are searched.

Q: Is the "View threads by others" set to No or Never honored?
A: No. You will need to exclude those forums in the options page.

Q: In order to use Enhanced search option, which version of Elasticsearch and Enhanced search will I need?
A: You will need Elasticsearch 6.0.0 (or newer) and Enhanced search 1.1.7 (or newer).
First release
Last update
5.00 star(s) 6 ratings

Latest updates

  1. See description

    Similar threads v3.9 changes: Increased AJAX timeout to ensure proper operation.
  2. See description

    Similar threads v3.8 changes: Clicking on a similar threads title link in the results will no...
  3. See description

    Similar threads v3.7 changes: Fixed issue with quick thread, similar thread result links were...

Latest reviews

This plugin is very nice. Andy solves all possible problems and is constantly up to date.
Exceptionally fast addon. Zero effect to the speed of my board and really , really useful as it appears to prevent the post duplicates where people are too lazy to search
Similar threads is one of those plugins which should be a core feature of Xenforo. Luckily we have people like Andy who provide excellent code for all of us. I previously used this one on XF 1.0 and I am so happy there's a 2.0 version. Thank you Andy for all the hard work.
Works exactly as described. Its rapid and a really useful addition
Another neat add-on! This is going to be very helpful to my greenhouse forum members, not only to find info, but to eliminate redundant posts. And, with Andy's personalized help, I am learning all about stop words!
Thanks for the plugin, it does exactly what it says. Thanks for the info on creating the widget.
This is one of those must-have addons if you're serious about SEO and making your forum a more useful resource for members. It can stop people posting the same topic over and over again, and shows you which threads can be merged due to similarity.