Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Search Handlers implemented for Comments and Reviews


Staff member
As per title, I've implemented Search Handlers for both comments and reviews.

The Comment MESSAGE field is the only thing indexed for comments (its the only thing that is indexable).

The Review Title, Pros Message, Cons Message and Summary Message fields are indexed for Reviews.

The Search Items form has been updated with a few new options to assist in finding content "item" related content.
  • Search item only. When this is check, it will only return items.
  • Search comments only. When this is checked, it will only return comments.
  • Search reviews only. When this is checked, it will only return reviews.
NOTE: These 3 "ONLY" type options can't be used together, however, the only items and only reviews can be used in conjunction with the titles only setting (item title and review title respectively).

As with Items, you can also search for comments only or reviews only within a specific category or multiple specific categories.

Each Content Type has its own OUTPUT Template (so you can customize it if you wish to). The standard I went with is the xenforo POST output (as it best matched what a comment is to an item).

As you can see, the first result is a COMMENT. It has the Title of the Item which is linked to the comment, has a snippet of the comment and a byline.

The review is basically the same, however, it also includes the review title between the item title and the review snippet.


You can also Moderate comments and reviews (as well as items) directly on the search results.

Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
Question on the comments search Bob - is it going to be something that can be set so they're included in the general Xenforo search results? Without making the user go to the Advanced Search page to search comments?
General XenForo search results include ALL content types that indexed. You have to make sure tho that you don't have any of the quick search OPTIONS set like "Search this Forum Only".

When on Forum Home, the quick search has no "preset" options, so its going to fetch ALL content types.


However, when you are viewing a specific Content Type, that Content Type adds OPTIONS to the quick search and most of the time they are PRESET.

In this case, I am viewing this thread and the quick search form has the "Search this forum only" checked by default meaning that the its only going to return results from Post Content within Threads that are in this specific forum. If you want Showcase Comments, XenForo Media Gallery Media, XenForo Resource Manager Resources etc, you will have to uncheck those options that force fetching of specific content types only.


Addons can do this as well..

Example, Showcase itself does this (and has for the past seven years). When you are viewing any Showcase Pages, the quick search is pre checked to search within Showcase only.


And when on Category Pages, there is a sub option that is pre checked that forces the search in that category only. If you uncheck those, then the results will contain results from ALL content types.